Quick answer
What this guide helps you do
Fix Jellyfin libraries that disappear after reboot. Check mount points, UUID entries, fstab, service timing, permissions, and empty media folders.
Jellyfin beginner path
New to Jellyfin? Follow this order.
These guides form the SmallGrid Jellyfin path: install it, fix folder access, solve empty libraries, reduce unnecessary transcoding, then choose the right mini PC.
- Jellyfin on Ubuntu: Low-Power Setup, Media Folders and Reboot Checks
- Give Jellyfin Access to Media Folders on Ubuntu
- Jellyfin Library Not Showing Files: Fix Scans, Paths and Permissions
- Jellyfin Direct Play vs Transcoding: Differences, CPU Use and How to Check
- Best Mini PC Specs for Jellyfin: What Actually Matters
Difficulty
Beginner-friendly
Focus
Jellyfin setup and troubleshooting
Best used for
Practical setup, fixes, and checks
Quick answer
If Jellyfin media disappears after reboot, the media disk or network share probably did not mount before Jellyfin scanned the library.
Check:
findmnt /mnt/media
ls -la /mnt/media
If findmnt returns nothing and the folder is empty, Jellyfin is looking at the mount-point directory rather than the real disk.
Why this happens
Linux can leave the mount-point folder in place even when the disk is not mounted.
Example:
Expected disk: /mnt/media
Actual state: empty local directory at /mnt/media
Jellyfin starts, scans the empty directory, and the library appears to vanish.
Confirm the disk is missing
Run:
findmnt /mnt/media
lsblk -f
ls -la /mnt/media
Also check available space:
df -h /mnt/media
If the reported filesystem is your Ubuntu root filesystem rather than the media disk, the mount failed.
Use the disk UUID in fstab
Find the UUID:
lsblk -f
Back up /etc/fstab:
sudo cp /etc/fstab /etc/fstab.backup
Edit it:
sudo nano /etc/fstab
Example ext4 entry:
UUID=YOUR-UUID /mnt/media ext4 defaults,nofail 0 2
Create the mount point if needed:
sudo mkdir -p /mnt/media
Test the configuration without rebooting:
sudo mount -a
findmnt /mnt/media
Fix any error before rebooting.
Check permissions after mounting
Once mounted, test access as Jellyfin:
sudo -u jellyfin ls -la /mnt/media
If that returns Permission denied, apply the correct ACL or group access.
See Give Jellyfin Access to Media Folders on Ubuntu.
Make Jellyfin wait for the mount
For local mounts, a correct /etc/fstab entry is often enough.
For slow network shares or unusual storage, Jellyfin may start before the mount is ready.
Create a systemd override:
sudo systemctl edit jellyfin
Add:
[Unit]
RequiresMountsFor=/mnt/media
After=network-online.target
Wants=network-online.target
Then reload systemd:
sudo systemctl daemon-reload
sudo systemctl restart jellyfin
This makes the service depend on the media path.
Watch for files written into the empty mount point
A download service can write files into /mnt/media while the real disk is absent.
Later, when the disk mounts, those files become hidden underneath the mounted filesystem.
To investigate safely:
- Stop services that write to the path.
- Confirm the disk contents are backed up.
- Unmount the disk.
- Inspect the underlying mount-point directory.
Do not move or delete files until you know which filesystem you are viewing.
Network shares
For SMB, CIFS, or NFS mounts, check:
findmnt -t cifs,nfs,nfs4
Network mounts may need options such as:
_netdev
x-systemd.automount
nofail
Use credentials files rather than placing passwords directly in /etc/fstab.
Test the complete reboot path
Reboot:
sudo reboot
After reconnecting, run:
findmnt /mnt/media
sudo -u jellyfin ls -la /mnt/media
systemctl status jellyfin --no-pager
Then open Jellyfin and scan the affected library.
Related guides
- Jellyfin Library Not Showing Files
- Jellyfin Cannot Access an External USB Drive
- Jellyfin Not Scanning New Files
- Install Jellyfin on Ubuntu
Recap
When media disappears after reboot, verify the mount before changing Jellyfin.
Use a stable UUID entry, test it with mount -a, verify Jellyfin permissions, and make the service wait for the media path when necessary.
Jellyfin guide cluster
More Jellyfin fixes and setup guides
These guides link the main Jellyfin setup, permissions, remote access, direct play, and hardware topics together.
Jellyfin on Ubuntu: Low-Power Setup, Media Folders and Reboot Checks
Build a reliable low-power Jellyfin server on Ubuntu. Install Jellyfin, mount storage, fix media access, favour Direct Play, measure power, and verify the server after reboot.
Give Jellyfin Access to Media Folders on Ubuntu
Fix Jellyfin permission denied errors on Ubuntu. Test the service user, find blocked parent folders, apply safe ACLs, verify inheritance, and check mounted-drive options.
Jellyfin Library Not Showing Files: Fix Scans, Paths and Permissions
Fix an empty Jellyfin library when scans find no media. Check storage mounts, paths, Linux permissions, Docker mappings, new-file access, scans, and logs in the correct order.
Jellyfin Docker Permissions: Fix Media Folder Access and UID/GID Errors
Fix Jellyfin Docker permission denied errors. Check bind mounts, container paths, UID and GID values, read-only media access, active mounts, and file visibility step by step.
Jellyfin Direct Play vs Transcoding: Differences, CPU Use and How to Check
Compare Jellyfin Direct Play, Direct Stream and transcoding. Learn how each affects CPU use and quality, why transcoding starts, and how to diagnose it.
Best Video Format for Jellyfin Direct Play: MKV, MP4, H.264 and HEVC
Choose the best video, audio, subtitle, and container formats for Jellyfin Direct Play. Compare MKV vs MP4, H.264 vs HEVC, and avoid unnecessary transcoding.