Hi,
I have a problem with a self-hosted Rocket Chat server.
In chats, it is possible to send files, but the “Download disabled” option appears and it is not possible to download the file sent by another user. The images that are sent are also not opened, and the “Try again” error occurs. I believe that the images do not open because it is not possible to download a file that was sent.
I looked through the settings and did not find a way to allow downloads.
Could someone help me?
Thank you.
Version of Rocket.Chat Server: 7.5.0
Operating System: Debian 11
Deployment Method: snap
Firewalls involved: no
reetp
June 6, 2025, 9:58am
2
You are using local file storage and not GridFS ?
By default, GridFS is used in Rocket.Chat for file storage because MongoDB offers this functionality with zero configuration.
However, it is not recommended for production environments due to the high load it places on the database.
Default permissions is allowed so you have something worng with your file storage - probably permissions.
Can’t tell much without some logs and more information.
I am using local storage.
I have given 777 permissions to the directory where the uploaded files are located.
reetp
June 6, 2025, 11:54am
4
You’ll probably need a user that relates to the ID that the file is saved as.
In the chat, that icon circled in red keeps appearing.
The files in the directory are created as root.
reetp
June 6, 2025, 12:45pm
7
That isn’t disabled.
You have to click to download.
Uploading: rocket2.png…
It stays like this and there is no action. In images, for example, it does not display.
reetp
June 6, 2025, 3:13pm
10
Check all the settings in:
admin/settings/FileUpload
By default uploads/downloads are enabled.
I have already tried this. I have already changed and re-configured all the settings.
reetp
June 6, 2025, 7:07pm
12
As I said default is permit.
The answer will be in your logs.
Both Rocket & server.
I discovered a detail. The problem described occurs in the Google Chrome browser. In Firefox it works normally.
Any new suggestions?