Jump to content

stability issues


Recommended Posts

dravokivich
Posted (edited)

Hi,

 

Would appreciate some advice. I'm having frequent stability issues with EMBY, where it'll become unavailable locally and to other devices within my network. (I'm using stable and it indicates it's up to date) I attempt to restart the service via the task bar and get a message stating it couldn't restart EMBY. I can only seem to restart it by using the shortcut thats on the start menu.

 

I've looked through the logs and can't find anything overly obvious. There are no statements about any conflicts at the end of the logs indicating a reason for the server stopping. I've selected the "Debugging" logs, but can't seem to find where they are located?

 

The only consistent errors in the logs I can see, is the following item.

2018-09-05 21:03:58.830 Error App: Error in TheMovieDb
	*** Error Report ***
	Version: 3.5.2.0
	Command line: C:\Users\bob\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 2
	Program data path: C:\Users\bob\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\bob\AppData\Roaming\Emby-Server\system
	System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\bob\AppData\Roaming\Emby-Server\programdata\cache\tmdb-movies2\455050\all-en.json'.
	   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.Common.Implementations.Serialization.JsonSerializer.DeserializeFromFile[T](String file)
	   at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.FetchMovieData(String tmdbId, String imdbId, String language, String preferredCountryCode, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.GetMetadata(ItemLookupInfo itemId, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
	System.IO.DirectoryNotFoundException
	   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.Common.Implementations.Serialization.JsonSerializer.DeserializeFromFile[T](String file)
	   at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.FetchMovieData(String tmdbId, String imdbId, String language, String preferredCountryCode, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.GetMetadata(ItemLookupInfo itemId, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

But... there's no TMDB / TMDB2 plugin installed, nor can I see one in the catalogue. This could hardly be contributing to it?

 

Any other suggestions on common issues that impact stability?

 

Thanks

 

Edit:

added 4 most recent log files

embyserver.txt

embyserver-63671608437.txt

embyserver-63671608845.txt

embyserver-63671609313.txt

Edited by dravokivich
Posted

Hi there, can you please attach the complete emby server log? thanks.

dravokivich
Posted

Hi Luke,

 

Added the 4 most recent. 

 

But I'm kinda wondering if it may be something I'm unable to identify that's affecting EMBY, more so than EMBY itself.

 

Any advice appreciated.

Posted

When did you originally install Emby Server? Is this a recent installation?

dravokivich
Posted

Hi Luke,

 

Checking out the installation logs, they seem to be dated from the 8th June.

 

I had a previous installation before it, which would have been migrated from MB3, but that was removed some time ago, before installing the current server instance.

 

Unsure if it makes any odds, when I log into Emby Connect, I am presented with 2 servers with the same ID. the first, is the current instance. the 2nd, refers to the older instance, but haven't really had a chance to look into seeing how that can be deleted.

 

Does it look like a conflict, due to that?

 

I've only noticed the stability issues last couple of weeks.

Posted

No, that's just your old installation still being present in your Emby Connect account. All Emby apps have a delete function on the server selection screen that will allow you to delete it.

 

I was recently able to reproduce an image related crash, and this is resolved in the beta server if you wanted to try that. It's possible that's what's happening here. Thanks.

dravokivich
Posted (edited)

Thanks Luke,

 

Do I need to uninstall EMBY first, or is there a switch in some advanced setting?

 

If I've to uninstall, is the server backup from Stable, compatable with beta and vice/versa?

Edited by dravokivich
Posted

To can just install over the top.

dravokivich
Posted (edited)

Hi,

 

Seem to be having an issue installing the beta. Do you know which services I have to make sure are no longer running? I keep getting the following error:

 

 

post-4804-0-75836700-1536496047_thumb.png

Edited by dravokivich
Posted

Something must be holding a lock on your emby system folder. i would suggest rebooting and trying again. Thanks.

dravokivich
Posted

I managed to get it installed,but same issues seem to be coming up again. When I'm on the dashboard, it seems to hang when I try to get to manage server.

 

Is there anything in the EMBY-SERVER folder I can look at, to double check the version?

dravokivich
Posted

Alright, so log file confirms its the beta I'm using. but doesn't seem to obviously present anything to investigate.

embyserver.txt

dravokivich
Posted

Im not sure if a failed response in this action, will support that the action led to the failure.

 

I get the attached screen shot. 

 

Attached logfile, shows that link was the last thing the server tried to do. But there's no further entries. Can we see if a failure was as a result of that?

embyserver.txt

post-4804-0-84600900-1536520114_thumb.png

Posted

was it already crashed before you tried that?

dravokivich
Posted

Yeah, wasn't able to get to it. Then I killed the process that was in the task bar. Started it from the shortcut in the start menu. then after a few minutes,dashboard come up itself. I didn't select anything on the dashboard. Clicked through your link.

Posted

I get the error that's in post 14.

Posted

So you can confirm that particular image url crashed the server? or was it already crashed before you had a chance to try?

Posted

That's a hard question to answer. There's no indication it has crashed. I couldn't use it. When I tried to get to it, it wouldn't work. Same issues still seem to be coming up. Ive even just rebooted now. Get a dashboard presenting MyMedia. couldn't select anything. all I can say is, it's non responsive. Whether i use it Locally or via LAN.

Posted

Could there be an issue with library size?

 

My library.db file is 198,336kb.

 

And logfile seems to indicate a "slow" response when checking it:

2018-09-14 22:47:19.054 Debug SqliteItemRepository: GetItems query time (slow): 1263ms. Query: select type,data,Id,StartDate,EndDate,IsMovie,IsSeries,IsRepeat,CommunityRating,IndexNumber,Width,Height,Name,Path,PremiereDate,ParentIndexNumber,ProductionYear,OfficialRating,RunTimeTicks,Size,Container,guid,ParentId,IsInMixedFolder,Tags,CriticRating,IsVirtualItem,SeriesName,Album,AlbumId,SeriesId,ProviderIds,Images,TotalBitrate,Artists,AlbumArtists,ExternalId,SeriesPresentationUniqueKey from MediaItems A left join UserDatas on UserDataKey=UserDatas.Key And (UserDatas.UserId=@UserId) where IsFolder=@IsFolder AND (UserDatas.played is null or UserDatas.played=@IsPlayed) AND IsVirtualItem=@IsVirtualItem AND MediaType=@MediaTypes AND TopParentId in (1,2,3,4,5,23562) Group by PresentationUniqueKey ORDER BY DateCreated DESC LIMIT 16
2018-09-14 22:47:20.597 Debug SqliteItemRepository: GetItems query time (slow): 1543ms. Query: select data,Id,EndDate,CommunityRating,IndexNumber,Width,Height,Name,Path,PremiereDate,ParentIndexNumber,ProductionYear,OfficialRating,RunTimeTicks,Size,Container,guid,ParentId,IsInMixedFolder,IsVirtualItem,SeriesName,Album,AlbumId,SeriesId,ProviderIds,TotalBitrate,ExternalId,SeriesPresentationUniqueKey from MediaItems A left join UserDatas on UserDataKey=UserDatas.Key And (UserDatas.UserId=@UserId) where type=@[member="type"] AND TopParentId in (31,1,2,3,4,5,23562,6,7,8,9) Group by SeriesPresentationUniqueKey ORDER BY MAX(UserDatas.LastPlayedDateInt) DESC

embyserver.txt

Posted

That's a hard question to answer. There's no indication it has crashed. I couldn't use it. When I tried to get to it, it wouldn't work. Same issues still seem to be coming up. Ive even just rebooted now. Get a dashboard presenting MyMedia. couldn't select anything. all I can say is, it's non responsive. Whether i use it Locally or via LAN.

 

Ok so it's already crashing before you can do anything, is that correct?

Posted

I was recently able to reproduce an image related crash, and this is resolved in the beta server if you wanted to try that.

FWIW, I suspect I ran into this (reliably crashing after a particular artist's image is pulled), and updating to the beta appears to have fixed it.

Posted (edited)

I can crash Emby every time when I enter Vikings series. The process EmbyServer.exe just dies without any notification, no information of error in logs. It looks like some people pictures are not shown so I would expect to be related. Upgrading to beta does not solve the issue but messed up my libraries...

 

Edit:
I can do the same with entering my Anime-Movies library. Looks like geting the pictures causes it as last entry in the log file is the server is getting one of the covers

2018-09-16 13:58:57.758 Info HttpClient: GET https://image.tmdb.org/t/p/original/f8fTKu9COGZ1otedoIy1vGQri2P.jpg
Edited by Vito_MCE

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