Hello,
I have made my first OMV 5 system running a raid array and using Portainer to run containers. I have the file structure on the server set as the image below :
I am using Portainer for the first time to and have used a stack to install programs like Lazy Librarian, Sonarr, Radarr, Jackett and Transmission OpenVPN. I tweaked the original template provided from Techno Dad Life on youtube -
version: '2.1'
services:
transmission-openvpn:
volumes:
- /srv/dev-disk-by-label-media/downloads/:/data
environment:
- PUID=1000
- PGID=100
- CREATE_TUN_DEVICE=true
- OPENVPN_PROVIDER=XXX
# - OPENVPN_CONFIG=default
- OPENVPN_CONFIG=Spain
- OPENVPN_USERNAME=XXXXXXXXX
- OPENVPN_PASSWORD=XXXXXXXXX
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- WEBPROXY_ENABLED=false
- LOCAL_NETWORK=XXXXXXXXXXXXXXX
- TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED=false
- DNS=8.8.8.8,8.8.4.4
cap_add:
- NET_ADMIN
logging:
driver: json-file
options:
max-size: 10m
ports:
- 9091:9091
- 9117:9117
- 7878:7878
- 8989:8989
- 8686:8686
- 5299:5299
restart: always
image: haugene/transmission-openvpn
jackett:
image: linuxserver/jackett
container_name: jackett
network_mode: "service:transmission-openvpn"
environment:
- PUID=1000
- PGID=100
- TZ=America/New_York
- AUTO_UPDATE=true #optional
- RUN_OPTS=#optional
volumes:
- /srv/dev-disk-by-label-media/appdata/jackett:/config
- /srv/dev-disk-by-label-media/downloads/watch:/downloads
- /srv/dev-disk-by-label-media/downloads/:/data
restart: unless-stopped
radarr:
image: linuxserver/radarr
network_mode: "service:transmission-openvpn"
container_name: radarr
environment:
- PUID=1000
- PGID=100
- TZ=America/New_York
- UMASK_SET=022 #optional
volumes:
- /srv/dev-disk-by-label-media/appdata/radarr:/config
- /srv/dev-disk-by-label-media/one/movies:/movies
- /srv/dev-disk-by-label-media/downloads/completed:/downloads
- /srv/dev-disk-by-label-media/downloads/:/data
restart: unless-stopped
sonarr:
image: linuxserver/sonarr
network_mode: "service:transmission-openvpn"
container_name: sonarr
environment:
- PUID=1000
- PGID=100
- TZ=America/New_York
- UMASK_SET=022 #optional
volumes:
- /srv/dev-disk-by-label-media/appdata/sonarr:/config
- /srv/dev-disk-by-label-media/one/tv:/tv
- /srv/dev-disk-by-label-media/downloads/completed:/downloads
- /srv/dev-disk-by-label-media/downloads/:/data
restart: unless-stopped
lidarr:
image: linuxserver/lidarr
network_mode: "service:transmission-openvpn"
container_name: lidarr
environment:
- PUID=1000
- PGID=100
- TZ=America/New_York
- UMASK_SET=022 #optional
volumes:
- /srv/dev-disk-by-label-media/appdata/lidarr:/config
- /srv/dev-disk-by-label-media/one/music:/music
- /srv/dev-disk-by-label-media/downloads/completed:/downloads
- /srv/dev-disk-by-label-media/downloads/:/data
restart: unless-stopped
lazylibrarian:
image: linuxserver/lazylibrarian
network_mode: "service:transmission-openvpn"
container_name: lazylibrarian
environment:
- PUID=1000
- PGID=100
- TZ=America/New_York
#- DOCKER_MODS=linuxserver/calibre-web:calibre #optional
volumes:
- /srv/dev-disk-by-label-media/appdata/lazylibrarian:/config
- /srv/dev-disk-by-label-media/downloads/audiobooks:/audiobooks
- /srv/dev-disk-by-label-media/downloads/dlaudiobooks:/dlaudiobooks
- /srv/dev-disk-by-label-media/downloads/:/data
restart: unless-stopped
Most things seem to operate but when I run a Lazy LIbrarian (LL) scan or post-processing command on a downloaded folder of audiobooks the scan doesn't appear to see the downloaded folder even if I have it on the same partition ('/downloads') or in '/one' where I would like to keep it. LL doesn't seem to have issues scanning the designated 'AudioBook Library Folder' as specified in LL and will then trigger wanted downloads via Jackett to Transmission but it is never able to import the finished file or create new folders/directories in either the downloads folder of the library folder. I receive this error in the log when running a LL library scan :
ERROR :: AUDIOBOOK_SCAN : bookrename.py:audioRename:339 : Unable to create directory /audiobooks/Joseph Heller/Catch-22: endswith first arg must be bytes or a tuple of bytes, not str
All programs are based in the '/appdata folder' except for Transmission which is why it likely works as well as it does, it just doesn't unrar but that's for another post. I did have Sonarr and Radarr sending requests to Transmission and they were downloading but with all my mucking around with folders that seems to have stopped but I have never had LL working which is my priority.
I have been picking away at this for a couple weeks and from what I can gather it seems to boil down to some permission issue(s) between my shared folders within OMV or at least that is my guess. I have tried to reset permissions on all of these folders but it doesnt seem to help. I have one user with the following permissions:
But I wasnt sure how the user related to the stack and how much it translated to the partitions anyway but I thought I should include it. Despite this I have provided full Read/Write access to my user profile and it didnt make a difference. I followed the setup as the great video on youtube suggested and left them as above.
I was hoping someone could take a look at this info and point me in the right direction as I think I am pretty close to a cool setup. I am happy to provide any additional information or logs if that would be helpful.
Thanks in advance for any assistance.