Jump to content

Emby Latest Stable Build - Repeated Crashing


Recommended Posts

Posted

 

Ever since updating to 4.6.1.0 my server has had issues.  It keeps attempting to scan libraries and then it causes the server to be no longer accessable via the web. Forcing me to restart server.

Also server options is also now missing from the left had side menu, which I think is related.

I had an issue with 4.5 to 4.6.0 not accepting my credentials even through they were valid, this also may be related.

Do I have to do a repair install/ is this an option with emby.

Posted

Hi.  Please post a server log and you may also want to remove any 3rd party plug-ins you may have installed.

 

Posted

Dont have any 3 party plugins.

Cant provide server logs.

Posted

Can I do a repair install/ is this an option with emby.

Or clean install and keep everything else (libraries/ accounts/ rec schedule).

Thanks

Posted
3 minutes ago, CaptJ said:

Cant provide server logs.

Hi.  Why not?  This is the only way we will probably be able to help you diagnose what is going on.

Posted

Can provide error log if you can tell me where to access it.

 

Posted
Just now, CaptJ said:

Can provide error log if you can tell me where to access it.

 

Instructions are in the article I linked above.  Thanks.

Carlo
Posted

Hi, Is your left hand menu gone?
What OS do you have Emby installed on?

Posted

Dont want to disclose my accounts or library information.

 

Posted
1 minute ago, cayars said:

Hi, Is your left hand menu gone?
What OS do you have Emby installed on?

Just the server menu options/ keep disappearing - unable to access.

Windows 10 - Standalone Version Of Emby

 

Posted

Is possible to revert to previous version.  As it was working well before.

Posted

Also it occasionally tries to open multiple instances

Posted (edited)

Would replacing system with system.old contents work?

 

Edited by CaptJ
Carlo
Posted

Try shutting down Emby and confirm via Task Manager no Emby Servers are running.

Pull down the appropriate download (beta or release) from https://emby.media/download.html and install over top of what you currently have.

See if that fixes your menu problem.

Posted
51 minutes ago, CaptJ said:

Dont want to disclose my accounts or library information.

 

You can send it to me via private message.

If had to guess this is probably caused by a plugin that needs to be updated for 4.6. it's better to just remove that then deal with potential problems of rolling back.

Carlo
Posted

@CaptJ If needed send me a PM and we can setup a remote support session to try and get you some help.

Posted

Tried ta

15 minutes ago, cayars said:

Try shutting down Emby and confirm via Task Manager no Emby Servers are running.

Tried this multiple times, issue occurs everytime I restart emby.  I restart then I click server on left the menu taken to dashboard

Keeps doing running tasks -  scan media library (quite a few times) then is unreachable.

 

Posted

I dont use any 3rd party plugins. I'll try removing all the contents of plugin folder. Thanks

 

Happy2Play
Posted

Without a server log all anyone can do is guess.  Errors in the log will determine the course of action.  Can you list any error or PM the log.

Posted

Clearing plugins folder didn't resolve issue.

Posted

I get

Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.StatementImpl.MoveNext()
at Emby.Server.Implementations.Data.SqliteItemRepository.GetUserDataKeyId(String userDataKey, IStatement insertUserDataKeyStatement, IStatement getUserDataKeyStatement)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List`1 tuples)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, Action`1 afterSave, CancellationToken cancellationToken)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(List`1 items, BaseItem parent, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
at Emby.Server.Implementations.Library.LibraryManager.ValidateTopLibraryFolders(Boolean refreshMetadatas, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

Posted

I assume this is because the library its trying to scan is empty/ not available.

 

Posted

Is it likely the database is corrupted?

Happy2Play
Posted
2 minutes ago, CaptJ said:

I get

Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.StatementImpl.MoveNext()
at Emby.Server.Implementations.Data.SqliteItemRepository.GetUserDataKeyId(String userDataKey, IStatement insertUserDataKeyStatement, IStatement getUserDataKeyStatement)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTranscation(IDatabaseConnection db, List`1 tuples)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, Action`1 afterSave, CancellationToken cancellationToken)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(List`1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(List`1 items, BaseItem parent, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
at Emby.Server.Implementations.Library.LibraryManager.ValidateTopLibraryFolders(Boolean refreshMetadatas, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

We nee the error from the log for more information.  Is it corrupt database or a locked database?  But the KB covers both.

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