Jump to content

Library scanning misses same folder over and over


Go to solution Solved by Happy2Play,

Recommended Posts

griffindodd
Posted (edited)

Fresh install of Server 4.8.8.0 on Ubuntu 22

Files on Synology NAS

One of my movie folders keeps 'dropping off' my Emby library and I'm not sure why. 

I have four folders in my movie library, all have identical rights

  • smb://<NAS-IP>/data/media/movies/HD Movie Archive
  • smb://<NAS-IP>/data/media/movies/4k Movie Archive
  • smb://<NAS-IP>/data/media/movies/HD Kid Friendly Movies
  • smb://<NAS-IP>/data/media/movies/4K Kid Friendly Movies

The Folder '4k Movie Archive' is the largest with 282 subfolders, and is the one that keeps dropping from the library whenever it does a new automatic scan. If I kick off a manual scan it will see the folder and add all the movies. but then the next time Emby scans the folders it misses the 4K folder and all the movies disappear from the library again.

 

Below is an error report in the log when I start a manual scan. The file mentioned does exist on the server, the only difference I see is that it has an mkv extension.

*** Error Report ***
Version: 4.8.8.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 6.5.0-44-generic (buildd@lcy02-amd64-103) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubunt
Framework: .NET 6.0.25
OS/Process: x64/x64
Runtime: opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 6
Data path: /var/lib/emby
Application path: /opt/emby-server/system
System.IO.IOException: System.IO.IOException: Create Handle Failed: media\movies\4k Movie Archive\Big.Fish.2003.2160p.UHD.BluRay.x265-bigfisHHH. NTStatus: FILE_DOES_NOT_EXIST
at EzSmb.Transports.Shares.Handlers.Bases.HandlerBase..ctor(SmbType smbType, ISMBFileStore store, String path, HandleType handleType, NodeType nodeType, HandleArgs args)
at EzSmb.Transports.Shares.Smb2Share.GetHandler(String path, HandleType handleType, NodeType nodeType, HandleArgs args)
at EzSmb.Transports.Shares.Bases.ShareBase.CreateFolder(Node node, String folderName)
at EzSmb.Node.CreateFolder(String folderName, String relatedPath)
at Emby.Server.Implementations.IO.SmbFileSystem.CreateDirectory(String path)
at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path, LibraryOptions libraryOptions, CancellationToken cancellationToken)
at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
at Emby.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void .ctor(EzSmb.Params.Enums.SmbType, SMBLibrary.Client.ISMBFileStore, System.String, EzSmb.Transports.Shares.Handlers.Enums.HandleType, EzSmb.NodeType, EzSmb.Transports.Shares.Handlers.HandleArgs)
 
2024-08-11 10:56:04.996 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i "http://127.0.0.1:8096/Items/File?Id=smb%3A%2F%2F192.168.68.111%2Fdata%2Fmedia%2Fmovies%2F4k+Movie+Archive%2FBlack.Panther.2018.2160p.UHD.BluRay.x265-EMERALD%2FBlack.Panther.2018.2160p.UHD.BluRay.x265.10bit.HDR.TrueHD.7.1.Atmos-RARBG.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
Edited by griffindodd
  • Solution
Happy2Play
Posted

smb paths don't always play well with Emby.  Dev will recommend mounting them locally.

 

  • Agree 1
griffindodd
Posted

OK thanks for the help, I will mount the folder in Ubuntu and point to that instead.

  • Thanks 1
Posted

Let us know how you get on. Thanks.

griffindodd
Posted

Everything seems to be staying as it should now that I am using a CIFs mounted volume. 

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