Jump to content

Random Shutdowns running as a windows 11 service


HawkXP71

Recommended Posts

HawkXP71

I moved my emby server onto a windows 11 server.  The performance is significantly better than when it was running on my synology box.

However, randomly, maybe once every 2 or 3 weeks, it just shuts down.

THis is the first time, the previous log, actually showed the shutdown.  I dont see any reason for the shut down, but i am likely missing something.

Any help would be appreciated.

Tnx

embyserver-1.txt embyserver-63847851954.txt hardware_detection-63847947045.txt hardware_detection-63847947053.txt embyserver (3).txt

Link to comment
Share on other sites

Happy2Play

Not seeing why it shutdown (embyserver-63847851954.txt) but the other two logs suggest you have the app and service running and the database is locked.

2024-04-05 20:50:09.473 Info Main: Emby
	Command line: C:\Emby-Server\system\EmbyServer.dll -service

and

2024-04-05 20:50:38.072 Info Main: Emby
	Command line: C:\Emby-Server\system\EmbyServer.dll

causing logs of errors

	*** Error Report ***
	Version: 4.8.3.0
	Command line: C:\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22631
	Framework: .NET 6.0.27
	OS/Process: x64/x64
	Runtime: C:/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 20
	Data path: C:\Emby-Server\programdata
	Application path: C:\Emby-Server\system
	SQLitePCL.pretty.SQLiteException: Busy: database is locked
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at SQLitePCL.pretty.DatabaseConnection.Execute(IDatabaseConnection This, String sql)
	   at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteChapters(Int64 itemId, MarkerType[] markerTypes)
	   at Emby.Providers.Markers.AudioFingerprintManager.UpdateSequencesForSeason(Season season, SeasonFingerprintInfo seasonFingerprintInfo, Episode episode, LibraryOptions libraryOptions, IDirectoryService directoryService)
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)

Need to ensure app and service are shutdown and relauch service to see if locked database resolves itself.  If not you will need to do the steps in the KB for Locked databases.

 

Also anything in Windows event viewer?

  • Thanks 1
Link to comment
Share on other sites

HawkXP71

Looks like, not sure why it how, but the "run on windows startup" got re checked. 

 

So two servers got started... Not sure how. 

 

The live tv refresh task was failing and now it passes. 

 

I checked the event viewer. 

0knkk0n knnnknk0k0

In the system log, it did report the Emby server serice terminated unexpectedly. 

What I did find, is on the restart it failed because it couldn't contact the ad for the user login. 

 

So I put a dependency on dhcp.  Hopefully that will fix the restart. 

  • Thanks 1
Link to comment
Share on other sites

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