Jump to content

Recommended Posts

Posted

I recently reinstalled my Emby Server for Windows and then restored from backup so I would not have to set everything back up. The restore worked great as it has in the past however this time I am having some very weird issues. I searched this forum and internet for similar issues but nothing seem to match up. My problems are listed below:

1 - All of my People images have been removed. I can simply restore them by refreshing the metadata for the particular person but it will take me a life time to complete this 1 by 1. I tried to do this at a global level but it does not restore any People images. All other metadata and images work fine. There used to be a Scan People task in the scheduled tasks but it seems to be changed and does not resolve my issue.

2 - My collections are all missing. The collections tab is still there but it is empty. I tried to remove it but it will not remove. Really not sure on this one.

3 - I am unable to access the plugin catalog. I can see all of my plugins but the plugin catalog just spins forever.

Emby is installed on Windows Server 2016. I do not use a VPN. My Emby is updated to the latest version. 

Let me know what you need from me or if I missed any important info.

Posted

Hi, what was the version you restored?  Is it possible you did the restore then Emby did an update right away?

Happy2Play
Posted
13 minutes ago, bling26 said:

1 - All of my People images have been removed. I can simply restore them by refreshing the metadata for the particular person but it will take me a life time to complete this 1 by 1. I tried to do this at a global level but it does not restore any People images. All other metadata and images work fine. There used to be a Scan People task in the scheduled tasks but it seems to be changed and does not resolve my issue.

Really depends as People have been in multiple locations over time, \metadata\People\subfolders, \metadata\library\xx\xxxxxxxxxxx, and now \metadata\people with no subfolders.

You can try running the "Scan Metadata Folder" task as it is it is not run on a schedule any more.

18 minutes ago, bling26 said:

2 - My collections are all missing. The collections tab is still there but it is empty. I tried to remove it but it will not remove. Really not sure on this one.

Collections are now created off of media metadata, so you may have to Refresh your media for them to be created with this new method.

How did you reinstall?  Do you still have the old installation as this plugin may help.

 

20 minutes ago, bling26 said:

3 - I am unable to access the plugin catalog. I can see all of my plugins but the plugin catalog just spins forever.

Can you post a server log.

Posted
14 minutes ago, cayars said:

Hi, what was the version you restored?  Is it possible you did the restore then Emby did an update right away?

Hmm, that is a good question. I do not remember, sorry.

Posted

What is the version of the Server currently showing?
You can try doing a Full Library Scan from the Library menu.

Posted
6 minutes ago, Happy2Play said:

Really depends as People have been in multiple locations over time, \metadata\People\subfolders, \metadata\library\xx\xxxxxxxxxxx, and now \metadata\people with no subfolders.

You can try running the "Scan Metadata Folder" task as it is it is not run on a schedule any more.

Collections are now created off of media metadata, so you may have to Refresh your media for them to be created with this new method.

How did you reinstall?  Do you still have the old installation as this plugin may help.

 

Can you post a server log.

I have tried to scan metadata folder already with no luck.

I have also tried to refresh my media.

I had to completely remove Emby server and then I downloaded a new install from the Emby site and installed.

I hope that is the right log.

 

Thank you for your time and great program :)

embyserver.txt

Posted
2 minutes ago, cayars said:

What is the version of the Server currently showing?
You can try doing a Full Library Scan from the Library menu.

4.6.2.0

I have done a full scan already with no luck :(

Happy2Play
Posted

Looks like you are having a issue with your cache location also, looks like there may be a configure path and this path is not default.

Quote

Access to the path 'M:\ServerFolders\Metadata\metadata\Cache\cache\fanart-movies\65851\fanart.json' is denied

Along with a issue with this share.

Quote

Could not find a part of the path '\\SKYNET\Metadata\metadata\temp\156888\poster.jpg'.

And another different location

Quote

Could not find a part of the path 'M:\ServerFolders\Metadata\metadata\metadata\library\9d\9d7ad6afe9afa2dab1a2f6e00ad28fa6\poster.png'.

Can tell there was a database still in place or you shouldn't be getting this either.

Quote

2021-06-11 11:57:24.131 Error App: Error validating images for C:\Users\admin\AppData\Roaming\Emby-Server\programdata\root\default\Collections
    *** Error Report ***
    Version: 4.6.2.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.14393
    Framework: .NET Core 3.1.13
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 4
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admin\AppData\Roaming\Emby-Server\programdata\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.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
       at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
       at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__10_0(String i)
       at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray()
       at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       at System.Linq.OrderedEnumerable`1.ToList()
       at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, LibraryOptions libraryOptions, IEnumerable`1 paths, Boolean arePathsInMediaFolders, IDirectoryService directoryService)
       at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages(BaseItem item, LibraryOptions libraryOptions, IDirectoryService directoryService)
       at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
       at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, LibraryOptions libraryOptions, IEnumerable`1 providers, IDirectoryService directoryService)
       at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, LibraryOptions libraryOptions, CancellationToken cancellationToken)
    Source: System.IO.FileSystem
    TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)

Looks like lots of quirks from previous install.

Posted
5 minutes ago, Happy2Play said:

Looks like you are having a issue with your cache location also, looks like there may be a configure path and this path is not default.

Along with a issue with this share.

And another different location

Can tell there was a database still in place or you shouldn't be getting this either.

Looks like lots of quirks from previous install.

That is weird, some of those paths are odd. I just might clear that entire folder out and rescan and just start over. Actually sounds easier than trying to remap and fixing the current garbage. I will look into that later and repost my results. Thanks for your expertise. 

What about access to the plugin catalog, any thoughts there?

Posted

If you don't have the other folders backup up so you can restore them I think it would be easier for you to wipe and reinstall using 4.6 for a clear restart.
Everything should just work if you do this.

Once you get the initial install done you could use the configuration backup plugin to restore your users and watched states as well as your library setup.  

Happy2Play
Posted
7 minutes ago, bling26 said:

What about access to the plugin catalog, any thoughts there?

Looks like is the same as the rest.

2021-06-11 16:08:51.349 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json
2021-06-11 16:08:51.704 Error Server: Error processing request
	*** Error Report ***
	Version: 4.6.2.0
	Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.14393
	Framework: .NET Core 3.1.13
	OS/Process: x64/x64
	Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path 'M:\ServerFolders\Metadata\metadata\Cache\cache\httpclient\00ef52c1b2efbbf9b17e9a6c7c02becb' is denied.
	   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
	   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Int32 bufferSize, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.CacheResponse(HttpResponseInfo response, String responseCachePath)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo(Boolean enableCache, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackages(CancellationToken cancellationToken, Boolean withRegistration, String packageType, Version applicationVersion)
	   at MediaBrowser.Api.PackageService.Get(GetPackages request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)
	
2021-06-11 16:08:51.704 Info Server: http/1.1 Response 500 to 173.xxx.xxx.xxx. Time: 357ms.

 

Posted

It looks like you configured a custom cache folder for the server and this path is either no longer valid or the server is being denied write access to it. Try blanking that option out to set it back to default.

Posted
24 minutes ago, Luke said:

It looks like you configured a custom cache folder for the server and this path is either no longer valid or the server is being denied write access to it. Try blanking that option out to set it back to default.

yeah, I just did a reinstall and it is now scanning my library. It will take a while so I will just come back to it later and report back here :)

  • Like 1
Posted

Let us know how you get on. Thanks.

Posted

I performed the fresh install successfully. My plugin catalog is now working. Everything seems to be working however I still do not have any people images and my collections are still missing.

Happy2Play
Posted (edited)

If you did a Refresh on two movies that belong to a Collection is the Collection created?  Do the people in those items you Refreshed get populated?

Edited by Happy2Play
Posted
4 minutes ago, Happy2Play said:

If you did a Refresh on two movies that belong to a Collection is the Collection created?  Do the people in those items you Refreshed get populated?

WTF how did you do that LOL. Yeah that seemed to do the trick for both the people images and collections. I just started a refresh for the entire movies folder, this will take a while. 

So, using Media Center Master for metadata is pretty much dead huh? I always chose to use that for having more control and the option to choose the synopsis I like, short with parental guide high level overview. Are we able to have these abilities with the Emby plugin fetchers?

Happy2Play
Posted
2 minutes ago, bling26 said:

So, using Media Center Master for metadata is pretty much dead huh?

Yes and no.  Will have to look at what changes Luke made in xml metadata plug, as collections are built by the server by collectionsid and then adds <set> tag for created Collection to each media item that is part of said collection.  Emby does not write or update xml metadata so if you are importing existing xml metadata, you need to have providers enabled also to get what the xml is not providing Emby.

It does honor Collection Names added in MCM, similar to the nfo <set> tag.

<TmdbCollectionName>Scooby Doo Collection</TmdbCollectionName>

But this new method is looking for specific information in item metadata.

Now People are being saved differently again so since you don't have the old database you are starting over even if you had the old People folder.

But currently not there is really no control over "short with parental guide high level overview", Emby just gets the information from provider order.  MCM is actually scraping IMDB for the info you are talking about.

 

Posted
3 minutes ago, Happy2Play said:

Yes and no.  Will have to look at what changes Luke made in xml metadata plug, as collections are built by the server by collectionsid and then adds <set> tag for created Collection to each media item that is part of said collection.  Emby does not write or update xml metadata so if you are importing existing xml metadata, you need to have providers enabled also to get what the xml is not providing Emby.

It does honor Collection Names added in MCM, similar to the nfo <set> tag.

<TmdbCollectionName>Scooby Doo Collection</TmdbCollectionName>

But this new method is looking for specific information in item metadata.

Now People are being saved differently again so since you don't have the old database you are starting over even if you had the old People folder.

But currently not there is really no control over "short with parental guide high level overview", Emby just gets the information from provider order.  MCM is actually scraping IMDB for the info you are talking about.

 

Cool, good detailed answer, thanks. It seems everything is working now so I am happy. What started this whole mess for me is my Emby was very laggy with rendering images. My media would not play until all images were loaded and it was annoying. I thought Emby was broken so I reinstalled and doing that broke everything and finally led me to this thread. Later, my friend recommended that I migrate all metadata to a SSD so I did omg it was light and day difference. Anyway, now that my people images are back along with collections, I'm back in business, thanks.

Happy2Play
Posted

Yes Emby install/operation on HDD/SSD and even NVMIE are night and day differences.  Things we sort of have to take into fact when troubleshooting.

Posted

Hi @bling26 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...