-
Notifications
You must be signed in to change notification settings - Fork 378
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]: AUDIOBOOKSHELF_UID & AUDIOBOOKSHELF_GID values not being honored #584
Comments
I can confirm this bug exists in 2.0.15 |
A lot of updates were made to setting ownership of files/folders created by abs. If this is still an issue we can re-open this but please provide specific folders/files that are not set correctly. |
@advplyr I'm still having this issue - two example files are /config/playlists/njodb.properties and the logs in /metadata/logs/daily. Both are created with root UID/GID. This cropped up for me when I tried to use an sshfs volume.
|
@raviolispy Thanks. I can confirm the database files being created in /config and the logs in /metadata/logs are not getting the ownership set correctly. |
Fixed in v2.2.9 |
Describe the issue
I started a container following the sample docker command provided on the main page
docker run -d \ -e AUDIOBOOKSHELF_UID=65500 \ -e AUDIOBOOKSHELF_GID=65500 \ -p 13378:80 \ -v $PWD/audiobooks:/audiobooks \ -v $PWD/config:/config \ -v $PWD/metadata:/metadata \ --name audiobookshelf \ --rm ghcr.io/advplyr/audiobookshelf
However subsequently when checking the contents of the files created in the volumes, I found that they are all created under root:root. It appears that within the container itself, the process is running as root too.
Steps to reproduce the issue
docker run -d \ -e AUDIOBOOKSHELF_UID=65500 \ -e AUDIOBOOKSHELF_GID=65500 \ -p 13378:80 \ -v $PWD/audiobooks:/audiobooks \ -v $PWD/config:/config \ -v $PWD/metadata:/metadata \ --name audiobookshelf \ --rm ghcr.io/advplyr/audiobookshelf
Audiobookshelf version
2.0.12
How are you running audiobookshelf?
Docker
The text was updated successfully, but these errors were encountered: