The journalctl output

Apr 28 18:19:09 fedora systemd[1]: Started radarr.service - Radarr Daemon.                                                                                     Apr 28 18:19:09 fedora Radarr[31211]: [Info] Bootstrap: Starting Radarr - /opt/Radarr/Radarr - Version 5.4.6.8723
Apr 28 18:19:09 fedora Radarr[31211]: [Info] AppFolderInfo: Data directory is being overridden to [/var/lib/radarr]
Apr 28 18:19:09 fedora Radarr[31211]: [Debug] Bootstrap: Console selected
Apr 28 18:19:09 fedora Radarr[31211]: [Info] AppFolderInfo: Data directory is being overridden to [/var/lib/radarr]                                            Apr 28 18:19:10 fedora Radarr[31211]: [Info] AppFolderInfo: Data directory is being overridden to [/var/lib/radarr]
Apr 28 18:19:10 fedora Radarr[31211]: [Info] MigrationController: *** Migrating data source=/var/lib/radarr/radarr.db;cache size=-20000;datetimekind=Utc;journ>
Apr 28 18:19:10 fedora Radarr[31211]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating                                       Apr 28 18:19:10 fedora Radarr[31211]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Apr 28 18:19:10 fedora Radarr[31211]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Apr 28 18:19:10 fedora Radarr[31211]: SQLite error (14): cannot open file at line 43450 of [831d0fb283]                                                        Apr 28 18:19:10 fedora Radarr[31211]: SQLite error (14): os_unix.c:43450: (203) open(/var/lib/radarr/radarr.db) -
Apr 28 18:19:10 fedora Radarr[31211]: [Error] FluentMigrator.Runner.MigrationRunner: unable to open database file
Apr 28 18:19:10 fedora Radarr[31211]: [v5.4.6.8723] code = CantOpen (14), message = System.Data.SQLite.SQLiteException (0x800007FF): unable to open database f>
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteO>
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLiteConnection.Open()                                                                         Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.<>c__DisplayClass6_1.<.ctor>b__1()
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)                                                                Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.CreateValue()                                                                                        Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.get_Value()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.get_Connection()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()                                     Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(PerformDBOperationExpression expression)
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Expressions.PerformDBOperationExpression.ExecuteWith(IMigrationProcessor processor)                 Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()                             Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.StopWatch.Time(Action action)
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
Apr 28 18:19:10 fedora Radarr[31211]: [Fatal] ConsoleApp: EPIC FAIL!                                                                                           Apr 28 18:19:10 fedora Radarr[31211]: [v5.4.6.8723] NzbDrone.Core.Datastore.CorruptDatabaseException: Radarr failed to start: Database file: code = CantOpen (>Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteO>
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Data.SQLite.SQLiteConnection.Open()                                                                         Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.<>c__DisplayClass6_1.<.ctor>b__1()
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)                                                                Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.CreateValue()
Apr 28 18:19:10 fedora Radarr[31211]:    at System.Lazy`1.get_Value()                                                                                          Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.get_Connection()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(PerformDBOperationExpression expression)           Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Expressions.PerformDBOperationExpression.ExecuteWith(IMigrationProcessor processor)
Apr 28 18:19:10 fedora Radarr[31211]:    at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136        Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/Dry>
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.>
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Resolver.Resolve[TService](IResolver resolver, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:lin>
Apr 28 18:19:10 fedora Radarr[31211]:    at Radarr.Http.ClientSchema.SchemaBuilder.Initialize(IContainer container) in ./Radarr.Http/ClientSchema/SchemaBuilde>Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.<CreateConsoleHostBuilder>b__1(IContainer c) in ./Radarr.Host/Bootstr>
Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.<ConfigureContainer>b__0(HostBui>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContex>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()                                                   Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.Build()
Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Radarr.Host/Bootstrap.cs:line 79          Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Radarr.Console/ConsoleApp.cs:line 43
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136        Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082       Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082       Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082       Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/Dry>Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.>Apr 28 18:19:10 fedora Radarr[31211]:    at DryIoc.Resolver.Resolve[TService](IResolver resolver, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:lin>Apr 28 18:19:10 fedora Radarr[31211]:    at Radarr.Http.ClientSchema.SchemaBuilder.Initialize(IContainer container) in ./Radarr.Http/ClientSchema/SchemaBuilde>
Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.<CreateConsoleHostBuilder>b__1(IContainer c) in ./Radarr.Host/Bootstr>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0`1.<ConfigureContainer>b__0(HostBui>
Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.Internal.ConfigureContainerAdapter`1.ConfigureContainer(HostBuilderContext hostContex>Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
Apr 28 18:19:10 fedora Radarr[31211]:    at Microsoft.Extensions.Hosting.HostBuilder.Build()                                                                   Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Radarr.Host/Bootstrap.cs:line 79
Apr 28 18:19:10 fedora Radarr[31211]:    at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Radarr.Console/ConsoleApp.cs:line 43                          Apr 28 18:19:10 fedora Radarr[31211]: Press enter to exit...                                                                                                   Apr 28 18:19:11 fedora Radarr[31211]: Non-recoverable failure, waiting for user intervention...                                                                lines 62-82/82 (END)
  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    8 months ago

    Without knowing anything about Radarr I would look here

    Apr 28 18:19:10 fedora Radarr\[31211]: SQLite error (14): cannot open file at line 43450 of \[831d0fb283]
    Apr 28 18:19:10 fedora Radarr\[31211]: SQLite error (14): os\_unix.c:43450: (203) open(/var/lib/radarr/radarr.db) -
    Apr 28 18:19:10 fedora Radarr\[31211]: \[Error] FluentMigrator.Runner.MigrationRunner: unable to open database file
    

    What are the permissions of /var/lib/radarr and the files it contains and what user is Radarr running as?

  • pete_the_cat@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

    It looks like the database is either missing or corrupted, try to unzip one of the backups in the backups folder, stop radarr, replace the current database files with the unzipped backup files and start radarr.

    If it didn’t work you can just remove the config and database files and set it up again.

  • barbara@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    8 months ago

    Sounds like you didn’t take care of selinux. Without compose file I can’t know it.