so when lidarr is running, htop
shows lots of activity; but like no activity when lidarr is stopped.
the journalctl -u lidarr.service
returns a super long list of errors and warnings, including some of the same ones as yesterday, but also new ones:
Nov 24 09:23:30 DietPi Lidarr[541]: [Info] RssSyncService: Starting RSS Sync
Nov 24 09:23:30 DietPi Lidarr[541]: [Warn] FetchAndParseRssService: No available indexers. check your configuration.
Nov 24 09:23:30 DietPi Lidarr[541]: [Info] DownloadDecisionMaker: No results found
Nov 24 09:23:30 DietPi Lidarr[541]: [Info] RssSyncService: RSS Sync Completed. Reports found: 0, Reports grabbed: 0
Nov 24 09:30:45 DietPi Lidarr[541]: [Info] Lidarr.Http.Authentication.BasicAuthenticationHandler: Basic was not authenticated. Failure message: Authorization header missing.
Nov 24 09:30:48 DietPi Lidarr[541]: [Info] Lidarr.Http.Authentication.BasicAuthenticationHandler: Basic was not authenticated. Failure message: Authorization header missing.
Nov 24 09:31:54 DietPi Lidarr[541]: [Warn] LidarrErrorPipeline: DryIoc.ContainerException: code: Error.WaitForScopedServiceIsCreatedTimeoutExpired;
Nov 24 09:31:54 DietPi Lidarr[541]: message: DryIoc has waited for the creation of the scoped or singleton service by the "other party" for the 3000 time ticks without the completion.
Nov 24 09:31:54 DietPi Lidarr[541]: You may call `exception.TryGetDetails(container)` to get the details of the problematic service registration.
Nov 24 09:31:54 DietPi Lidarr[541]: The error means that either the "other party" is the parallel thread which has started but is unable to finish the creation of the service in the provided amount of time.
Nov 24 09:31:54 DietPi Lidarr[541]: Or more likely the "other party" is the same thread and there is an undetected recursive dependency or
Nov 24 09:31:54 DietPi Lidarr[541]: the scoped service creation is failed with the exception and the exception was catched but you are trying to resolve the failed service again.
Nov 24 09:31:54 DietPi Lidarr[541]: For all those reasons DryIoc has a timeout to prevent the infinite waiting.
Nov 24 09:31:54 DietPi Lidarr[541]: You may change the default timeout via `Scope.WaitForScopedServiceIsCreatedTimeoutTicks=NewNumberOfTicks`
Nov 24 09:31:54 DietPi Lidarr[541]: [v2.7.1.4417] DryIoc.ContainerException: code: Error.WaitForScopedServiceIsCreatedTimeoutExpired;
Nov 24 09:31:54 DietPi Lidarr[541]: message: DryIoc has waited for the creation of the scoped or singleton service by the "other party" for the 3000 time ticks without the completion.
Nov 24 09:31:54 DietPi Lidarr[541]: You may call `exception.TryGetDetails(container)` to get the details of the problematic service registration.
Nov 24 09:31:54 DietPi Lidarr[541]: The error means that either the "other party" is the parallel thread which has started but is unable to finish the creation of the service in the provided amount of time.
Nov 24 09:31:54 DietPi Lidarr[541]: Or more likely the "other party" is the same thread and there is an undetected recursive dependency or
Nov 24 09:31:54 DietPi Lidarr[541]: the scoped service creation is failed with the exception and the exception was catched but you are trying to resolve the failed service again.
Nov 24 09:31:54 DietPi Lidarr[541]: For all those reasons DryIoc has a timeout to prevent the infinite waiting.
Nov 24 09:31:54 DietPi Lidarr[541]: You may change the default timeout via `Scope.WaitForScopedServiceIsCreatedTimeoutTicks=NewNumberOfTicks`
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.ContainerException.WithDetails(Object details, Int32 error, Object arg0, Object arg1, Object arg2, Object arg3) in /_/src/DryIoc/Container.cs:line 14339
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Scope.WaitForItemIsSet(ImMapEntry`1 itemRef) in /_/src/DryIoc/Container.cs:line 13176
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11012
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 12082
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Factory.GetExpressionOrDefault(Request request) in /_/src/DryIoc/Container.cs:line 11038
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Container.ResolveAndCacheKeyed(Int32 serviceTypeHash, Type serviceType, Object serviceKey, IfUnresolved ifUnresolved, Object scopeName, Type requiredServiceType, Request preResolveParent, Object[] args) in /_/src/DryIoc/Container.cs:line 541
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 434
Nov 24 09:31:54 DietPi Lidarr[541]: at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 344
Nov 24 09:31:54 DietPi Lidarr[541]: at Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider.GetHandlerAsync(HttpContext context, String authenticationScheme)
Nov 24 09:31:54 DietPi Lidarr[541]: at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
Nov 24 09:31:54 DietPi Lidarr[541]: at Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator.AuthenticateAsync(AuthorizationPolicy policy, HttpContext context)
Nov 24 09:31:54 DietPi Lidarr[541]: at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Nov 24 09:31:54 DietPi Lidarr[541]: at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Nov 24 09:31:54 DietPi Lidarr[541]: at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
[***]
Nov 24 09:31:55 DietPi Lidarr[541]: SQLite error (1): near "SHOW": syntax error in "SHOW server_version"
Nov 24 09:32:13 DietPi Lidarr[541]: [Info] Lidarr.Http.Authentication.BasicAuthenticationHandler: Basic was not authenticated. Failure message: Authorization header missing.
Nov 24 09:32:13 DietPi Lidarr[541]: [Info] Lidarr.Http.Authentication.BasicAuthenticationHandler: Basic was not authenticated. Failure message: Authorization header missing.
Nov 24 09:32:13 DietPi Lidarr[541]: SQLite error (1): near "SHOW": syntax error in "SHOW server_version"
Nov 24 09:32:13 DietPi Lidarr[541]: SQLite error (11): database corruption at line 3641 of [df5c253c0b]
Nov 24 09:32:13 DietPi Lidarr[541]: SQLite error (11): statement aborts at 31: [SELECT "Artists"."Id" AS "ArtistId",
"Albums"."Id" AS "AlbumId",
COUNT("Tracks"."Id") AS "TotalTrackCount",
S
Nov 24 09:32:13 DietPi Lidarr[541]: [Warn] LidarrErrorPipeline: System.Data.SQLite.SQLiteException: database disk image is malformed
Nov 24 09:32:13 DietPi Lidarr[541]: database disk image is malformed
Nov 24 09:32:13 DietPi Lidarr[541]: [v2.7.1.4417] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
Nov 24 09:32:13 DietPi Lidarr[541]: database disk image is malformed
Nov 24 09:32:13 DietPi Lidarr[541]: at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
Nov 24 09:32:13 DietPi Lidarr[541]: at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
Nov 24 09:32:13 DietPi Lidarr[541]: at System.Data.SQLite.SQLiteDataReader.NextResult()
Nov 24 09:32:13 DietPi Lidarr[541]: at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
Nov 24 09:32:13 DietPi Lidarr[541]: at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
Nov 24 09:32:13 DietPi Lidarr[541]: at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1142
Nov 24 09:32:13 DietPi Lidarr[541]: at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1161
Nov 24 09:32:13 DietPi Lidarr[541]: at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
Nov 24 09:32:13 DietPi Lidarr[541]: at NzbDrone.Core.ArtistStats.ArtistStatisticsRepository.Query(SqlBuilder builder, String template) in ./Lidarr.Core/ArtistStats/ArtistStatisticsRepository.cs:line 64
Nov 24 09:32:13 DietPi Lidarr[541]: at NzbDrone.Core.ArtistStats.ArtistStatisticsRepository.ArtistStatistics() in ./Lidarr.Core/ArtistStats/ArtistStatisticsRepository.cs:line 32
Nov 24 09:32:13 DietPi Lidarr[541]: at NzbDrone.Core.ArtistStats.ArtistStatisticsService.<ArtistStatistics>b__3_0() in ./Lidarr.Core/ArtistStats/ArtistStatisticsService.cs:line 41
Nov 24 09:32:13 DietPi Lidarr[541]: at NzbDrone.Common.Cache.Cached`1.Get(String key, Func`1 function, Nullable`1 lifeTime) in ./Lidarr.Common/Cache/Cached.cs:line 99
Nov 24 09:32:13 DietPi Lidarr[541]: at NzbDrone.Core.ArtistStats.ArtistStatisticsService.ArtistStatistics() in ./Lidarr.Core/ArtistStats/ArtistStatisticsService.cs:line 41
Nov 24 09:32:13 DietPi Lidarr[541]: at Lidarr.Api.V1.Artist.ArtistController.AllArtists(Nullable`1 mbId) in ./Lidarr.Api.V1/Artist/ArtistController.cs:line 136
Nov 24 09:32:13 DietPi Lidarr[541]: at lambda_method250(Closure , Object , Object[] )
Nov 24 09:32:13 DietPi Lidarr[541]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
Nov 24 09:32:13 DietPi Lidarr[541]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
Nov 24 09:32:13 DietPi Lidarr[541]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Nov 24 09:32:13 DietPi Lidarr[541]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
Nov 24 09:32:13 DietPi Lidarr[541]: --- End of stack trace from previous location ---
[***]
Nov 24 13:38:58 DietPi systemd[1]: Stopped lidarr.service - Lidarr (DietPi).
Nov 24 13:38:58 DietPi systemd[1]: lidarr.service: Consumed 3min 27.636s CPU time.
Nov 24 13:39:57 DietPi systemd[1]: Started lidarr.service - Lidarr (DietPi).
Nov 24 13:40:02 DietPi Lidarr[25634]: [Info] Bootstrap: Starting Lidarr - /opt/lidarr/Lidarr - Version 2.7.1.4417
Nov 24 13:40:02 DietPi Lidarr[25634]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/lidarr]
Nov 24 13:40:02 DietPi Lidarr[25634]: [Debug] Bootstrap: Console selected
Nov 24 13:40:02 DietPi Lidarr[25634]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/lidarr]
Nov 24 13:40:06 DietPi Lidarr[25634]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/lidarr]
Nov 24 13:40:09 DietPi Lidarr[25634]: [Info] MigrationController: *** Migrating data source=/mnt/dietpi_userdata/lidarr/lidarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
Nov 24 13:40:09 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
Nov 24 13:40:09 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Nov 24 13:40:09 DietPi Lidarr[25634]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] DatabaseEngineVersionCheck: SQLite 3.40.1
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.3519728s
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.3655063s
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] MigrationController: *** Migrating data source=/mnt/dietpi_userdata/lidarr/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
Nov 24 13:40:10 DietPi Lidarr[25634]: SQLite notice (283): recovered 6 frames from WAL file /var/log/lidarr/logs.db-wal
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] DatabaseEngineVersionCheck: SQLite 3.40.1
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0154216s
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
Nov 24 13:40:10 DietPi Lidarr[25634]: [Info] FluentMigrator.Runner.MigrationRunner: => 0.0171352s
Nov 24 13:40:13 DietPi Lidarr[25634]: [Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:8686
Nov 24 13:40:16 DietPi Lidarr[25634]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 13:40:17 DietPi Lidarr[25634]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 13:40:17 DietPi Lidarr[25634]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 13:40:17 DietPi Lidarr[25634]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 13:40:17 DietPi Lidarr[25634]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 13:40:21 DietPi Lidarr[25634]: [Info] Microsoft.Hosting.Lifetime: Application started. Press Ctrl+C to shut down.
Nov 24 13:40:21 DietPi Lidarr[25634]: [Info] Microsoft.Hosting.Lifetime: Hosting environment: Production
Nov 24 13:40:21 DietPi Lidarr[25634]: [Info] Microsoft.Hosting.Lifetime: Content root path: /
Nov 24 13:40:21 DietPi Lidarr[25634]: SQLite error (1): near "SHOW": syntax error in "SHOW server_version"
Nov 24 13:40:22 DietPi Lidarr[25634]: [Info] ManagedHttpDispatcher: IPv4 is available: True, IPv6 will be disabled
Nov 24 13:40:30 DietPi Lidarr[25634]: [Info] RootFolderWatchingService: Watching directory /mnt/samba2/
strangely, the web UI currently works for sonarr radarr prowlarr and bittorrent;
it does not work for lidarr or the dietpi dashboard. i am using ssh to access the pi.
(guessing that the web UI not working for lidarr is interfering somehow with the dashboard)
was thinking to remove lidarr using dietpi-software
and then reboot, and re-install lidarr?
thank you.