Hello good people,
I set up the Sabnzbd docker using this stack:
---
version: "2.1"
services:
sabnzbd:
image: lscr.io/linuxserver/sabnzbd
container_name: sabnzbd
environment:
- PUID=1000
- PGID=100
- TZ=Europe/Berlin
volumes:
- /srv/dev-disk-by-uuid-0d202520-e0f1-4caa-b814-df295b6adc8f/config/SabNZBd:/config
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/SabNZBD-Downloads:/downloads #optional
- /srv/dev-disk-by-uuid-0d202520-e0f1-4caa-b814-df295b6adc8f/Incomplete:/incomplete-downloads #optional
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/Emma:/emma
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/Filme:/filme
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/Hoerbuecher:/hoerbuecher
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/ISOs:/iso
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/Serien:/serien
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/Programme:/programme
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/Musik:/musik
- /srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/eBooks:/ebooks
ports:
- 8081:8080
restart: unless-stopped
Alles anzeigen
Previously I created all the nessessary shared folders, gave the permission to read/write to my user and put them also under SMB/CIFS.
I didn't use symlinks, because SabNZBd seem to don't like them.
I tried to download something and SabNZBD is giving me this error:
/usr/local/lib/python3.8/dist-packages/cherrypy/process/servers.py:416: UserWarning: Unable to verify that the server is bound on 8080
warnings.warn(msg)
2022-02-20 16:01:54,674::ERROR::[filesystem:721] Erstellen von /ebooks/Geek! - Maerz-April 2022 fehlgeschlagen
Traceback (most recent call last):
File "/app/sabnzbd/sabnzbd/filesystem.py", line 715, in create_all_dirs
os.mkdir(path_part_combined)
PermissionError: [Errno 13] Permission denied: '/ebooks/Geek! - Maerz-April 2022'
2022-02-20 16:01:54,676::ERROR::[postproc:704] Konnte Download-Ordner /ebooks/Geek! - Maerz-April 2022 nicht anlegen
2022-02-20 16:01:55,331::ERROR::[filesystem:721] Erstellen von /ebooks/Geek! - Maerz-April 2022 fehlgeschlagen
Traceback (most recent call last):
File "/app/sabnzbd/sabnzbd/filesystem.py", line 715, in create_all_dirs
os.mkdir(path_part_combined)
PermissionError: [Errno 13] Permission denied: '/ebooks/Geek! - Maerz-April 2022'
2022-02-20 16:01:55,334::ERROR::[postproc:704] Konnte Download-Ordner /ebooks/Geek! - Maerz-April 2022 nicht anlegen
2022-02-20 16:01:55,336::ERROR::[postproc:603] Nachbearbeitung von Geek! - Maerz-April 2022 fehlgeschlagen (Beachten Sie die Protokolldatei)
Alles anzeigen
What can I do now or did I forget to set something up correctly?
Thank you!
EDIT:
The weird things is the following:
If I let SabNZBD download to "default" (as category) which is pointing to "/srv/dev-disk-by-uuid-0d22d5f1-2c2d-40b0-a7c8-8b7114a7ab29/SabNZBD-Downloads:/downloads" in the stack - it works!
I was just looking around the permission and took a glance at the ACLs of the SabNZBD-Downloads (shared) folder...it is owned by my user and all the other folders from the stack are owned by root. That's why it is also the only shared folder where I can f.e. create a textfile in Windows or delete something. For all other folders I have to use Putty, root login and the midnight-commander.
Can somebody explain me why? I never messed with the ACLs since I installed OMV 6 on the RockPi4.