Jump to content

disk not being scanned by library


Go to solution Solved by JuJuJurassic,

Recommended Posts

JuJuJurassic
Posted (edited)

Running Ubuntu 20.04.6 

I've added a couple of old SSDs, I'm copying over content and while doing so thought I'd do a library scan. but the new content isn't being seen

I got 

"2025-03-10 20:11:56.485 Error LibraryMonitor: Error in Directory watcher for: /data/sandisk3/temptv
    *** Error Report ***
    Version: 4.8.10.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Linux version 5.4.0-208-generic (buildd@lcy02-amd64-101) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)) #228-Ubuntu SMP Fri Feb 7 19:41:33 UTC 20
    Framework: .NET 6.0.31
    OS/Process: x64/x64
    Runtime: opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 16
    Data path: /var/lib/emby
    Application path: /opt/emby-server/system
    System.IO.IOException: System.IO.IOException: The configured user limit (24576) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
    Source: 
    TargetSite: 
    No Stack Trace Available
    
2025-03-10 20:11:56.485 Info LibraryMonitor: Stopping directory watching for path /data/sandisk3/temptv
2025-03-10 20:11:56.485 Info LibraryMonitor: Watching directory with new FileSystemWatcher for /data/sandisk3/temptv for item 26093364
2025-03-10 20:11:56.970 Info FfmpegManager: ProcessRun 'CreateTitleFingerprint' Process exited with code 0 - Succeeded"

I checked the inodes, they seem ok;


root@emby:/data/sandisk4# df --inodes /data/sandisk3
Filesystem       Inodes IUsed    IFree IUse% Mounted on
/dev/sda1      29310976  1078 29309898    1% /data/sandisk3
root@emby:/data/sandisk4# df --inodes /data/sandisk4
Filesystem       Inodes IUsed    IFree IUse% Mounted on
/dev/sde1      29310976   351 29310625    1% /data/sandisk4
root@emby:/data/sandisk4# df --inodes /data/sandisk2
Filesystem       Inodes IUsed    IFree IUse% Mounted on
/dev/sdb1      29310976   641 29310335    1% /data/sandisk2
root@emby:/data/sandisk4# df --inodes /data/sandisk1
Filesystem       Inodes IUsed    IFree IUse% Mounted on
/dev/sdf1      29310976 16336 29294640    1% /data/sandisk1
root@emby:/data/sandisk4#
 

the content on sandisk1 and sandisk2 is fine and seen by emby, but not sandisk 3 or sandisk4

Any suggestions?

Thanks

embyserver(3).txt

Edited by JuJuJurassic
adding files
Posted

Hi there, please attach the complete emby server log file. thanks.

JuJuJurassic
Posted

Thanks luke, now attached

Posted

It seems like you added and removed it several times and now you just need to run a full scan of all libraries and allow that to finish.

  • Solution
JuJuJurassic
Posted

Hi Luke, I tried that several times, but it.dodnt work, ok in the end I kicked.off my family. Not a popular move, and rebooted. The emby process.was.hung, it.wouldnt go.past.it. after waiting 30 minutes I powered ioff the server and.its.come.up.happy with the libraries updated.

  • Thanks 1

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...