unpackerr
unpackerr copied to clipboard
Does not create the /config folder with the proper user
I am building a docker compose to generate my media stack, that includes unpackerr.
All my other apps are generating my appdata folder with the specified user, but somehow unpackerr creates it with root
instead, and then complains it does not have access to create the default config file.
[INFO] 2024/08/21 21:21:37 Unpackerr v0.14.5-797 Starting! PID: 1, UID: 99, GID: 100, Umask: 18, Now: 2024-08-21 21:21:37 -0400 EDT
[INFO] 2024/08/21 21:21:37 ==> GoLift Discord: https://golift.io/discord <==
[INFO] 2024/08/21 21:21:37 ==> Startup Settings <==
[INFO] 2024/08/21 21:21:37 => Using env variables only. Could not create config file: creating config file: open /config/unpackerr.conf: permission denied
Here is my docker compose service :
unpackerr:
restart: unless-stopped
image: golift/unpackerr
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
volumes:
- ${APPDATA_PATH}/unpackerr:/config
- ${DOWNLOAD_PATH}:/downloads
I'm running unraid, and my PUID=99 and GUID=100 are corresponding to user nobody
And the result of the created folder :
If I manually change the owner of the folder, things works as expected. However, I would expect the folder to be created with the proper owner, like all the other apps are doing.
Thank you for your help