Can't upload images in chat

Description

Server Setup Information

  • Version of Rocket.Chat Server: 7.13.1
  • Operating System: Debian 11
  • Deployment Method: from Github sources
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 22.21.0 - x64
  • MongoDB Version: 6.0.26
  • Proxy: no
  • Firewalls involved: no

Any additional Information

Hi!

We have a problem after upgrade to latest version.

Users can’t upload any images to chat. Only images. PDFs, DOCs etc. works fine.

When users try to upload image, RC shows error:

TypeError: A boolean was expected [ufs: cannot upload file] imagefilename.png

We use “FileSystem” as storage, another files are stored in folder without any problem. Only images can’t be uploaded.

We try to turn off image preview in ‘message’ section, change permission for upload folder, of course we also check a log while upload image, but there is no errors in the log.