dravokivich 3 Posted September 5, 2018 Posted September 5, 2018 (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 September 5, 2018 by dravokivich
Luke 42078 Posted September 5, 2018 Posted September 5, 2018 Hi there, can you please attach the complete emby server log? thanks.
dravokivich 3 Posted September 5, 2018 Author Posted September 5, 2018 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.
Luke 42078 Posted September 6, 2018 Posted September 6, 2018 When did you originally install Emby Server? Is this a recent installation?
dravokivich 3 Posted September 6, 2018 Author Posted September 6, 2018 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.
Luke 42078 Posted September 6, 2018 Posted September 6, 2018 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 3 Posted September 8, 2018 Author Posted September 8, 2018 (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 September 8, 2018 by dravokivich
dravokivich 3 Posted September 9, 2018 Author Posted September 9, 2018 (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: Edited September 9, 2018 by dravokivich
Luke 42078 Posted September 9, 2018 Posted September 9, 2018 Something must be holding a lock on your emby system folder. i would suggest rebooting and trying again. Thanks.
dravokivich 3 Posted September 9, 2018 Author Posted September 9, 2018 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 3 Posted September 9, 2018 Author Posted September 9, 2018 Alright, so log file confirms its the beta I'm using. but doesn't seem to obviously present anything to investigate. embyserver.txt
Luke 42078 Posted September 9, 2018 Posted September 9, 2018 Can you start the server and then do nothing expect put this url in a browser address bar: http://localhost:8096/emby/Items/50769/Images/Primary?maxHeight=297&maxWidth=198&tag=ab6d2f1e5029a1b6cbec46333f45f734&quality=90 Does this crash the server?
dravokivich 3 Posted September 9, 2018 Author Posted September 9, 2018 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
Luke 42078 Posted September 9, 2018 Posted September 9, 2018 was it already crashed before you tried that?
dravokivich 3 Posted September 9, 2018 Author Posted September 9, 2018 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.
dravokivich 3 Posted September 10, 2018 Author Posted September 10, 2018 I get the error that's in post 14.
Luke 42078 Posted September 11, 2018 Posted September 11, 2018 So you can confirm that particular image url crashed the server? or was it already crashed before you had a chance to try?
dravokivich 3 Posted September 14, 2018 Author Posted September 14, 2018 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.
dravokivich 3 Posted September 14, 2018 Author Posted September 14, 2018 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
Luke 42078 Posted September 14, 2018 Posted September 14, 2018 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?
stordoff 1 Posted September 15, 2018 Posted September 15, 2018 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.
Vito_MCE 1 Posted September 16, 2018 Posted September 16, 2018 (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 September 16, 2018 by Vito_MCE
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now