Jump to content

Emby Server stuck in boot loop after 4.8 update


jmbond04
Go to solution Solved by Luke,

Recommended Posts

jmbond04

Emby is working fine with the latest 4.7 release but when I go to update it to 4.8 it starts to update the library.db and then fails saying the database is maformed. What can I do to get updated to 4.8 without just deleting the library.db and losing all data (especially watched data)?

For some context this is an ubuntu 22.04 lxc container on a Proxmox server.

Error Main: Error in appHost.Init
	*** Error Report ***
	Version: 4.8.0.80
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 5.19.17-2-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_DYNAMIC PV
	Framework: .NET 6.0.25
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed
	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.Initialize(SqliteUserDataRepository userDataRepo, SyncRepository syncRepo)
	   at Emby.Server.Implementations.ApplicationHost.InitDatabases()
	   at Emby.Server.Implementations.ApplicationHost.Init()
	   at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	

 

emby-4.8-server-startup.log

Link to comment
Share on other sites

  • Solution

HI, please follow this to help get you squared away:

Corrupt Database

Please let us know if this helps. Thanks.

  • Thanks 1
Link to comment
Share on other sites

jmbond04
22 hours ago, Luke said:

HI, please follow this to help get you squared away:

Corrupt Database

Please let us know if this helps. Thanks.

Thank you! That worked and I am now updated to 4.8

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