2023-07-20, 11:42 PM
(This post was last modified: 2023-07-20, 11:45 PM by eeyoresdoom. Edited 3 times in total.)
Edit: the smirking smileys are colon forward-slash, i fail at reading
Dr. Frankenstein's Tech Stuff helped me tremendously and the site is good about staying up to date.
https://drfrankenstein.co.uk/step-1-dire...p-guide-2/
This part https://drfrankenstein.co.uk/step-2-sett...ining-ids/ shows how to obtain the system users PUID and PGID.
The PUID and PGID in the jellyfin.yml file will need to match the system user you gave access to your home media folder (in control panel > shared folder > edit media folder permissions). If they doin't match, jellyfin can't see your media folder.
As a side note, I bought a $20 256gb ssd sata drive and plugged it into the Synology USB3 slot with a SATA to USB3 cable. I created the jellyfin cache and config folder on the usb drive and it silences the loud nas drives I have in the synology when watching movies. Transcoding and library writes are all done on the ssd. The other upside is when you update jellyfin, you don't lose your library. You can wipe the container, run your yml to recreate it and it will start right where you left off. You only need to set up a backup schedule so the ssd doesn't accidentally wipe or crash and you lose your library. The HD thrashing being gone made it 1000x better to use jellyfin for me.
Here is how I mounted the USB3 location in my jellyfin yml:
volumes:
- /volumeUSB1/usbshare/jellyfin/cachecache
- /volumeUSB1/usbshare/jellyfin/configconfig
- /volume1/mediamedia
Since the config/library/user data is all stored on the usb ssd and not in the docker container, to update jellyfin I:
-Enable ssh in control panel > Terminal & SMNP and apply
-Stop the jellyfin container
-Delete the jellyfin conatiner
-Open a terminal and ssh to your synology (I use PuTTY)
-Use this command to list docker containers:
sudo docker image ls
-Use this command to delete the downloaded jellyfin image from docker (use image_id you found using the previous command):
sudo docker rmi image_id
-I run this to redownload the updated jellyfin image but substitute the path to your yml:
sudo docker-compose -f /volumeUSB1/usbshare/jellyfin/jellyfin.yml up -d
-Exit the terminal, disable ssh in the synology control panel.
-Start the new jellyfin container. Enjoy.
Sorry I'm all over the place. Hopefully this helps some.
Dr. Frankenstein's Tech Stuff helped me tremendously and the site is good about staying up to date.
https://drfrankenstein.co.uk/step-1-dire...p-guide-2/
This part https://drfrankenstein.co.uk/step-2-sett...ining-ids/ shows how to obtain the system users PUID and PGID.
The PUID and PGID in the jellyfin.yml file will need to match the system user you gave access to your home media folder (in control panel > shared folder > edit media folder permissions). If they doin't match, jellyfin can't see your media folder.
As a side note, I bought a $20 256gb ssd sata drive and plugged it into the Synology USB3 slot with a SATA to USB3 cable. I created the jellyfin cache and config folder on the usb drive and it silences the loud nas drives I have in the synology when watching movies. Transcoding and library writes are all done on the ssd. The other upside is when you update jellyfin, you don't lose your library. You can wipe the container, run your yml to recreate it and it will start right where you left off. You only need to set up a backup schedule so the ssd doesn't accidentally wipe or crash and you lose your library. The HD thrashing being gone made it 1000x better to use jellyfin for me.
Here is how I mounted the USB3 location in my jellyfin yml:
volumes:
- /volumeUSB1/usbshare/jellyfin/cachecache
- /volumeUSB1/usbshare/jellyfin/configconfig
- /volume1/mediamedia
Since the config/library/user data is all stored on the usb ssd and not in the docker container, to update jellyfin I:
-Enable ssh in control panel > Terminal & SMNP and apply
-Stop the jellyfin container
-Delete the jellyfin conatiner
-Open a terminal and ssh to your synology (I use PuTTY)
-Use this command to list docker containers:
sudo docker image ls
-Use this command to delete the downloaded jellyfin image from docker (use image_id you found using the previous command):
sudo docker rmi image_id
-I run this to redownload the updated jellyfin image but substitute the path to your yml:
sudo docker-compose -f /volumeUSB1/usbshare/jellyfin/jellyfin.yml up -d
-Exit the terminal, disable ssh in the synology control panel.
-Start the new jellyfin container. Enjoy.
Sorry I'm all over the place. Hopefully this helps some.