Jump to content

file not found error on file that doesn't exist on disk or in library


Go to solution Solved by jamierf,

Recommended Posts

Posted (edited)

I manually deleted some corrupted movies on my server and ever since then new movies haven't been showing up on emby although I can see that they are going into the movie folder and the directory watcher should be seeing them.   Checking the logs I see 
    System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file '/mnt/NAS/Movies/Artemis Fowl (2020)'.

which makes sense as that file was deleted from the folder and doesn't exist.   I also however don't see it in my emby library nor do I see it in the metadata manager so I can't delete it from Emby. 

I've tried scanning the library but this error comes back.  I've restarted the emby service and rebooted the server.  It's still showing up.

How do I fix this and is it the reason that new movies aren't showing up anymore?

This is on linux if that matters

log file is attached.

embyserver.txt

Edited by jamierf
Posted

Hi, this is an odd one as it seems like the message is coming from the os. Can you try rebooting the machine? Thanks

Posted

It also seems to be treating the folder as a file as well, at least according to the error messages.

What permission do you have for /mnt/NAS/Movies ?

Posted

Thanks all.   A deep dive into the filesystem shows some real corruption going on in the inodes that may be hardware related as simple repairs don't appear to be fixing it.  

Posted

Sorry to heat that.
What specific OS is this and what kind of volume is it?

Posted

host is proxmox.  emby is running in a container on it.  volume is mergerfs joining 7 drives .   snapraid gives me 1 parity drive on another drive for a total of 8 in the NAS all formatted ext4.    The short smart test on the drive that is having issues came back clean but googling my inodes error suggests the long smart test will find problems on the drive itself.     I suppose it could also be the sata cable or something on one of the controllers as the MB/CPU are well outside of reasonable life expectancy

  • Solution
Posted (edited)

Ok you can consider this closed.  Repairing the filesystem(not fun) and a reboot and emby is no longer reporting the non existent movie and is once again scanning and finding new movies in the library folder as expected.  Issue was at the OS level.  Thanks for pointing me in the right direction.

Edited by jamierf
spelling
Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...