Hello I am new to Docker and I guess Linux also…
but I’ve so far gotten everything running as I want except for permission errors popping up after a few hours…
I have Plex, Sonarr, Radarr, Transmission, Ombi, Jackett, Portainer and Samba running as containers on a Paspberry 4 (Running Rasbian OS Lite).
Everything works pretty well except after a few hours I start getting permission errors… which I can fix with chmod 777 but only temporarily.
I have an external drive connected to the Pi4 mounted in a volume group and then as a logical volume in the group (/mnt/media) which stores my media and the dockers are (trying) to write/read.
I’m wondering if it has anything to do with how I configured the containers?
Here is how I set up Sonarr and Transmission:
sudo docker create \
--name=sonarr \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p ports:ports \
-v /plexsetup/config/Sonarr:/config \
-v /mnt/media/TV:/tv \
-v /mnt/media/downloading:/downloads \
--restart unless-stopped \
linuxserver/sonarr
sudo docker create \
--name=transmission \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-e TRANSMISSION_WEB_HOME=/combustion-release/ \
-p ports:ports \
-v /plexsetup/config/Transmission:/config \
-v /mnt/media/downloading:/downloads \
-v /mnt/media/torrents:/watch \
--restart unless-stopped \
linuxserver/transmission
My fstab entry for the volume:
UUID=*****-**** /mnt/media ext4 defaults,auto,users,rw,nofail 0 0
I have one user which has uid=1000 gid=1000 groups=1000
What could be the issue here?