2025-01-07, 04:50 PM
(This post was last modified: 2025-01-07, 05:24 PM by alexauran. Edited 1 time in total.)
First, thanks for your time and help!
Code:
micro@debian:~/.databases$ sudo journalctl -u jellyfin -n 200 --no-pager
Jan 07 10:45:51 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
Jan 07 10:45:51 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Jan 07 10:45:51 debian systemd[1]: jellyfin.service: Consumed 1.818s CPU time.
Jan 07 10:45:51 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Jellyfin version: 10.10.3
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Environment Variables: ["[JELLYFIN_USER, jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_DATA_DIR, /home/micro/.databases/jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Operating system: Debian GNU/Linux 12 (bookworm)
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Architecture: X64
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] 64-Bit Process: True
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] User Interactive: True
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Processor count: 12
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Program data path: /home/micro/.databases/jellyfin
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Log directory path: /var/log/jellyfin
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Config directory path: /etc/jellyfin
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Cache path: /var/cache/jellyfin
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Temp directory path: /tmp/jellyfin
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Web resources path: /usr/share/jellyfin/web
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Application directory: /usr/lib/jellyfin/bin/
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Setting cache path: /var/cache/jellyfin
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Loading assemblies
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Defined LAN exclusions: []
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.9.48"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Bind Addresses ["0.0.0.0"]
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Remote IP filter is Allowlist
Jan 07 10:45:51 debian jellyfin[5486]: [10:45:51] [INF] Filtered subnets: []
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [ERR] Failed executing DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
Jan 07 10:45:52 debian jellyfin[5486]: SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [FTL] Error while starting server
Jan 07 10:45:52 debian jellyfin[5486]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteScalar()
Jan 07 10:45:52 debian jellyfin[5486]: at System.Data.Common.DbCommand.ExecuteScalarAsync(CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: --- End of stack trace from previous location ---
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.ExistsAsync(CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrationsAsync(CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrationsAsync(DatabaseFacade databaseFacade, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrationsAsync(DatabaseFacade databaseFacade, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
Jan 07 10:45:52 debian jellyfin[5486]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [INF] Running query planner optimizations in the database... This might take a while
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [ERR] Failed executing DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
Jan 07 10:45:52 debian jellyfin[5486]: PRAGMA optimize
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [INF] Disposing CoreAppHost
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [INF] Disposing PluginManager
Jan 07 10:45:52 debian jellyfin[5486]: [10:45:52] [FTL] Unhandled Exception
Jan 07 10:45:52 debian jellyfin[5486]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
Jan 07 10:45:52 debian jellyfin[5486]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: --- End of stack trace from previous location ---
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.<Main>(String[] args)
Jan 07 10:45:52 debian jellyfin[5486]: Unhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
Jan 07 10:45:52 debian jellyfin[5486]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: --- End of stack trace from previous location ---
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.<Main>(String[] args)
Jan 07 10:45:52 debian systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
Jan 07 10:45:52 debian systemd[1]: jellyfin.service: Failed with result 'signal'.
Jan 07 10:45:52 debian systemd[1]: jellyfin.service: Consumed 1.782s CPU time.
Jan 07 10:45:53 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
Jan 07 10:45:53 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Jan 07 10:45:53 debian systemd[1]: jellyfin.service: Consumed 1.782s CPU time.
Jan 07 10:45:53 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Jellyfin version: 10.10.3
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Environment Variables: ["[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_DATA_DIR, /home/micro/.databases/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Operating system: Debian GNU/Linux 12 (bookworm)
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Architecture: X64
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] 64-Bit Process: True
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] User Interactive: True
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Processor count: 12
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Program data path: /home/micro/.databases/jellyfin
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Log directory path: /var/log/jellyfin
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Config directory path: /etc/jellyfin
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Cache path: /var/cache/jellyfin
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Temp directory path: /tmp/jellyfin
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Web resources path: /usr/share/jellyfin/web
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Application directory: /usr/lib/jellyfin/bin/
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Setting cache path: /var/cache/jellyfin
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Loading assemblies
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Defined LAN exclusions: []
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.9.48"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Bind Addresses ["0.0.0.0"]
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Remote IP filter is Allowlist
Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Filtered subnets: []
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [ERR] Failed executing DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
Jan 07 10:45:54 debian jellyfin[5508]: SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [FTL] Error while starting server
Jan 07 10:45:54 debian jellyfin[5508]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteScalar()
Jan 07 10:45:54 debian jellyfin[5508]: at System.Data.Common.DbCommand.ExecuteScalarAsync(CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: --- End of stack trace from previous location ---
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.ExistsAsync(CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrationsAsync(CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrationsAsync(DatabaseFacade databaseFacade, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrationsAsync(DatabaseFacade databaseFacade, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
Jan 07 10:45:54 debian jellyfin[5508]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [INF] Running query planner optimizations in the database... This might take a while
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [ERR] Failed executing DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
Jan 07 10:45:54 debian jellyfin[5508]: PRAGMA optimize
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [INF] Disposing CoreAppHost
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [INF] Disposing PluginManager
Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [FTL] Unhandled Exception
Jan 07 10:45:54 debian jellyfin[5508]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
Jan 07 10:45:54 debian jellyfin[5508]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: --- End of stack trace from previous location ---
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.<Main>(String[] args)
Jan 07 10:45:54 debian jellyfin[5508]: Unhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
Jan 07 10:45:54 debian jellyfin[5508]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: --- End of stack trace from previous location ---
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.<Main>(String[] args)
Jan 07 10:45:54 debian systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
Jan 07 10:45:54 debian systemd[1]: jellyfin.service: Failed with result 'signal'.
Jan 07 10:45:54 debian systemd[1]: jellyfin.service: Consumed 1.811s CPU time.
Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Jan 07 10:45:55 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Consumed 1.811s CPU time.
Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Start request repeated too quickly.
Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Failed with result 'signal'.
Jan 07 10:45:55 debian systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
Code:
micro@debian:~/.databases$ sudo systemctl show jellyfin
Type=simple
ExitType=main
Restart=on-failure
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=15s
TimeoutStopUSec=15s
TimeoutAbortUSec=15s
TimeoutStartFailureMode=terminate
TimeoutStopFailureMode=terminate
RuntimeMaxUSec=infinity
RuntimeRandomizedExtraUSec=0
WatchdogUSec=0
WatchdogTimestampMonotonic=0
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
SuccessExitStatus=0 143
MainPID=0
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=signal
ReloadResult=success
CleanResult=success
UID=[not set]
GID=[not set]
NRestarts=5
OOMPolicy=stop
ExecMainStartTimestamp=Tue 2025-01-07 10:45:53 CST
ExecMainStartTimestampMonotonic=37386820588
ExecMainExitTimestamp=Tue 2025-01-07 10:45:54 CST
ExecMainExitTimestampMonotonic=37388603758
ExecMainPID=5508
ExecMainCode=2
ExecMainStatus=6
ExecStart={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS ; ignore_errors=no ; start_time=[Tue 2025-01-07 10:45:53 CST] ; stop_time=[Tue>
ExecStartEx={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS ; flags= ; start_time=[Tue 2025-01-07 10:45:53 CST] ; stop_time=[Tue 2025-01>
Slice=system.slice
ControlGroupId=4412
MemoryCurrent=[not set]
MemoryAvailable=infinity
CPUUsageNSec=1811462000
TasksCurrent=[not set]
IPIngressBytes=[no data]
IPIngressPackets=[no data]
IPEgressBytes=[no data]
IPEgressPackets=[no data]
IOReadBytes=18446744073709551615
IOReadOperations=18446744073709551615
IOWriteBytes=18446744073709551615
IOWriteOperations=18446744073709551615
Delegate=no
CPUAccounting=yes
CPUWeight=[not set]
StartupCPUWeight=[not set]
CPUShares=[not set]
StartupCPUShares=[not set]
CPUQuotaPerSecUSec=infinity
CPUQuotaPeriodUSec=infinity
IOAccounting=no
IOWeight=[not set]
StartupIOWeight=[not set]
BlockIOAccounting=no
BlockIOWeight=[not set]
StartupBlockIOWeight=[not set]
MemoryAccounting=yes
DefaultMemoryLow=0