Closed sync-by-unito[bot] closed 7 months ago
Hello, this means there is something wrong with the configuration, share the logs of the app so we can see what's wrong.
The IP is from the internal network kubernetes uses. Thats normal.
➤ Jonathan Dupuis commented:
2024-03-08 15:19:00.016140-05:00[Info] Bootstrap: Starting Radarr - /app/bin/Radarr - Version 5.3.6.8612
2024-03-08 15:19:00.034760-05:00[Info] AppFolderInfo: Data directory is being overridden to [/config]
2024-03-08 15:19:00.044516-05:00[Debug] Bootstrap: Console selected
2024-03-08 15:19:00.046459-05:00[Info] AppFolderInfo: Data directory is being overridden to [/config]
2024-03-08 15:19:00.348137-05:00[Info] AppFolderInfo: Data directory is being overridden to [/config]
2024-03-08 15:19:00.449366-05:00[Info] MigrationController: Migrating data source=/config/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100
2024-03-08 15:19:00.556953-05:00[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
2024-03-08 15:19:00.566916-05:00[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
2024-03-08 15:19:00.567715-05:00[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
2024-03-08 15:19:00.609155-05:00[Error] FluentMigrator.Runner.MigrationRunner: unable to open database file
2024-03-08 15:19:00.609178-05:002024-03-08T15:19:00.609178583-05:00
2024-03-08 15:19:00.609304-05:00[v5.3.6.8612] code = CantOpen (14), message = System.Data.SQLite.SQLiteException (0x800007FF): unable to open database file
2024-03-08 15:19:00.609337-05:00at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
2024-03-08 15:19:00.609345-05:00at System.Data.SQLite.SQLiteConnection.Open()
2024-03-08 15:19:00.609366-05:00at FluentMigrator.Runner.Processors.GenericProcessorBase.<>cDisplayClass6_1.<.ctor>b1()
2024-03-08 15:19:00.609389-05:00at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) 2024-03-08 15:19:00.609405-05:00at System.Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
2024-03-08 15:19:00.609414-05:00at System.Lazy1.CreateValue() 2024-03-08 15:19:00.609421-05:00at System.Lazy
1.get_Value()
2024-03-08 15:19:00.609442-05:00at FluentMigrator.Runner.Processors.GenericProcessorBase.get_Connection()
2024-03-08 15:19:00.609470-05:00at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen()
2024-03-08 15:19:00.609498-05:00at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(PerformDBOperationExpression expression)
2024-03-08 15:19:00.609520-05:00at FluentMigrator.Expressions.PerformDBOperationExpression.ExecuteWith(IMigrationProcessor processor)
2024-03-08 15:19:00.609528-05:00at FluentMigrator.Runner.MigrationRunner.<>cDisplayClass80_0.1 expressions) 2024-03-08 15:19:00.609573-05:002024-03-08T15:19:00.609573446-05:00 2024-03-08 15:19:00.609584-05:002024-03-08T15:19:00.609584939-05:00 2024-03-08 15:19:00.616326-05:002024-03-08T15:19:00.616326817-05:00 2024-03-08 15:19:00.616361-05:002024-03-08T15:19:00.616361420-05:00 2024-03-08 15:19:00.620121-05:00[Fatal] ConsoleApp: EPIC FAIL! 2024-03-08 15:19:00.620159-05:002024-03-08T15:19:00.620159016-05:00 2024-03-08 15:19:00.620167-05:00[v5.3.6.8612] NzbDrone.Core.Datastore.CorruptDatabaseException: Radarr failed to start: Database file: code = CantOpen (14), message = System.Data.SQLite.SQLiteException (0x800007FF): unable to open database file 2024-03-08 15:19:00.620189-05:00at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool) 2024-03-08 15:19:00.620217-05:00at System.Data.SQLite.SQLiteConnection.Open() 2024-03-08 15:19:00.620225-05:00at FluentMigrator.Runner.Processors.GenericProcessorBase.<>c__DisplayClass6_1.<.ctor>b__1() 2024-03-08 15:19:00.620232-05:00at System.Lazy
1.ViaFactory(LazyThreadSafetyMode mode)
2024-03-08 15:19:00.620239-05:00at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) 2024-03-08 15:19:00.620249-05:00at System.Lazy
1.CreateValue()
2024-03-08 15:19:00.620256-05:00at System.Lazy1.get_Value() 2024-03-08 15:19:00.620270-05:00at FluentMigrator.Runner.Processors.GenericProcessorBase.get_Connection() 2024-03-08 15:19:00.620287-05:00at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen() 2024-03-08 15:19:00.620294-05:00at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Process(PerformDBOperationExpression expression) 2024-03-08 15:19:00.620307-05:00at FluentMigrator.Expressions.PerformDBOperationExpression.ExecuteWith(IMigrationProcessor processor) 2024-03-08 15:19:00.620314-05:00at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1() 2024-03-08 15:19:00.620320-05:00at FluentMigrator.Runner.StopWatch.Time(Action action) 2024-03-08 15:19:00.620336-05:00at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection
1 expressions)
2024-03-08 15:19:00.620348-05:00at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action2 getExpressions) 2024-03-08 15:19:00.620355-05:00at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction) 2024-03-08 15:19:00.620361-05:00at FluentMigrator.Runner.MigrationRunner.ApplyMaintenance(MigrationStage stage, Boolean useAutomaticTransactionManagement) 2024-03-08 15:19:00.620373-05:00at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement) 2024-03-08 15:19:00.620380-05:00at FluentMigrator.Runner.MigrationRunner.MigrateUp(Boolean useAutomaticTransactionManagement) 2024-03-08 15:19:00.620386-05:00at FluentMigrator.Runner.MigrationRunner.MigrateUp() 2024-03-08 15:19:00.620406-05:00at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Radarr.Core/Datastore/Migration/Framework/MigrationController.cs:line 80 2024-03-08 15:19:00.620417-05:00at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Radarr.Core/Datastore/DbFactory.cs:line 116 is corrupt, restore from backup if available. See: https://wiki.servarr.com/radarr/faq#i-am-getting-an-error-database-disk-image-is-malformed 2024-03-08 15:19:00.620428-05:00at NzbDrone.Core.Datastore.DbFactory.CreateMain(String connectionString, MigrationContext migrationContext, DatabaseType databaseType) in ./Radarr.Core/Datastore/DbFactory.cs:line 127 2024-03-08 15:19:00.620435-05:00at NzbDrone.Core.Datastore.DbFactory.Create(MigrationContext migrationContext) in ./Radarr.Core/Datastore/DbFactory.cs:line 71 2024-03-08 15:19:00.620445-05:00at NzbDrone.Core.Datastore.DbFactory.Create(MigrationType migrationType) in ./Radarr.Core/Datastore/DbFactory.cs:line 59 2024-03-08 15:19:00.620452-05:00at NzbDrone.Core.Datastore.Extensions.CompositionExtensions.<>c.<AddDatabase>b__0_0(IDbFactory f) in ./Radarr.Core/Datastore/Extensions/CompositionExtensions.cs:line 10 2024-03-08 15:19:00.620458-05:00at DryIoc.Registrator.ToFuncWithObjParams[D1,TService](Func
2 f, Object d1) in //src/DryIoc/Container.cs:line 8067
2024-03-08 15:19:00.620487-05:00at DryIoc.Interpreter.TryInterpretFuncInvoke(IResolverContext r, MethodCallExpression e, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in //src/DryIoc/Container.cs:line 3727
2024-03-08 15:19:00.620494-05:00at DryIoc.Interpreter.TryInterpretMethodCall(IResolverContext r, MethodCallExpression callExpr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in //src/DryIoc/Container.cs:line 3525
2024-03-08 15:19:00.620520-05:00at DryIoc.Interpreter.TryInterpret(IResolverContext r, Expression expr, IParameterProvider paramExprs, Object paramValues, ParentLambdaArgs parentArgs, Object& result) in //src/DryIoc/Container.cs:line 3176
2024-03-08 15:19:00.620527-05:00at DryIoc.Interpreter.TryInterpretSingletonAndUnwrapContainerException(IResolverContext r, Expression expr, ImMapEntry1 itemRef, Object& result) in /_/src/DryIoc/Container.cs:line 3105 2024-03-08 15:19:00.620550-05:00at DryIoc.Factory.ApplyReuse(Expression serviceExpr, Request request) in /_/src/DryIoc/Container.cs:line 11136 2024-03-08 15:19:00.620557-05:00at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11055 2024-03-08 15:19:00.620563-05:00at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082 2024-03-08 15:19:00.620573-05:00at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038 2024-03-08 15:19:00.620579-05:00at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082 2024-03-08 15:19:00.620585-05:00at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038 2024-03-08 15:19:00.620591-05:00at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082 2024-03-08 15:19:00.620605-05:00at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038 2024-03-08 15:19:00.620612-05:00at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 426 2024-03-08 15:19:00.620633-05:00at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 392 2024-03-08 15:19:00.620644-05:00at DryIoc.Resolver.Resolve[TService](IResolver resolver, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 8602 2024-03-08 15:19:00.620651-05:00at Radarr.Http.ClientSchema.SchemaBuilder.Initialize(IContainer container) in ./Radarr.Http/ClientSchema/SchemaBuilder.cs:line 24 2024-03-08 15:19:00.620670-05:00at NzbDrone.Host.Bootstrap.<>c__DisplayClass3_0.<CreateConsoleHostBuilder>b__1(IContainer c) in ./Radarr.Host/Bootstrap.cs:line 151 2024-03-08 15:19:00.620680-05:00at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.<>c__DisplayClass10_0
1.1.ConfigureContainer(HostBuilderContext hostContext, Object containerBuilder) 2024-03-08 15:19:00.620696-05:00at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() 2024-03-08 15:19:00.620703-05:00at Microsoft.Extensions.Hosting.HostBuilder.Build() 2024-03-08 15:19:00.620709-05:00at NzbDrone.Host.Bootstrap.Start(Stringargs, Action
1 trayCallback) in ./Radarr.Host/Bootstrap.cs:line 79
2024-03-08 15:19:00.620715-05:00at NzbDrone.Console.ConsoleApp.Main(Stringargs) in ./Radarr.Console/ConsoleApp.cs:line 43
2024-03-08 15:19:00.620725-05:002024-03-08T15:19:00.620725512-05:00
2024-03-08 15:19:00.620731-05:002024-03-08T15:19:00.620731841-05:00
2024-03-08 15:19:00.640872-05:00Press enter to exit...
2024-03-08 15:19:01.641072-05:00Non-recoverable failure, waiting for user intervention...
failed to create fsnotify watcher: too many open files
Looks like it might be permissions issue.
Are you using hostPath or ixVolumes?
You have to make sure the user/group ids you defined when you installed the app have r/w access to the config directory
➤ Jonathan Dupuis commented:
hostPath
I use the same user/group ids at my Sonarr application, which works without issue.
Radarr says that it cannot open the database, make sure no other container has access to the same directory (for config)
As it might keep the database open.
Also there is an error that you have too many open files, you'll need to change the sysctl
values to increase the limit
➤ Jonathan Dupuis commented:
The directory for the application files for Radarr are set to their own folder [data/apps/Radarr/]
Other directories listed are the torrent folder shared by both Sonarr and Radarr and the destination folder where Radarr puts the downloaded movies.
Can you explain how to change the sysctl values? I found the sysctl section in system advanced settings, but it’s empty and I found no detailed explanations on how to increased the file limit.
➤ Jonathan Dupuis commented:
These are the only parameters I play with on the installation of the Radarr application:
User ID 568 Group ID 568
Web Port 300025
Radarr Config Storage Host Path /mnt/Data/Apps/Radarr
Additional Storage Host Path /qBitTorrent /mnt/Data/Apps/qBitTorrent Host Path /Anime Movies /mnt/Media/Media/Videos/Anime Movies
➤ Jonathan Dupuis commented:
Ok, I found the issue.
The Radarr folder in the dataset was using “root” permissions, whereas user 568 is in the “apps” permissions group….
I had to do some digging because that dataset was created long ago and I probably forgot to change the permissions in that specific folder only
Glad you solved it! Thanks for reporting back
Whenever I try to install the application on my system, the application remains stuck at the “deploy” stage and the last recorded event is: “Startup probe failed: Get "http://172.16.0.156:30025/ping": dial tcp 172.16.0.156:30025: connect: connection refused”
However, my system IP is 10.0.0.X