2024-05-12, 10:24 PM
I got watchtower set up and it updated jellyfin docker image to 10.9.0 .
jellyfin is running on:
after the upgrade I am getting this error
I don't know what to do.. I have tried setting the image version to 10.8.13, but that gave many errors, It seemed that 10.9.0 update have changed a lot of things.
jellyfin is running on:
- docker
- raspberry pi 4 (Raspberry pi os, arm 64 bit)
- JELLYFIN_CACHE_DIR = /var/cache/jellyfin
- JELLYFIN_CONFIG_DIR = /etc/jellyfin
- JELLYFIN_DATA_DIR = /var/lib/jellyfin
- JELLYFIN_FFMPEG = /usr/lib/jellyfin-ffmpeg/ffmpeg
- JELLYFIN_LOG_DIR = /var/log/jellyfin
- JELLYFIN_WEB_DIR = /jellyfin/jellyfin-web
- /portainer/Files/AppData/Config/Jellyfin/cache = /var/cache/jellyfin
- /portainer/Files/AppData/Config/Jellyfin/data = /var/lib/jellyfin
- /portainer/Files/AppData/Config/Jellyfin/log = /var/log/jellyfin
- /portainer/Files/AppData/Config/Jellyfin/config = /etc/jellyfin
- 12f7f294e24e1638850e39836c5fcdd8e10211b828f8559b29ffe44bb785f356 = /config
- f3266b47e63630fe8a8d14d90873601ffb0ad06b9789118164ad9ed876bf6977 = /cache
- /mnt/hoarder = /mnt/hoarder
- /mnt/hulk = /mnt/hulk
after the upgrade I am getting this error
Code:
[21:41:35] [INF] Applying migration 'MigrateRatingLevels'
[21:41:36] [INF] Library database backed up to /var/lib/jellyfin/data/library.db.bak40
[21:41:36] [INF] Recalculating parental rating levels based on rating string.
[21:41:37] [ERR] Could not apply migration 'MigrateRatingLevels'
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText)
at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
[21:41:37] [FTL] Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText)
at Jellyfin.Server.Migrations.Routines.MigrateRatingLevels.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[21:41:37] [INF] Running query planner optimizations in the database... This might take a while
[21:41:37] [INF] Disposing CoreAppHost
[21:41:37] [INF] Disposing MusicBrainzArtistProvider
[21:41:37] [INF] Disposing MusicBrainzAlbumProvider
[21:41:37] [INF] Disposing PluginManager
I don't know what to do.. I have tried setting the image version to 10.8.13, but that gave many errors, It seemed that 10.9.0 update have changed a lot of things.