2025-04-22, 04:48 PM
(This post was last modified: 2025-04-22, 04:49 PM by franknap. Edited 1 time in total.)
After some repeated tests I have solved the problem, I try to summarize the solution here in case it is useful to some other user.
I map the folder pointing to the path 'media'
To make the mount permanent I do this:
and then I add the line:
In case of start/restart of the Jellyfin before that the NAS still being available on the network, however, it is necessary, the folder mounting will not happen automatically and will not work. In this case, you must re-mount the network folder, and then restart the container (for me, restarting the jellyfin server was not enough).
I map the folder pointing to the path 'media'
Code:
sudo mount -t nfs -o proto=tcp,port=2049 IP_ADDR_NAS:/volume1/video /srv/jellyfin/media
sudo systemctl daemon-reload
To make the mount permanent I do this:
Code:
sudo nano /etc/fstab
and then I add the line:
Code:
IP_ADDR_NAS:/volume1/video /srv/jellyfin/media nfs defaults 0 0
In case of start/restart of the Jellyfin before that the NAS still being available on the network, however, it is necessary, the folder mounting will not happen automatically and will not work. In this case, you must re-mount the network folder, and then restart the container (for me, restarting the jellyfin server was not enough).