Jellyfin Forum
"No such file or directory" error. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: "No such file or directory" error. (/t-no-such-file-or-directory-error)



"No such file or directory" error. - grahambo - 2024-07-29

In my FFMPEG log files within Jellyfin, I'm getting a "No such file or directory" error.

This is because the network drives are getting unmounted after a few days of uptime. 

What could be causing this? It is getting annoying having to remount my network drives over and over.

Could it be from plugins updating? Does Jellyfin automatically reboot periodically? Do I need to write a bash script that constantly mounts the network drives??

Actually I just tried remounting one of the network drives, and I got this error (username/password anonymized):


sudo mount -t cifs //192.168.1.5/Videos /mnt/WDMyCloud/Videos -o username=*******,password=*****,iocharset=utf8,vers=3.0
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)


I fixed it by appending sec=ntlmssp to the mount command but why does this keep happening?

I also just tried mounting the other network drive and it worked just fine. But why was it unmounted in the first place??


RE: "No such file or directory" error. - TheDreadPirate - 2024-07-29

What kind of system is hosting the SMB share?


RE: "No such file or directory" error. - grahambo - 2024-07-29

One is a Windows 10 Pro system, the other is a WDMyCloud NAS.


RE: "No such file or directory" error. - TheDreadPirate - 2024-07-29

I don't have any experience with WD "NAS" setups, but this sounds like some sort a power saving mode.


RE: "No such file or directory" error. - grahambo - 2024-08-02

It must be an issue with the operating system that Jellyfin is running on, because both of the network drives were unmounted, and they are both running on separate systems and OS's.

Jellyfin is running in a Proxmox LCX container. Here's some more information about the operating system it's running on:

Debian GNU/Linux 11 (bullseye)
Linux jellyfin 5.15.74-1-pve #1 SMP PVE 5.15.74-1 x86_64 GNU/Linux

Any ideas?


RE: "No such file or directory" error. - TheDreadPirate - 2024-08-02

Windows and, I'm assuming, your WD NAS could possibly have sleep modes or low power states that drops connectivity.

Could also be just general network flakey-ness. But it should be re-establishing connection and re-add content when the connection is restored and the library scan job runs.

I don't have enough information to say for certain that is the cause. Nor enough knowledge about how you have things setup to guide you beyond those vague suggestions.