jmbond04 1 Posted February 6, 2024 Posted February 6, 2024 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
Solution Luke 38832 Posted February 6, 2024 Solution Posted February 6, 2024 HI, please follow this to help get you squared away: Corrupt Database Please let us know if this helps. Thanks. 1
jmbond04 1 Posted February 7, 2024 Author Posted February 7, 2024 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 1
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