Kavita icon indicating copy to clipboard operation
Kavita copied to clipboard

seg fault when running Kavita in arch linux

Open cbc02009 opened this issue 2 years ago • 5 comments

If this is a feature request, request here instead. Feature requests will be deleted from Github.

Please put as much information as possible to help me understand your issue. OS, browser, version are very important!

Describe the bug Kavita exits with segmentation fault when run in arch linux LXD container. Kavita loads correctly in Ubuntu LXD container so it must be related to arch

To Reproduce Steps to reproduce the behavior:

  1. Install arch on x64 system
  2. wget most recent release and extract
  3. chmod +x Kavita/Kavita
  4. run Kavita

Expected behavior expect not to get seg fault.

Screenshots image

Desktop (please complete the following information):

  • OS: arch linux 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux
  • Browser N/A
  • Version 0.5.2.3

Additional context happy to provide any additional info, but not sure what would be helpful.

cbc02009 avatar Apr 08 '22 12:04 cbc02009

Are there any logs?

majora2007 avatar Apr 08 '22 12:04 majora2007

There are no logs I can see in the ~/Kavita folder or /var/log

I ran the program one more time and got an output with more info:

❯ ./Kavita
Generating JWT TokenKey for encrypting user sessions...
info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
      Entity Framework Core 6.0.2 initialized 'DataContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: DetailedErrorsEnabled
info: API.Program[0]
      Performing backup as migrations are needed. Backup will be kavita.db in temp folder
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = 11
      LIMIT 2
fail: Microsoft.EntityFrameworkCore.Query[10100]
      An exception occurred while iterating over the results of a query for context type 'API.Data.DataContext'.
      Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ServerSetting'.
         at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
         at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
         at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
         at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
         at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
         at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
         at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
      Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ServerSetting'.
         at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
         at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
         at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
         at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
         at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
         at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
         at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
         at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
info: API.Program[0]
      Database backed up to /home/chris/Kavita/config/temp/migration/vUnknown
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20201213205325_AddUser'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20201215195007_AddedLibrary'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20201218173135_ManyToManyLibraries'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20201221141047_IdentityAdded'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20201224155621_MiscCleanup'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20201229190216_SeriesAndVolumeEntities'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210101180935_AddedCoverImageToSeries'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210102165536_EntityTimestamps'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210102173326_VolumeNumberRefactor'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210103201043_RemoveUserIsAdmin'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210103230812_SeriesCoverImage'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210104011624_VolumeCoverImage'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210109205034_CacheMetadata'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210111231840_VolumePages'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210114214506_UserProgress'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210117180406_ReadStatusModifications'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210117181421_SeriesPages'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210119213837_AppUserRatingAndReviews'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210121180051_AddedServerSettings'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210121215532_ServerSettingsAdjustment'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210122165809_ServerSettingsChange'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210122172455_ServerSettingsPrimaryKey'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210128143348_SeriesVolumeChapterChange'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210128201832_MangaFileChapterRelationship'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210203164258_ServerSettingsKey'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210205220227_UserPreferences'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210207231256_SeriesNormalizedName'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210225150830_AddLocalizedName'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210315134028_SearchIndexAndProgressDates'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210322212724_MangaFileToPages'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210323213507_LastModifiedOnMangaFiles'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210330134414_IsSpecialOnChapters'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210419222000_BookReaderPreferences'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210419234652_BookReaderPreferencesFontSize'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210423132900_CustomChapterTitle'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210504184715_TapToPaginatePref'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210509014029_SiteDarkModePreference'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210519215934_CollectionTag'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210528150353_CollectionCoverImage'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210530201541_CollectionSummary'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210603133957_BookReadingDirectionPref'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210603212429_BookScrollIdProgress'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210622164318_NewUserPreferences'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210722223304_AddedSeriesFormat'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210809210326_BookmarkPages'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210813010210_CoverImageLockFieldsPart1'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210814215831_CoverImageLockedFieldsPart2'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210817152226_ProgressConcurencyCheck'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210826203258_userApiKey'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210901150310_ReadingLists'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210901200442_ReadingListsAdditions'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210902110705_ReadingListsExtraRealationships'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210906140845_ReadingListsChanges'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20210916142418_EntityImageRefactor'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211001113608_LastScannedLibrary'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211127200244_MetadataFoundation'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211129231007_RemoveChapterMetadata'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211130134642_GenreProvider'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211201230003_GenreTitle'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211205185207_MetadataAgeRating'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211206193225_AgeRatingAndReleaseDate'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211217013734_BookmarkRefactor'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211217180457_filteringChanges'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20211227180752_FullscreenPref'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220107232822_ChapterMetadataOptimization'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220108200822_CountMetadata'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220108202027_PublicationStatus'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220215163317_SiteTheme'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220303205301_SeriesLockedFields'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220306155456_MangaReaderBackgroundAndLayoutMode'.
info: Microsoft.EntityFrameworkCore.Migrations[20402]
      Applying migration '20220307153053_ScreenHints'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@p0='?' (Size = 36), @p1='?' (Size = 5), @p2='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "AspNetRoles" ("ConcurrencyStamp", "Name", "NormalizedName")
      VALUES (@p0, @p1, @p2);
      SELECT "Id"
      FROM "AspNetRoles"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (Size = 36), @p1='?' (Size = 4), @p2='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "AspNetRoles" ("ConcurrencyStamp", "Name", "NormalizedName")
      VALUES (@p0, @p1, @p2);
      SELECT "Id"
      FROM "AspNetRoles"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 8)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 8)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 8)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (Size = 36), @p1='?' (Size = 8), @p2='?' (Size = 8)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "AspNetRoles" ("ConcurrencyStamp", "Name", "NormalizedName")
      VALUES (@p0, @p1, @p2);
      SELECT "Id"
      FROM "AspNetRoles"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 15)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 15)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__normalizedName_0='?' (Size = 15)], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."ConcurrencyStamp", "a"."Name", "a"."NormalizedName"
      FROM "AspNetRoles" AS "a"
      WHERE "a"."NormalizedName" = @__normalizedName_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (Size = 36), @p1='?' (Size = 15), @p2='?' (Size = 15)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "AspNetRoles" ("ConcurrencyStamp", "Name", "NormalizedName")
      VALUES (@p0, @p1, @p2);
      SELECT "Id"
      FROM "AspNetRoles"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*) FROM "sqlite_master" WHERE "type" = 'table' AND "rootpage" IS NOT NULL;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__defaultSetting_Key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = @__defaultSetting_Key_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 31)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 11)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 33)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 1)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 8)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 7)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 35)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (DbType = UInt32), @p2='?' (Size = 30)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "ServerSetting" ("Key", "RowVersion", "Value")
      VALUES (@p0, @p1, @p2);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = 4
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = 3
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = 1
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Key", "s"."RowVersion", "s"."Value"
      FROM "ServerSetting" AS "s"
      WHERE "s"."Key" = 5
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*) FROM "sqlite_master" WHERE "type" = 'table' AND "rootpage" IS NOT NULL;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__theme_Name_0='?' (Size = 4)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Id", "s"."Created", "s"."FileName", "s"."IsDefault", "s"."LastModified", "s"."Name", "s"."NormalizedName", "s"."Provider"
      FROM "SiteTheme" AS "s"
      WHERE "s"."Name" = @__theme_Name_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__theme_Name_0='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Id", "s"."Created", "s"."FileName", "s"."IsDefault", "s"."LastModified", "s"."Name", "s"."NormalizedName", "s"."Provider"
      FROM "SiteTheme" AS "s"
      WHERE "s"."Name" = @__theme_Name_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__theme_Name_0='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SELECT "s"."Id", "s"."Created", "s"."FileName", "s"."IsDefault", "s"."LastModified", "s"."Name", "s"."NormalizedName", "s"."Provider"
      FROM "SiteTheme" AS "s"
      WHERE "s"."Name" = @__theme_Name_0
      LIMIT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (Size = 9), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime), @p4='?' (Size = 4), @p5='?' (Size = 4), @p6='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "SiteTheme" ("Created", "FileName", "IsDefault", "LastModified", "Name", "NormalizedName", "Provider")
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
      SELECT "Id"
      FROM "SiteTheme"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (Size = 10), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime), @p4='?' (Size = 5), @p5='?' (Size = 5), @p6='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "SiteTheme" ("Created", "FileName", "IsDefault", "LastModified", "Name", "NormalizedName", "Provider")
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
      SELECT "Id"
      FROM "SiteTheme"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (Size = 10), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime), @p4='?' (Size = 5), @p5='?' (Size = 4), @p6='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "SiteTheme" ("Created", "FileName", "IsDefault", "LastModified", "Name", "NormalizedName", "Provider")
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6);
      SELECT "Id"
      FROM "SiteTheme"
      WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*) FROM "sqlite_master" WHERE "type" = 'table' AND "rootpage" IS NOT NULL;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT "a"."Id", "a"."AccessFailedCount", "a"."ApiKey", "a"."ConcurrencyStamp", "a"."Created", "a"."Email", "a"."EmailConfirmed", "a"."LastActive", "a"."LockoutEnabled", "a"."LockoutEnd", "a"."NormalizedEmail", "a"."NormalizedUserName", "a"."PasswordHash", "a"."PhoneNumber", "a"."PhoneNumberConfirmed", "a"."RowVersion", "a"."SecurityStamp", "a"."TwoFactorEnabled", "a"."UserName"
      FROM "AspNetUsers" AS "a"
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[62]
      User profile is available. Using '/home/chris/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
info: Hangfire.BackgroundJobServer[0]
      Starting Hangfire Server using job storage: 'Hangfire.MemoryStorage.MemoryStorage'
info: Hangfire.BackgroundJobServer[0]
      Using the following options for Hangfire Server:
          Worker count: 20
          Listening queues: 'default'
          Shutdown timeout: 00:00:15
          Schedule polling interval: 00:00:15
[1]    1357 segmentation fault (core dumped)  ./Kavita

cbc02009 avatar Apr 08 '22 12:04 cbc02009

This second run looks like it started up fine, this could be an issue with the underlying OS or with a dependency of mine. Can you share the specs of the machine its running on as well?

majora2007 avatar Apr 08 '22 13:04 majora2007

sure, it's a Ryzen 9 3950 running on an x570 mobo with 64GB of RAM. The host os is Archlinux as well, running linux kernel 5.17. Since it's a container, the Ubuntu container that worked is also using the 5.17 kernel.

Arch is pretty bare-bones, so it wouldn't surprise me if it was a missing dependency that just needs to be isntalled.

cbc02009 avatar Apr 08 '22 13:04 cbc02009

Also running Arch, but its working here. Didn't install anything before hand. If it turns out to be a dependency issue, let me know. I created an AUR package for this and will update it

CountMurphy avatar May 26 '22 16:05 CountMurphy