-
Notifications
You must be signed in to change notification settings - Fork 11.8k
Rocket.Chat Docker Setup – File upload fails for images with “A boolean was expected [ufs: cannot upload file] [upload-failed] #36065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please note you are not using a "supported" option per the docs. YMMV. Next follow the bug reporting guidelines and test on latest. At least 7.5.1 or 7.6.1 I'd suggest start testing with the recommended compose setup. Next, a lot of issues are caused by badly configured reverse proxies (you are using one as per the docs? You should not be running http://server:3000) Go back and check https and check your websockets work. I think there was a very unusual bug fixed here but not sure it affects you. And then there is this which has also been reported here if you search thoroughly: https://forums.rocket.chat/t/images-missing-after-upgrading-to-7-3-4/22106 Check correct user & perms on uploads dir. |
Hi @reetp I’m experiencing the same problem. All other files upload fine, but whenever I try to send or upload an image through the web interface, I get this error. I’m using version 7.5.0. {"level":20,"time":"2025-05-24T21:24:21.222Z","pid":1,"hostname":"29546936980c","name":"Rooms","msg":"rooms.media fileStore: 'GridFS:Uploads'"} These are the mongo configurations in the database. { |
Don't '@' me. I don't work here.
Follow my comments regarding versions, reverse proxy etc.
Note you should not be using GridFS. This is documented. Please go back and read. |
@reetp Hey man, i switched to GCP storage now. Still it doesnt work if i run via docker-compose and UI/mongo has correct config details and when i upload it throws NoSuchKey exception in ufscomplete method. On localhost:3000 when i run rocketchat via meteor run the same GCP storage config works file gets uploaded in bucket. Can you please guide? |
You don't need to '@' anyone. I don't work here. You'll just get ignored. Note github is for bugs, not setup/support. Use Or |
I have tried on other forums, no one replied. Only you have so please if you can guide I'd be grateful. |
JUST FYI i did ask here: and here: No answer yet. |
open source != free support Stack overflow is not something that is monitored by anyone here. YMMV. Generally in foros or open people will help if they can. If they can't or don't it doesn't make this a bug.
I which case this isn't a bug but a setup issue so closing this for now - if you do find a bug it can be re-opened. Go back and do a default docker-compose install as per the docs and work from there. Thanks. |
I'm running a Rocket.Chat 7.5.0 instance using Docker and Docker Compose. The app is built from a Meteor bundle and uses a custom Dockerfile. Everything starts up correctly, and I'm able to use the app. However, I'm facing an issue when trying to upload image files in the chat window.
Uploading .json and .html files works fine, but image uploads fail with the following error:
Dockerfile (relevant part):
docker-compose.yml (relevant part)
Additional Details:
What I've Tried:
Question:
Any guidance or insight would be appreciated.
FYI: when I run meteor run in IDE the uploads works all images and other files get uploaded as well.
The text was updated successfully, but these errors were encountered: