Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 5.x failed during database migration #885

Open
brianjmurrell opened this issue Aug 8, 2023 · 6 comments
Open

Upgrade to 5.x failed during database migration #885

brianjmurrell opened this issue Aug 8, 2023 · 6 comments
Labels

Comments

@brianjmurrell
Copy link

I tried to update from 4.x to 5.x using https://github.com/theotherp/nzbhydra2/wiki/Updating-from-4.x-to-5.x and it's now failing to start. The journal simply repeats over and over again:

Aug 08 15:52:18 pvr.[redacted] nzbhydra2[87146]: Logging wrapper output to /home/nzbhydra2/nzbhydra2/data/logs/wrapper.log
Aug 08 15:52:18 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:18,715  INFO - Determined release type: native
Aug 08 15:52:18 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:18,783  INFO - Starting NZBHydra main process with command line: ./core -Xmx256M -DfromWrapper=true -DinternalApiKey=qljaejbzpacblfxzbryr -Dsun.security.pkcs11.enable-solaris=false -Dspring.output.ansi.enabled=ALWAYS --nobrowser --datafolder /home/nzbhydra2/nzbhydra2/data in folder /home/nzbhydra2/nzbhydra2
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.660 [main] INFO org.nzbhydra.NzbHydra - Version: 5.1.10
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.660 [main] INFO org.nzbhydra.NzbHydra - Build timestamp: 2023-07-22 12:07
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Ignored because not a concrete top-level class: file [/org/nzbhydra/config/migration/ConfigMigrationStep.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep003to004.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep004to005.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep005to006.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep006to007.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep007to008.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep008to009.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep009to010.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep010to011.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep011to012.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep012to013.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.726 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep013to014.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep014to015.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep015to016.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep016to017.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep017to018.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep018to019.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/org/nzbhydra/config/migration/ConfigMigrationStep019to020.class]
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.727 [main] INFO org.nzbhydra.config.migration.ConfigMigration - Migrating config from version 19
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.777 [main] DEBUG org.nzbhydra.config.ConfigReaderWriter - Writing to file /home/nzbhydra2/nzbhydra2/data/nzbhydra.yml
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.921 [main] DEBUG org.nzbhydra.config.ConfigReaderWriter - Writing config took 173ms
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.921 [main] DEBUG org.nzbhydra.NzbHydra - Setting property browser.disabled to value true
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.host to 0.0.0.0
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.port to 5076
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.urlBase to /
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.ssl to false
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.databaseCompactTime to 15000
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.databaseRetentionTime to 1000
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.databaseWriteDelay to 5000
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.logging.consolelevel to INFO
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.logging.logfilelevel to INFO
Aug 08 15:52:20 pvr.[redacted] nzbhydra2[87146]: 15:52:20.950 [main] DEBUG org.nzbhydra.NzbHydra - Setting main.logging.logMaxHistory to 30
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,657 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.4.5
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,657 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,657 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,657 |-INFO in ch.qos.logback.classic.BasicConfigurator@2bb453e3 - Setting up default configuration.
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,990 |-WARN in Logger[org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver$DefaultResolver] - No appenders present in context [default] for logger [org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver$DefaultResolver].
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,990 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [CONSOLE]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,990 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,992 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [FILE]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,992 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,994 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@2120832884 - No compression will be used
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,994 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@2120832884 - Will use the pattern /home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2.%d{yyyy-MM-dd}.log for the active file
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,994 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern '/home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2.%d{yyyy-MM-dd}.log'.
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,994 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,996 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Aug 08 15:36:10 EDT 2023
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,996 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: /home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2.log
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,996 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [/home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2.log]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,996 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [STASH]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,996 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,997 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@865793504 - No compression will be used
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,997 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@865793504 - Will use the pattern /home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2-log.json.%d{yyyy-ww} for the active file
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,997 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-ww' from file name pattern '/home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2-log.json.%d{yyyy-ww}'.
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,997 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Rollover at the start of week.
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,997 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Aug 08 15:34:02 EDT 2023
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,998 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[STASH] - Active log file name: /home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2-log.json
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,998 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[STASH] - File property is set to [/home/nzbhydra2/nzbhydra2/data/logs/nzbhydra2-log.json]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.nzbhydra] to DEBUG
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating DEBUG level on Logger[org.nzbhydra] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [STASH] to Logger[org.nzbhydra]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.spring] to INFO
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating INFO level on Logger[org.spring] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.hibernate] to WARN
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating WARN level on Logger[org.hibernate] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.apache] to WARN
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating WARN level on Logger[org.apache] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.springframework] to INFO
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating INFO level on Logger[org.springframework] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.thymeleaf] to WARN
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating WARN level on Logger[org.thymeleaf] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.eclipse] to WARN
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating WARN level on Logger[org.eclipse] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [okhttp3.OkHttpClient] to DEBUG
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating DEBUG level on Logger[okhttp3.OkHttpClient] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.apache.catalina.util] to ERROR
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating ERROR level on Logger[org.apache.catalina.util] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.springframework.web.filter.CommonsRequestLoggingFilter] to DEBUG
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating DEBUG level on Logger[org.springframework.web.filter.CommonsRequestLoggingFilter] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.reflections] to WARN
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating WARN level on Logger[org.reflections] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [com.gargoylesoftware.htmlunit] to OFF
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating OFF level on Logger[com.gargoylesoftware.htmlunit] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to INFO
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@4eaea444 - Propagating INFO level on Logger[ROOT] onto the JUL framework
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[ROOT]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [FILE] to Logger[ROOT]
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 15:52:20,999 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@47da7926 - End of configuration.
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: .__   __.  ________  .______   __    __  ____    ____  _______  .______          ___          ___
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: |  \ |  | |       /  |   _  \ |  |  |  | \   \  /   / |       \ |   _  \        /   \        |__ \
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: |   \|  | `---/  /   |  |_)  ||  |__|  |  \   \/   /  |  .--.  ||  |_)  |      /  ^  \          ) |
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: |  . `  |    /  /    |   _  < |   __   |   \_    _/   |  |  |  ||      /      /  /_\  \        / /
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: |  |\   |   /  /----.|  |_)  ||  |  |  |     |  |     |  '--'  ||  |\  \----./  _____  \      / /_
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: |__| \__|  /________||______/ |__|  |__|     |__|     |_______/ | _| `._____/__/     \__\    |____|
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.009  INFO --- [              main] org.nzbhydra.NzbHydra                    : Starting AOT-processed NzbHydra using Java 17.0.5 with PID 87149 (/home/nzbhydra2/nzbhydra2/core started by nzbhydra2 in /home/nzbhydra2/nzbhydra2)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.010  INFO --- [              main] org.nzbhydra.NzbHydra                    : The following 1 profile is active: "default"
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.244  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'hydraTaskConfiguration' of type [org.nzbhydra.tasks.HydraTaskConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.277  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfig' of type [org.nzbhydra.config.BaseConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.281  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'categoriesConfigValidator' of type [org.nzbhydra.config.validation.CategoriesConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.284  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'downloaderConfigValidator' of type [org.nzbhydra.config.validation.DownloaderConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.285  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'downloadingConfigValidator' of type [org.nzbhydra.config.validation.DownloadingConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.287  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'searchingConfigValidator' of type [org.nzbhydra.config.validation.SearchingConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.291  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'loggingConfigValidator' of type [org.nzbhydra.config.validation.LoggingConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.292  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'mainConfigValidator' of type [org.nzbhydra.config.validation.MainConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.295  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'userAuthConfigValidator' of type [org.nzbhydra.config.validation.UserAuthConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.297  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'authConfigValidator' of type [org.nzbhydra.config.validation.AuthConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.299  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'indexerConfigValidator' of type [org.nzbhydra.config.validation.IndexerConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.301  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'notificationConfigValidator' of type [org.nzbhydra.config.validation.NotificationConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.302  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfigValidator' of type [org.nzbhydra.config.validation.BaseConfigValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.304  INFO --- [              main] org.nzbhydra.config.BaseConfigHandler    : Using data folder /home/nzbhydra2/nzbhydra2/data
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.695  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'baseConfigHandler' of type [org.nzbhydra.config.BaseConfigHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.697  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'configProvider' of type [org.nzbhydra.config.ConfigProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.698  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'hydraGlobalMethodSecurityConfiguration' of type [org.nzbhydra.auth.HydraGlobalMethodSecurityConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.701  INFO --- [              main] a.HydraGlobalMethodSecurityConfiguration : Enabling auth type BASIC
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.702  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.704  INFO --- [              main] trationDelegate$BeanPostProcessorChecker : Bean 'taskExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.873  INFO --- [              main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 5076 (http)
Aug 08 15:52:21 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:21.882  INFO --- [              main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 662 ms
Aug 08 15:52:22 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:22.126  INFO --- [              main] o.s.boot.web.servlet.RegistrationBean    : Filter characterEncodingFilter was not registered (possibly already registered?)
Aug 08 15:52:22 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:22.133  INFO --- [              main] o.nzbhydra.database.DatabaseRecreation   : Determined existing database to be version 1.4. Migration needed.
Aug 08 15:52:24 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:24.811  INFO --- [              main] o.nzbhydra.database.DatabaseRecreation   : Running database migration from 1.4 to 2
Aug 08 15:52:24 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:52:24.812  INFO --- [              main] o.nzbhydra.database.DatabaseRecreation   : Copying old database file /home/nzbhydra2/nzbhydra2/data/database/nzbhydra.mv.db to backup /home/nzbhydra2/nzbhydra2/data/database/nzbhydra.mv.db.old.bak.1691524344812 which will be automatically deleted after 14 days
Aug 08 15:54:15 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:54:15.392  INFO --- [              main] o.nzbhydra.database.DatabaseRecreation   : Running command: java -cp /tmp/nzbhydra11729623574625027690.jar org.h2.tools.Shell -url jdbc:h2:file:/home/nzbhydra2/nzbhydra2/data/database/nzbhydra -user sa -sql alter user sa set password 'sa'
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]: Exception in thread "main" org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-200]
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.message.DbException.get(DbException.java:194)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:222)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:182)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:103)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.getPageStore(Database.java:2659)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.open(Database.java:675)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.openDatabase(Database.java:307)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.<init>(Database.java:301)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.openSession(Engine.java:74)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.openSession(Engine.java:192)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.createSessionAndValidate(Engine.java:171)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.createSession(Engine.java:166)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.createSession(Engine.java:29)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:340)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:173)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.Driver.connect(Driver.java:69)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at java.sql.DriverManager.getConnection(DriverManager.java:664)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at java.sql.DriverManager.getConnection(DriverManager.java:247)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.tools.Shell.runTool(Shell.java:148)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.tools.Shell.main(Shell.java:81)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]: Caused by: java.lang.IllegalStateException: File corrupted in chunk 41560, expected page length 4..512, got 1734702190 [1.4.200/6]
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:950)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Chunk.readBufferForPage(Chunk.java:368)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.readBufferForPage(MVStore.java:1214)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.readPage(MVStore.java:2209)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVMap.readPage(MVMap.java:672)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Page$NonLeaf.getChildPage(Page.java:1043)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.CursorPos.traverseDown(CursorPos.java:58)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Cursor.traverseDown(Cursor.java:157)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Cursor.<init>(Cursor.java:31)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Cursor.<init>(Cursor.java:27)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVMap.keyIterator(MVMap.java:699)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.scrubMetaMap(MVStore.java:427)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.<init>(MVStore.java:410)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3579)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:170)
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]:         ... 18 more
Aug 08 15:56:53 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:56:53.310  INFO --- [              main] o.nzbhydra.database.DatabaseRecreation   : Running command: java -cp /tmp/nzbhydra11729623574625027690.jar org.h2.tools.Shell -url jdbc:h2:file:/home/nzbhydra2/nzbhydra2/data/database/nzbhydra -user sa -password sa -sql alter user sa set password 'sa'
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]: Exception in thread "main" org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-200]
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.message.DbException.get(DbException.java:194)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:222)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:182)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:103)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.getPageStore(Database.java:2659)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.open(Database.java:675)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.openDatabase(Database.java:307)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Database.<init>(Database.java:301)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.openSession(Engine.java:74)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.openSession(Engine.java:192)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.createSessionAndValidate(Engine.java:171)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.createSession(Engine.java:166)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.Engine.createSession(Engine.java:29)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:340)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:173)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.Driver.connect(Driver.java:69)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at java.sql.DriverManager.getConnection(DriverManager.java:664)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at java.sql.DriverManager.getConnection(DriverManager.java:247)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.tools.Shell.runTool(Shell.java:148)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.tools.Shell.main(Shell.java:81)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]: Caused by: java.lang.IllegalStateException: File corrupted in chunk 41560, expected page length 4..512, got 1734702190 [1.4.200/6]
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:950)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Chunk.readBufferForPage(Chunk.java:368)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.readBufferForPage(MVStore.java:1214)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.readPage(MVStore.java:2209)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVMap.readPage(MVMap.java:672)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Page$NonLeaf.getChildPage(Page.java:1043)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.CursorPos.traverseDown(CursorPos.java:58)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Cursor.traverseDown(Cursor.java:157)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Cursor.<init>(Cursor.java:31)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.Cursor.<init>(Cursor.java:27)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVMap.keyIterator(MVMap.java:699)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.scrubMetaMap(MVStore.java:427)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore.<init>(MVStore.java:410)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3579)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:170)
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]:         ... 18 more
Aug 08 15:57:04 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:57:04.243 ERROR --- [              main] o.nzbhydra.database.DatabaseRecreation   : Error migrating old database file to new one
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:57:05.052  WARN --- [              main] w.s.c.ServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getDatabaseRecreationBean': Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:57:05.056 ERROR --- [              main] o.s.boot.SpringApplication               : Application run failed
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getDatabaseRecreationBean': Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1762)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1132)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:907)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: Caused by: java.lang.RuntimeException: Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.runH2Command(DatabaseRecreation.java:195)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.updatePassword(DatabaseRecreation.java:183)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.migrateToH2v2IfNeeded(DatabaseRecreation.java:141)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.runDatabaseScript(DatabaseRecreation.java:65)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreationBean.afterPropertiesSet(DatabaseRecreationBean.java:26)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1808)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:57:05.059 ERROR --- [              main] org.nzbhydra.NzbHydra                    : An unexpected error occurred during startup
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getDatabaseRecreationBean': Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1762)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1132)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:907)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: Caused by: java.lang.RuntimeException: Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.runH2Command(DatabaseRecreation.java:195)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.updatePassword(DatabaseRecreation.java:183)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.migrateToH2v2IfNeeded(DatabaseRecreation.java:141)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.runDatabaseScript(DatabaseRecreation.java:65)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreationBean.afterPropertiesSet(DatabaseRecreationBean.java:26)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1808)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: 2023-08-08 15:57:05.062 ERROR --- [              main] org.nzbhydra.NzbHydra                    : FATAL: An unexpected error occurred during startup:
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getDatabaseRecreationBean': Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1762)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1132)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:907)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]: Caused by: java.lang.RuntimeException: Password update failed.. Code: 1
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.runH2Command(DatabaseRecreation.java:195)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.updatePassword(DatabaseRecreation.java:183)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.migrateToH2v2IfNeeded(DatabaseRecreation.java:141)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreation.runDatabaseScript(DatabaseRecreation.java:65)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.nzbhydra.database.DatabaseRecreationBean.afterPropertiesSet(DatabaseRecreationBean.java:26)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1808)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
Aug 08 15:57:05 pvr.[redacted] nzbhydra2[87146]:         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)

I tried to repair the database:

./nzbhydra2wrapperPy3.py --repairdb data/database/nzbhydra.mv.db 
Logging wrapper output to /home/nzbhydra2/nzbhydra2/data/logs/wrapper.log
2023-08-08 16:08:13,057  INFO - Determined release type: native
2023-08-08 16:08:13,119  INFO - Starting NZBHydra main process with command line: ./core -Xmx256M -DfromWrapper=true -DinternalApiKey=bwgerfrgxnuufhwsfmew -Dsun.security.pkcs11.enable-solaris=false -Dspring.output.ansi.enabled=ALWAYS --repairdb data/database/nzbhydra.mv.db in folder /home/nzbhydra2/nzbhydra2
16:08:15.019 [main] ERROR org.nzbhydra.NzbHydra - Invalid startup options detected: repairdb is not a recognized option
2023-08-08 16:08:15,065  ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it
./nzbhydra2wrapperPy3.py --repairdb data/database/nzbhydra.mv.db 
Logging wrapper output to /home/nzbhydra2/nzbhydra2/data/logs/wrapper.log
2023-08-08 16:08:13,057  INFO - Determined release type: native
2023-08-08 16:08:13,119  INFO - Starting NZBHydra main process with command line: ./core -Xmx256M -DfromWrapper=true -DinternalApiKey=bwgerfrgxnuufhwsfmew -Dsun.security.pkcs11.enable-solaris=false -Dspring.output.ansi.enabled=ALWAYS --repairdb data/database/nzbhydra.mv.db in folder /home/nzbhydra2/nzbhydra2
16:08:15.019 [main] ERROR org.nzbhydra.NzbHydra - Invalid startup options detected: repairdb is not a recognized option
2023-08-08 16:08:15,065  ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it
@svdasein
Copy link

svdasein commented Oct 8, 2023

@brianjmurrell I just ran into this myself. Did you get around it somehow?

@theotherp
Copy link
Owner

theotherp commented Oct 8, 2023 via email

@svdasein
Copy link

svdasein commented Oct 8, 2023

I'm afraid the only option is to delete the database file. You will lose history and stats but no settings.

I've reverted to 4.4.0 and it seems to back to where it was. Do you know if there is a upgrade path to 5.x from 4.4 or do I just need to nuke the db?

Thanks

@theotherp
Copy link
Owner

theotherp commented Oct 8, 2023 via email

@svdasein
Copy link

svdasein commented Oct 8, 2023

OK - stupid user error - I failed to note that I needed to grab both the generic and the amd64 archive. Problem solved - thanks for your help :)

@theotherp
Copy link
Owner

theotherp commented Oct 8, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants