-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
[Bug] Docker image permissions #812
Comments
I have the same issue on docker, if you chmod the redis folder it should work for you, need to give write permissions to group i believe |
That's what I did and it did seem to work. I needed to make that same change to the assets and resources folders in appdata on the host system. The owner and group in the image are now both set to romm. The permissions on the host system are now a bit goofy; the owner is me and the group is 1000. The ID's of the romm user and group may need to be changed in the image to resolve this. |
Sorry for the slow reply ya'll, there's an issue with the 3.0.x images. You can try the 3.1.x release candidates |
the |
I've just upgraded to 3.1.0 from 3.0.3 but I'm now having this issue, I had previously defined PUID and PGID variables during the 3.0.2 issues so I'm wondering if this has caused my problems... Any ideas on what the correct owners and permissions should be please?
|
First you'll want to remove PUID/PGID as we no longer use them. You can either a) set the |
I've already removed the PUID and PGID but what ID should redis-data be owned by? I've tried both romm and root but still get the same issue. |
Interesting, my docker-compose specifies
|
I've managed to sort it - I removed the |
RomM version
v3.0.3
Describe the bug
I was unable to index any ROMs, and I kept encountering problems with backend/handler/fixtures/MAME.xml.
To Reproduce
Additional context
I'm running RomM under Unraid, and I've configured my Docker to use the native filesystem for storing containers, rather than a Docker.img (virtual disk). I haven't had problems with other images, but RomM was experiencing permission issues. My docker-config is set with PUID:99 and PGID:100, as I usually use. To resolve the issue, I had to execute
chown 1000 backend/ -R
andchgrp 1000 backend/ -R
within the container on the host filesystem to enable writing MAME.xml to the proper folder.The arcade roms are indexing now.
The logfiles that were created by the image was sparse. They mostly looked like
A more verbose log would be helpful. The live Docker logterminal logs were a big help, but those are quickly over written when restarting Docker containers.
Does the Docker image need some permissions tweaks or am I an edge case because of how I have my Docker container filesystem configured?
The text was updated successfully, but these errors were encountered: