this post was submitted on 29 Apr 2024
16 points (94.4% liked)

Linux

48187 readers
1228 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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)
top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 6 months ago* (last edited 6 months ago) (1 children)

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?

[–] [email protected] 2 points 6 months ago (1 children)
[–] [email protected] 6 points 6 months ago (1 children)

Guess you found the problem.

[–] [email protected] 1 points 6 months ago (1 children)
[–] [email protected] 5 points 6 months ago (1 children)

And give it to whichever user is running Radarr. Or if you want to be lazy and insecure chmod 777 /var/lib/radarr (making it readable and writable by everyone).

Normally those steps would be done by your package manager. But it looks like you installed it manually.

[–] [email protected] 2 points 6 months ago

Ya. It only has a official install for debian

[–] pete_the_cat 3 points 6 months ago (1 children)

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.

[–] [email protected] 2 points 6 months ago

Usually, applications will create a database if they don't find one on initial startup.

Personally, I just run Radarr in Docker.

[–] [email protected] 1 points 6 months ago

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