Hi guys, i struck a problem…users cannot upload files. they get a server 500 error.
The error log shows
I20191216-04:41:40.814(0) Exception while invoking method ‘ufsComplete’ { Error: EROFS: read-only file system, open ‘/svLEGKXZiMycvunbY.png’ errno: -30, code: ‘EROFS’, syscall: ‘open’, path: ‘/svLEGKXZiMycvunbY.png’ }
i have found a forum topic on this https://github.com/RocketChat/Rocket.Chat/issues/4432
where we need to create the local storage directory in rocket chat .
I have created the directory /var/snap/rocketchat-server/common/uploads
however, i am not sure about permissions.
i am logged in via putty as root user (Ubuntu 19 VPS)
Current permissions are drwxr-xr-x 4 root root
what should i do with directory permissions from this point forward to ensure that a user is able to write to /common/uploads?
Am i attempting to correct solution for this? (I am using snaps btw)