Jump to content

Missing Collections After Upgrade to 4.5.1.0


Recommended Posts

Posted

Log is attached. This has happened a couple of times before after upgrades, but, I just recreated the collections those times. Don't really want to do that again as it takes some time to do, so, asking for some help now to fix the problem once and for all. Thanks.

embyserver.txt

Happy2Play
Posted

This error would suggest they do not exist, same for camerauploads

2020-10-04 16:33:10.210 Error App: Error in GetFilteredFileSystemEntries isPhysicalRoot: False IsVf: False
	*** Error Report ***
	Version: 4.5.1.0
	Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -updatepackage emby-server-synology_{version}_x86_64.spk
	Operating system: Linux version 3.10.105 (root@build2) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP Wed Jul 8 03:16:31 CST 2020
	Framework: .NET Core 3.1.7
	OS/Process: x64/x64
	Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /volume1/Emby
	Application path: /volume1/@appstore/EmbyServer/system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/var/packages/EmbyServer/target/var/data/collections'.
	   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
	   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
	   at System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
	   at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, LibraryOptions libraryOptions)
	Source: System.IO.FileSystem
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)

 

@Luke also inotify limit something the users have to change or the package builder?

System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.

 

Posted

Yes, the Camera Uploads is just a placeholder folder for possible future use with nothing in it. But, the Collections folder had a couple dozen collections in it at least. Cover thumbnails from it are still showing in the Web app unless that's just from the browser cache.

Tandhruil
Posted (edited)

I had this problem and solved it by updating metadatas of the collections library (If you don't want to alterate your existing metadatas choose in the list "update missing metadatas"*).

*translate from french maybe not the real title

 

Edited by Tandhruil
Posted

@Tandhruil Tried both options for the metadata but neither brought back the collections. But, thanks anyway for the suggestion.

Posted

@kameboy have you ever manually altered the permissions of the emby program data folder, or changed the system user that emby server runs under?

Posted (edited)

@Luke No, the permissions and system user were not changed.

Edited by kamemby
Posted

@Luke So, I was reading the instructions for the manual migration of collections that you had linked to in another post and in those instructions it states that I could find the path to the Collections folder in the Web Dashboard, however, that path doesn't exist for me in my Dashboard. I'm only seeing ones for cache, logs, metadata, and transcoding. I am seeing the Emby/Data/Collections folder in the Synology with all of the collections there and, checking on a few of them, the paths look correct. Though, don't know if this info is of any use to you in giving me a way to resolve the issue or not, just thought I'd throw it out there in case it does.

Posted

Can you try removing the collections and camera uploads libraries from emby library setup? Then once it's gone and you've run a full library scan, then try creating a new collection. Please see if that helps. thanks.

Posted

@Luke That did the trick! All collections are now back. Some were duplicated, though, but I deleted the duplicates even though both versions were showing the same path,  seemingly without any adverse impact on the other one. However, the path to collections is still not showing in the Web Dashboard. I did restart the Emby server to see if that would maybe generate the path, but, no. Anyway, things are back to normal for the time being. Thanks for your help!

Posted

Thanks for the feedback. Apologies for the disruption.

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