Monday, October 24, 2022

Can't write to Jellyfin docker volume from host


full image - Repost: Can't write to Jellyfin docker volume from host (from Reddit.com, Can't write to Jellyfin docker volume from host)
relevant docker compose:version: '3.5' services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin user: 1000:1000 network_mode: 'host' volumes: - config:/config - cache:/cache - media:/media - media2:/media2:ro restart: 'unless-stopped' # Optional - alternative address used for autodiscovery #environment: # - JELLYFIN_PublishedServerUrl=http://example.com volumes: config: cache: media: media2: demonstration of strange permission behavior(I chown'd the media directory):chris@heaviside:~/projects/jellyfin$ sudo ls -lah /var/lib/docker/vol ls: cannot access '/var/lib/docker/vol': No such file or directory chris@heaviside:~/projects/jellyfin$ sudo ls -lah /var/lib/docker/volumes total 56K drwx-----x 7 root root 4.0K Oct 24 20:26 . drwx--x--- 13 root root 4.0K Oct 22 18:40 .. brw------- 1 root root 253, 3 Oct 22 18:40 backingFsBlockDev drwx-----x 3 root root 4.0K Oct 22 18:51 bbfe63d8a51351b3403180f88118016f256505966e4179dd409fdde44bf7567e drwx-----x 3 root root 4.0K Oct 24 20:26 jellyfin_cache drwx-----x 3 root root 4.0K Oct 24 20:26 jellyfin_config drwx-----x 3 chris chris 4.0K Oct 24 20:26 jellyfin_media drwx-----x 3 root root 4.0K Oct 24 20:26 jellyfin_media2 -rw------- 1 root root 32K Oct 24 20:26 metadata.db chris@heaviside:~/projects/jellyfin$ touch /var/lib/docker/volumes/jellyfin_media/test touch: cannot touch '/var/lib/docker/volumes/jellyfin_media/test': Permission denied I am open to suggestions that allow me to write to the volume. I have /var/lib on a mass storage disk so I need to keep my data there since / is mounted to a small SSD(so /home/jellyfin is not an option)


Mining:
Bitcoin, Cryptotab browser - Pi Network cloud PHONE MINING
Fone, cloud PHONE MINING cod. dhvd1dkx - Mintme, PC PHONE MINING


Exchanges:
Coinbase.com - Stex.com - Probit.com


Donations:
Done crypto



Comments System

Disqus Shortname

Disqus Shortname

designcart
Powered by Blogger.