-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Upgrade from 7.0.3 to 7.0.4+ deno Permission denied (os error 13) #34982
Comments
As a follow up. Above two instances are on a single Prox server each in their own VM using the same CentOS based system. The setup is almost identical except the domain names. I have a 3rd instance on the same CentOS OS with identical setup, but hosted on a Vultr instance. It also has the Jitsi app installed and I have upgraded it to 7.2.1 without any issues. All instances run a local Mongo DB - not a Docker version. |
So I think I have tracked this down. The clue was in this comment from Debdut.
When I checked the VM that had upgraded successfully I found that it had no docker user settings in the compose file whereas the older VMs did like this - this runs docker as a user other than root, in this case 'docker' :
Those had corresponding settings in the /etc/passwd and /etc/group files On the newer VM these were not there. From looking at the files in the file store I could see that on the old VMs the files were owned by 'docker' but in the new VMs by 'root'. Once I removed the compose 'user' entry and changed the perms on the /opt/upload dir it seemed start without errors, BUT the container now runs as root..... |
As a test I added a rocketchat user and group something like this:
I then added the
Error:
Then set this:
Error:
So I can no longer run a container other than as root. Not great security then. This definitely changed after 7.0.3 |
On trying to upgrade 2 separate 7.0.3 docker based instances from 7.0.3 to 7.0.4 I get errors as per the attached logs.
I have tried 7.1.x and 7.2.x with similar results. As a result I am now stuck at 7.0.3
I did wonder if this was somehow related with the permissions.
#34162
My docker runs as
Log errors - this instance ONLY has the Jitsi app.
Server Setup Information:
Logs
RocketBug-7.0.4.txt
The text was updated successfully, but these errors were encountered: