Description
Whenever anyone tries to upload files, this error appears:
Error: EROFS: read-only file system, open '/var/lib/rocket.chat/uploads/xxxxxxxxxx' [ufs: cannot upload file]
This is not due to missing write permissions for the folder, which have been set to 755 as the support suggested.
root@xxxxxxxxx ~ # ls -lisa /var/lib/rocket.chat
total 188
2361428 4 drwxr--r-- 5 rocketchat rocketchat 4096 15. Mai 01:30 .
2359298 4 drwxr-xr-x 37 root root 4096 15. Mai 02:50 ..
2364327 4 drwxr-x--- 2 rocketchat rocketchat 4096 23. Jan 03:20 emojis
2360452 4 drwxr-x--- 2 rocketchat rocketchat 4096 23. Jan 02:03 sounds
2364325 172 drwxr-xr-x 2 rocketchat rocketchat 172032 15. Mai 02:51 uploads
Has anyone encountered the same error and if so, how did you fix it? Official support hasn’t been able to help so far.
Thanks!
Server Setup Information
- Version of Rocket.Chat Server: 4.6.3
- Operating System: Debian Buster
- Deployment Method: .deb
- Number of Running Instances: 1
- NodeJS Version: v14.19.2
- MongoDB Version: 5.0.5
- Proxy: apache