YunoHost-Apps / komga_ynh

Komga package for YunoHost
https://komga.org
MIT License
4 stars 2 forks source link

loose user when upgrade 0.164.0~ynh1 to 1.10.3~ynh1 #148

Open GannonTdW opened 5 months ago

GannonTdW commented 5 months ago

Hello,

I want upgrade Komga 0.164.0~ynh1 to 1.10.3~ynh1, when I try to connect after I have a message " Invalid authentication: Request failed with status code 401 ".

And when I try to execute /usr/bin/java -jar -Xmx1g /var/www/komga/komga.jar --list-users ; I have No users exist yet

Logs

Full log:

Version: 1.10.3

2024-04-26T21:32:04.163+02:00  INFO 77123 --- [           main] org.gotson.komga.ApplicationKt           : Starting ApplicationKt v1.10.3 using Java 17.0.11 with PID 77123 (/var/www/komga/komga.jar started by root in /root)
2024-04-26T21:32:04.172+02:00  INFO 77123 --- [           main] org.gotson.komga.ApplicationKt           : No active profile set, falling back to 1 default profile: "default"
2024-04-26T21:32:05.967+02:00  WARN 77123 --- [           main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance @Configuration bean definition 'rar5Configuration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with
2024-04-26T21:32:06.546+02:00  INFO 77123 --- [           main] com.zaxxer.hikari.HikariDataSource       : SqliteUdfPool - Starting...
2024-04-26T21:32:06.686+02:00  INFO 77123 --- [           main] com.zaxxer.hikari.pool.HikariPool        : SqliteUdfPool - Added connection org.sqlite.jdbc4.JDBC4Connection@6705b763
2024-04-26T21:32:06.689+02:00  INFO 77123 --- [           main] com.zaxxer.hikari.HikariDataSource       : SqliteUdfPool - Start completed.
2024-04-26T21:32:06.758+02:00  INFO 77123 --- [           main] o.f.c.internal.license.VersionPrinter    : Flyway Community Edition 9.22.3 by Redgate
2024-04-26T21:32:06.759+02:00  INFO 77123 --- [           main] o.f.c.internal.license.VersionPrinter    : See release notes here: https://rd.gt/416ObMi
2024-04-26T21:32:06.760+02:00  INFO 77123 --- [           main] o.f.c.internal.license.VersionPrinter    :
2024-04-26T21:32:06.779+02:00  INFO 77123 --- [           main] org.flywaydb.core.FlywayExecutor         : Database: jdbc:sqlite:/root/.komga/database.sqlite (SQLite 3.45)
2024-04-26T21:32:06.812+02:00  INFO 77123 --- [           main] o.f.c.i.s.JdbcTableSchemaHistory         : Schema history table "main"."flyway_schema_history" does not exist yet
2024-04-26T21:32:06.815+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbValidate     : Successfully validated 78 migrations (execution time 00:00.023s)
2024-04-26T21:32:06.818+02:00  INFO 77123 --- [           main] o.f.c.i.s.JdbcTableSchemaHistory         : Creating Schema History table "main"."flyway_schema_history" ...
2024-04-26T21:32:06.847+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Current version of schema "main": << Empty Schema >>
2024-04-26T21:32:06.861+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200706141854 - initial migration"
2024-04-26T21:32:06.887+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200730135746 - image dimension"
2024-04-26T21:32:06.906+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200810154729 - thumbnails part 1"
2024-04-26T21:32:06.927+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200810154730 - thumbnails part 2"
2024-04-26T21:32:06.951+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200810165912 - thumbnails part 3" [non-transactional]
2024-04-26T21:32:06.996+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200812161631 - thumbnails series"
2024-04-26T21:32:07.005+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200814142406 - library scan options"
2024-04-26T21:32:07.020+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200814145800 - library import local artwork"
2024-04-26T21:32:07.038+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200817115957 - readlists"
2024-04-26T21:32:07.057+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200820141405 - metadata fields part 1"
2024-04-26T21:32:07.069+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200820150923 - metadata fields part 2"
2024-04-26T21:32:07.081+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200820154318 - metadata fields part 3" [non-transactional]
2024-04-26T21:32:07.119+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200827103627 - index"
2024-04-26T21:32:07.135+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20200906115600 - lower trim tags"
2024-04-26T21:32:07.144+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210111113543 - book metadata aggregation"
2024-04-26T21:32:07.156+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210308163522 - book isbn"
2024-04-26T21:32:07.168+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210504171645 - library convert to cbz"
2024-04-26T21:32:07.180+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210505150806 - library repair extensions"
2024-04-26T21:32:07.188+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210517145427 - fix rar"
2024-04-26T21:32:07.199+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210525172240 - index"
2024-04-26T21:32:07.210+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210526113555 - series book count"
2024-04-26T21:32:07.222+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210527100741 - index book created"
2024-04-26T21:32:07.235+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210609165742 - sidecars"
2024-04-26T21:32:07.255+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210617114814 - sidecar cleanup"
2024-04-26T21:32:07.267+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210624165023 - missing series metadata"
2024-04-26T21:32:07.279+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210625155626 - authentication activity"
2024-04-26T21:32:07.289+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210706162229 - trash bin"
2024-04-26T21:32:07.300+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210716153910 - library import mylar metadata"
2024-04-26T21:32:07.316+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210726140759 - cover preference"
2024-04-26T21:32:07.330+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210727102041 - full text search"
2024-04-26T21:32:07.344+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210729173532 - series metadata total book count"
2024-04-26T21:32:07.354+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210730111835 - book metadata aggregation tag"
2024-04-26T21:32:07.366+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210730151147 - readlist summary"
2024-04-26T21:32:07.379+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210805174355 - remove full text search"
2024-04-26T21:32:07.393+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210816113108 - library unavailable"
2024-04-26T21:32:07.405+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210831113524 - temp table urls"
2024-04-26T21:32:07.430+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210902100930 - series thumbnail blob"
2024-04-26T21:32:07.449+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210906163333 - series metadata lowercase language"
2024-04-26T21:32:07.475+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210907115532 - spring session"
2024-04-26T21:32:07.493+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210914111439 - read progress read date"
2024-04-26T21:32:07.509+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20210926222612 - authentication activity source"
2024-04-26T21:32:07.526+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20211006141333 - remove spring session"
2024-04-26T21:32:07.540+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20211206100610 - temp table ids"
2024-04-26T21:32:07.552+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20211206124920 - collection and readlist thumbnails"
2024-04-26T21:32:07.569+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20211228152113 - book metadata link"
2024-04-26T21:32:07.579+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220101120232 - page hash"
2024-04-26T21:32:07.593+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220105143154 - library hashing options"
2024-04-26T21:32:07.607+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220106143755 - page file size"
2024-04-26T21:32:07.619+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220128152310 - page hash"
2024-04-26T21:32:07.653+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220208193203 - fix books with missing pages"
2024-04-26T21:32:07.666+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220218111455 - historical events"
2024-04-26T21:32:07.687+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220224112015 - series sharing labels"
2024-04-26T21:32:07.698+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220225164240 - user restrictions"
2024-04-26T21:32:07.717+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20220715213721 - perf indices"
2024-04-26T21:32:07.746+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230112151202 - library comicinfo append volume"
2024-04-26T21:32:07.764+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230113140806 - series metadata link"
2024-04-26T21:32:07.779+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230116112647 - series alternate title"
2024-04-26T21:32:07.796+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230221170726 - readlist ordered"
2024-04-26T21:32:07.816+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230310121946 - series metadata index"
2024-04-26T21:32:07.834+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230626150454 - xxhash128"
2024-04-26T21:32:07.849+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230626151717 - missing page size"
2024-04-26T21:32:07.868+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230626170856 - page hash remove columns"
2024-04-26T21:32:07.892+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230629114356 - remove library scandeep column"
2024-04-26T21:32:07.908+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230711173700 - read announcements"
2024-04-26T21:32:07.926+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230724114349 - oneshots"
2024-04-26T21:32:07.939+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230801104436 - fix incorrect language codes"
2024-04-26T21:32:07.956+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230918114751 - library settings"
2024-04-26T21:32:07.974+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230921112923 - library directory exclusions"
2024-04-26T21:32:07.988+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20230922143307 - server settings"
2024-04-26T21:32:08.004+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231005165322 - thumbnails additional info"
2024-04-26T21:32:08.028+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231026164836 - thumbnail book indices"
2024-04-26T21:32:08.072+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231115163730 - analyze pdf"
2024-04-26T21:32:08.096+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231116162048 - epub"
2024-04-26T21:32:08.113+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231201115954 - media extension blob"
2024-04-26T21:32:08.129+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231206152158 - progression"
2024-04-26T21:32:08.147+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231213170042 - cleanup empty thumbnails"
2024-04-26T21:32:08.157+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231214152305 - epub divina compatibility"
2024-04-26T21:32:08.173+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231214163213 - reanalyze epub"
2024-04-26T21:32:08.188+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Successfully applied 78 migrations to schema "main", now at version v20231214163213 (execution time 00:00.113s)
2024-04-26T21:32:08.989+02:00  INFO 77123 --- [           main] o.j.i.D.logVersionSupport                : Version                  : Database version is supported by dialect SQLITE: 3.45.0
2024-04-26T21:32:09.168+02:00  INFO 77123 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 25600 (http)
2024-04-26T21:32:09.177+02:00  INFO 77123 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-04-26T21:32:09.177+02:00  INFO 77123 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.18]
2024-04-26T21:32:09.207+02:00  INFO 77123 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-04-26T21:32:09.208+02:00  INFO 77123 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4935 ms
2024-04-26T21:32:09.552+02:00  INFO 77123 --- [           main] com.zaxxer.hikari.HikariDataSource       : SqliteTaskPool - Starting...
2024-04-26T21:32:09.552+02:00  INFO 77123 --- [           main] com.zaxxer.hikari.pool.HikariPool        : SqliteTaskPool - Added connection org.sqlite.jdbc4.JDBC4Connection@60be9fdf
2024-04-26T21:32:09.552+02:00  INFO 77123 --- [           main] com.zaxxer.hikari.HikariDataSource       : SqliteTaskPool - Start completed.
2024-04-26T21:32:09.557+02:00  INFO 77123 --- [           main] org.flywaydb.core.FlywayExecutor         : Database: jdbc:sqlite:/root/.komga/tasks.sqlite (SQLite 3.45)
2024-04-26T21:32:09.558+02:00  INFO 77123 --- [           main] o.f.c.i.s.JdbcTableSchemaHistory         : Schema history table "main"."flyway_schema_history" does not exist yet
2024-04-26T21:32:09.558+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbValidate     : Successfully validated 1 migration (execution time 00:00.000s)
2024-04-26T21:32:09.558+02:00  INFO 77123 --- [           main] o.f.c.i.s.JdbcTableSchemaHistory         : Creating Schema History table "main"."flyway_schema_history" ...
2024-04-26T21:32:09.579+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Current version of schema "main": << Empty Schema >>
2024-04-26T21:32:09.580+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "main" to version "20231013114850 - tasks"
2024-04-26T21:32:09.593+02:00  INFO 77123 --- [           main] o.f.core.internal.command.DbMigrate      : Successfully applied 1 migration to schema "main", now at version v20231013114850 (execution time 00:00.000s)
2024-04-26T21:32:09.978+02:00  INFO 77123 --- [           main] c.g.g.n.j.i.plugins.JxlImageReaderSpi    : This plugin only supports Java 21, plugin will be disabled
2024-04-26T21:32:09.979+02:00  INFO 77123 --- [           main] c.g.g.n.h.i.plugins.HeifImageReaderSpi   : This plugin only supports Java 21, plugin will be disabled
2024-04-26T21:32:09.980+02:00  INFO 77123 --- [           main] c.g.g.n.w.i.plugins.WebpImageReaderSpi   : This plugin only supports Java 21, plugin will be disabled
2024-04-26T21:32:10.006+02:00  INFO 77123 --- [           main] o.g.k.i.image.ImageConverter             : Supported read formats: [JPG, JPEG 2000, tiff, bmp, PCX, bigtiff, wbp, gif, WBMP, PNG, RAW, JPEG, PNM, BigTIFF, tif, TIFF, wbmp, jpeg, jbig2, jpeg-lossless, jpg, JPEG2000, BMP, pcx, WBP, GIF, png, raw, BIGTIFF, webp, JPEG-LOSSLESS, JBIG2, pnm, TIF, WEBP, jpeg2000, jpeg 2000]
2024-04-26T21:32:10.007+02:00  INFO 77123 --- [           main] o.g.k.i.image.ImageConverter             : Supported read mediaTypes: [image/vnd.wap.wbmp, image/jpeg, image/x-portable-graymap, image/bmp, image/x-windows-pcx, image/gif, image/x-pc-paintbrush, image/x-raw, image/webp, image/x-pcx, image/x-portable-bitmap, image/png, image/x-jb2, image/pcx, image/x-windows-bmp, image/x-webp, image/jpeg2000, image/x-bmp, image/jp2, image/x-png, image/x-portable-pixmap, image/tiff, image/x-tiff, image/x-jbig2, image/x-portable-anymap]
2024-04-26T21:32:10.007+02:00  INFO 77123 --- [           main] o.g.k.i.image.ImageConverter             : Supported write formats: [JPG, JPEG 2000, tiff, bmp, PCX, bigtiff, gif, WBMP, PNG, RAW, JPEG, PNM, BigTIFF, tif, TIFF, jpeg, wbmp, jpg, JPEG2000, BMP, pcx, GIF, png, raw, BIGTIFF, pnm, TIF, jpeg2000, jpeg 2000]
2024-04-26T21:32:10.007+02:00  INFO 77123 --- [           main] o.g.k.i.image.ImageConverter             : Supported write mediaTypes: [image/vnd.wap.wbmp, image/png, image/jpeg, image/x-portable-graymap, image/bmp, image/pcx, image/x-windows-bmp, image/gif, image/x-windows-pcx, image/x-pc-paintbrush, image/jpeg2000, image/x-raw, image/x-bmp, image/x-pcx, image/jp2, image/x-png, image/x-portable-bitmap, image/x-portable-pixmap, image/tiff, image/x-tiff, image/x-portable-anymap]
2024-04-26T21:32:10.598+02:00  INFO 77123 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [public/index.html]
2024-04-26T21:32:10.859+02:00  INFO 77123 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 18 endpoint(s) beneath base path '/actuator'
2024-04-26T21:32:10.927+02:00  INFO 77123 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Or [Mvc [pattern='/api/**'], Mvc [pattern='/opds/**'], Mvc [pattern='/sse/**'], Mvc [pattern='/oauth2/authorization/**'], Mvc [pattern='/login/oauth2/code/**'], EndpointRequestMatcher includes=[*], excludes=[], includeLinks=true] with [org.springframework.security.web.session.DisableEncodeUrlFilter@67744663, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4d37a4d7, org.springframework.security.web.context.SecurityContextHolderFilter@67599bae, org.springframework.security.web.header.HeaderWriterFilter@43c73b5c, org.springframework.web.filter.CorsFilter@3bca3dee, org.springframework.security.web.authentication.logout.LogoutFilter@3f976f43, org.springframework.security.web.session.ConcurrentSessionFilter@118932fe, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@d4594a8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7887e1f3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@199d1fb7, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@4873d4cb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@32fcccd4, org.springframework.security.web.session.SessionManagementFilter@31eb5ed6, org.springframework.security.web.access.ExceptionTranslationFilter@f758e05, org.springframework.security.web.access.intercept.AuthorizationFilter@69959ea5]
2024-04-26T21:32:11.339+02:00  INFO 77123 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 25600 (http) with context path ''
2024-04-26T21:32:11.348+02:00  INFO 77123 --- [           main] org.gotson.komga.ApplicationKt           : Started ApplicationKt in 7.748 seconds (process running for 8.209)
2024-04-26T21:32:11.373+02:00  INFO 77123 --- [   scheduling-1] .AuthenticationActivityCleanupController : Remove authentication activity older than 2024-03-26T19:32:11.372749227 (UTC)
2024-04-26T21:32:11.387+02:00  INFO 77123 --- [           main] o.g.k.i.apprunner.ListUsersRunner        : No users exist yet
2024-04-26T21:32:11.391+02:00  INFO 77123 --- [         task-6] g.k.i.s.ThumbnailMetadataFixerController : Find and fix thumbnails without metadata
2024-04-26T21:32:11.392+02:00  INFO 77123 --- [         task-6] o.g.komga.application.tasks.TaskEmitter  : Sending task: FixThumbnailsWithoutMetadata(priority='0')
2024-04-26T21:32:11.392+02:00  INFO 77123 --- [         task-3] o.g.k.i.scheduler.SearchIndexController  : Lucene index not found, trigger rebuild
2024-04-26T21:32:11.393+02:00  INFO 77123 --- [         task-3] o.g.komga.application.tasks.TaskEmitter  : Sending task: RebuildIndex(priority='8',entities='null')
2024-04-26T21:32:11.689+02:00  INFO 77123 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: RebuildIndex(priority='8',entities='null')
2024-04-26T21:32:11.691+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Rebuild index for: [book, series, collection, readlist]
2024-04-26T21:32:11.692+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Rebuilding index for Book
2024-04-26T21:32:11.730+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Number of entities: 0
2024-04-26T21:32:11.737+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Wrote Book index in 6.914311ms
2024-04-26T21:32:11.738+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Rebuilding index for Series
2024-04-26T21:32:11.758+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Number of entities: 0
2024-04-26T21:32:11.758+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Wrote Series index in 70.715us
2024-04-26T21:32:11.758+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Rebuilding index for Collection
2024-04-26T21:32:11.761+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Number of entities: 0
2024-04-26T21:32:11.761+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Wrote Collection index in 38.964us
2024-04-26T21:32:11.761+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Rebuilding index for ReadList
2024-04-26T21:32:11.763+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Number of entities: 0
2024-04-26T21:32:11.764+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.SearchIndexLifecycle      : Wrote ReadList index in 62.478us
2024-04-26T21:32:11.794+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.i.search.LuceneHelper              : Lucene index version: 1
2024-04-26T21:32:11.795+02:00  INFO 77123 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task RebuildIndex(priority='8',entities='null') executed in 103.908306ms
2024-04-26T21:32:11.842+02:00  INFO 77123 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: FixThumbnailsWithoutMetadata(priority='0')
2024-04-26T21:32:11.848+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fetched 0 ThumbnailBook to fix, total: 0
2024-04-26T21:32:11.851+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fixed 0 ThumbnailBook in 6.747024ms
2024-04-26T21:32:11.854+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fetched 0 ThumbnailSeries to fix, total: 0
2024-04-26T21:32:11.854+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fixed 0 ThumbnailSeries in 2.329153ms
2024-04-26T21:32:11.856+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fetched 0 ThumbnailSeriesCollection to fix, total: 0
2024-04-26T21:32:11.857+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fixed 0 ThumbnailSeriesCollection in 2.069810ms
2024-04-26T21:32:11.859+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fetched 0 ThumbnailReadList to fix, total: 0
2024-04-26T21:32:11.859+02:00  INFO 77123 --- [taskProcessor-1] o.g.k.domain.service.ThumbnailLifecycle  : Fixed 0 ThumbnailReadList in 1.868248ms
2024-04-26T21:32:11.859+02:00  INFO 77123 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task FixThumbnailsWithoutMetadata(priority='0') executed in 17.068446ms

Context

gregandcin commented 5 months ago

Just came to say I have the same issue on a fresh install. Have never had Komga installed before this latest version. I do not have the option to claim the server like shown on the Komga documentation by creating a new user.

Screenshot after fresh install on local network 20240502_20h01m47s_grim

Installed version: 1.10.3~ynh1

Context

Hardware: OrangePi Zero 3 (arm64)
YunoHost version: 11.2.11.3
I have access to my server: Through SSH | through the webadmin | Physical access
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Altyrost commented 3 months ago

Some issue. Seeing that this issue have been a thing for 2 months, I wish something could have been done before I wrecked my setup.

After discussing with other Komga users, it's likely that the database got lost.
Additionnaly they told me Komga haven't used the h2 jdbc connector for years, and that the last version available is outdated.

navanchauhan commented 3 months ago

I don't see this being mentioned as a breaking change in the docs https://komga.org/blog/prepare-v1/

navanchauhan commented 3 months ago

@gregandcin the latest master branch should work (might require java17 which is part of a new pull request). Tested that by installing Komga on a fresh instance.

@GannonTdW anf @Altyrost I was able to reproduce this issue by installing 0.164.0~ynh1 and then upgrading to the latest master version. I am not sure what is happening during the migration, but the user table is being deleted for some reason.

You can recover your original database by doing the following:

SSH into your server

$ sudo su
$ cd /tmp
$ cp /home/yunohost.backup/archives/komga-pre-upgrade1.tar.gz . # you might have a different filename
$ tar -xvzf komga-pre-upgrade1.tar.gz
$ cp apps/komga/backup/opt/yunohost/komga/.komga/database.sqlite /home/yunohost.app/komga/database.sqlite
$ systemctl restart komga

This should apply all migrations and retain your users.

gregandcin commented 3 months ago

@gregandcin the latest master branch should work (might require java17 which is part of a new pull request). Tested that by installing Komga on a fresh instance.

Tried a new installed from the master branch and I seem to be hitting the same page. Any suggestions for what I might be able to do to fix it? I assume there is just like a bad file somewhere but I wasn't able to find any obvious lingering files after uninstalling before reinstalling

captnc commented 3 months ago

Hello, Same problem for me after an upgrade. I tried to restore my database manually and also an uninstall/reinstall. Anyone have a solution ?

airjer commented 2 months ago

Wow, same issue here.

GannonTdW commented 6 days ago

@navanchauhan Sorry, I completely forgot that I had created this problem.