movies folder permissions error
imrman opened this issue · comments
Expected Behavior
Bazarr to have write permissions on movies folder
Current Behavior
Steps to Reproduce
create a bazarr container:
--- version: "2.1" services: bazarr: image: lscr.io/linuxserver/bazarr container_name: bazarr environment: - PUID=1026 - PGID=100 - TZ=Asia/Jerusalem volumes: - /volume1/docker/Bazarr:/config - /volume1/MOVIES:/movies #optional - /volume1/TV_SHOWS:/tv #optional ports: - 6767:6767 restart: unless-stopped
i've verified and the user with uid 1000 and group id 100 has access to the movies folder
Environment
OS:
Synology DSM 7 (same error on a raspberry pi)
CPU architecture:
x86_64/arm64
How docker service was installed:
raspberry pi using the docker instructions
Synology using the app store
Command used to create docker container (run/create/compose/screenshot)
docker-compose CLI (using the compose above)
Docker logs
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Bazarr: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1026
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-02-02 18:47:04,971 - root (7f7ccafc0b38) : INFO (signalr_client:162) - BAZARR trying to connect to Radarr SignalR feed...
2022-02-02 18:47:04,971 - root (7f7cd8b75b48) : INFO (server:37) - BAZARR is started and waiting for request on http://0.0.0.0:6767
2022-02-02 18:47:05,001 - root (7f7ccaebdb38) : INFO (signalr_client:186) - BAZARR SignalR client for Radarr is connected and waiting for events.
2022-02-02 18:47:31,678 - root (7f7cd0f13b38) : ERROR (get_subtitle:83) - BAZARR Error trying to get video information for this file: /media/movies/8-Bit Christmas (2021)/8-Bit Christmas (2021) WEBDL-2160p.mkv
seems that Synology requires the PGID to be the Administrator group (101) and not users (100). closing this issue