Jump to content

New Server not recognizing certain files, but pulling other media from same drive


Recommended Posts

shstephens20892
Posted

Same as the title; logs below. I had to rebuild my server last week and now, TV media files in the G:Drive aren't showing up as TV, even though all other G:Drive folders are. I'm not sure how to get Emby to recognize these specific files. Previously, some copies of these were in the D:Drive and appeared, but not all. The D:Drive was removed and now nothing is appearing. Folder structure below: 

G:\Server\TV\[Various folders, each as Show Name\Season Number] (nothing here recognized)

G:\Server\Movies (all media appears)

G:\Server\User\tV\Show Name (all media appears)

When I add a specific path to the library directory ("G:\Server\TV\High Potential"), it brings those files in but still doesn't capture the parent folder storage. Thanks in advance!

 

 

embyserver.txt

Posted

There are loads of logged errors relating to "G:\Server\TV\Minx" being not found. Could be that it does not exist or a permissions issue. It is possible that maybe this is stopping other files being processed

 

2025-12-31 00:27:03.134 Error ProviderManager: Error validating children for TV 57906 G:\Server\TV
	*** Error Report ***
	Version: 4.9.1.90
	Command line: C:\Users\Spencer\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19045
	OS/Process: x64/x64
	Framework: .NET 8.0.21
	Runtime: C:/Users/Spencer/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Spencer\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Spencer\AppData\Roaming\Emby-Server\system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'G:\Server\TV\Minx'.

Also whilst there is still a questionmark on supportiing overlapping folders in libraries, I would remove all the child folders from the library defintion below "G:\Server\TV"

Currently the TV library has these root folders defined

G:\Server\TV\Bajillion Dollar Properties
G:\Server\TV\My Brother My Brother and Me
G:\Server\TV\Resident Alien
G:\Server\TV\Severance
G:\Server\TV\The Diplomat

As well as the parent folder being in place

G:\Server\TV

I would just leave the parent folder removing the 5 paths below "G:\Server\TV"

So advice is see if the Minx folder exists. if it does, check its permissions. If it does not, then create it and ensure it has right permissions

And edit the library setting to remove the 5 folder paths i listed above and rescan and see if there is any difference. Get fresh log files if problem persists and give examples of names of TV folders not being picked up

I see also that your encountered database locked errors when attempting to remove some paths from the library. So lets just first tackle the issue with the Minx tv folder and see what happens after that is addressed. But do enable debug logging on the server now (settings / Logs / Settinngs : enable debug logging) and restart the server and then make the changes and rescan

I am also seeing a database constraint error relating to the RPG books library - not sure why as there is only one folder path defined

Was that after you removed D:\RPG's or was it deleting the library?

2025-12-31 01:08:03.034 Info LibraryStructureService-0HNI85K053JPT:00000006: http/1.1 POST http://localhost:8096/emby/Library/VirtualFolders/Delete?refreshLibrary=true&id=67939&name=RPG&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=4817d0c5-b078-4869-8805-c7a59ba5e2f7&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us. Source Ip: 127.0.0.1, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0
2025-12-31 01:08:03.700 Info App: Removing item from database, Type: Folder, Name: RPG's, Path: D:\RPG's, Id: 68080
2025-12-31 01:08:03.806 Info LibraryStructureService-0HNI85K053JPT:00000006: http/1.1 Response 204 to 127.0.0.1. Time: 773ms. POST http://localhost:8096/emby/Library/VirtualFolders/Delete?refreshLibrary=true&id=67939&name=RPG&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=4817d0c5-b078-4869-8805-c7a59ba5e2f7&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us. 

2025-12-31 01:08:13.198 Info App: ValidatePhysicalRoots start validating 68080 RPG's D:\RPG's
2025-12-31 01:08:13.224 Error SqliteItemRepository: Error saving items
	*** Error Report ***
	Version: 4.9.1.90
	Command line: C:\Users\Spencer\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19045
	OS/Process: x64/x64
	Framework: .NET 8.0.21
	Runtime: C:/Users/Spencer/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Spencer\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Spencer\AppData\Roaming\Emby-Server\system
	SQLitePCL.pretty.SQLiteException: Constraint: FOREIGN KEY constraint failed
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at Emby.Sqlite.SqliteExtensions.ExecuteQuery(IStatement This)+MoveNext()
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItem(IDatabaseConnection db, BaseItem item, Int64 userDataKeyId, IStatement insertItemStatement, IStatement updateItemStatement)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List`1 items, MetadataRefreshOptions metadataRefreshOptions)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, MetadataRefreshOptions metadataRefreshOptions, Action`1 afterSave, Boolean disableForeignKeys, CancellationToken cancellationToken)
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	

 

 

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