Please Help: Failed to connect to bus: No such file or directory

Creating a bug report/issue

I am a noob.
I have searched the existing open and closed issues
I believe none of the services are running - I get the error code for all “systemctl” and “journalctl” attempts.
Here is the log and other info…

  • Reference code: ace09c04-7696-4c3f-87d8-5ab60e0f1357

Please file a related bug report at GitHub or our forum:

Details:

  • Date | 2024-11-23 17:20:35
  • Bug report | ace09c04-7696-4c3f-87d8-5ab60e0f1357
  • Bug report | ace09c04-7696-4c3f-87d8-5ab60e0f1357
  • Program name | DietPi-Software
  • Command | systemctl stop sonarr
  • Exit code | 1
  • DietPi version | v9.8.0 (MichaIng/master)
  • Distro version | bookworm (ID=7,RASPBIAN=0)
  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Architecture | arm64
  • Hardware model | RPi 3 Model B+ (aarch64) (ID=3)
  • Power supply | (EG: RAVPower 5V 1A)
  • SD card | (EG: SanDisk Ultra 16 GB)

Steps to reproduce:

  1. … root@DietPi:~# systemctl status sonarr radarr lidarr
    Failed to connect to bus: No such file or directory
  2. … root@DietPi:~# journalctl -u sonarr.service
    – No entries –

Expected behaviour:

Actual behaviour:

Extra details:

Additional logs:

Failed to connect to bus: No such file or directory

Can you do following

dietpi-services status

Thank you for the help. This is weird - I shut down the pi last night after posting my request. I made dinner and did some other stuff, then booted it up and let it sit overnight. It seems to be working fine?

At any rate, here is the response to dietpi-services status:

root@DietPi:~# dietpi-services status

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: status 

[  OK  ] DietPi-Services | nmbd                 active (running) since Sat 2024-11-23 19:55:43 PST; 13h ago
[  OK  ] DietPi-Services | smbd                 active (running) since Sat 2024-11-23 19:55:45 PST; 13h ago
[  OK  ] DietPi-Services | qbittorrent          active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | sonarr               active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | radarr               active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | lidarr               active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | prowlarr             active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | readarr              active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | cron                 active (running) since Sat 2024-11-23 19:55:33 PST; 13h ago
[  OK  ] DietPi-Services | dropbear             active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | openvpn              active (exited) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | dietpi-vpn           active (running) since Sat 2024-11-23 19:55:36 PST; 13h ago
[ INFO ] DietPi-Services | dietpi-cloudshell    inactive (dead)
[  OK  ] DietPi-Services | dietpi-dashboard     active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
[  OK  ] DietPi-Services | dietpi-ramlog        active (exited) since Sat 2024-11-23 19:55:33 PST; 13h ago
[  OK  ] DietPi-Services | dietpi-preboot       active (exited) since Sat 2024-11-23 19:55:34 PST; 13h ago
[  OK  ] DietPi-Services | dietpi-postboot      active (exited) since Sat 2024-11-23 19:55:35 PST; 13h ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  inactive (dead)

FWIW, systemctl status returns enabled and active (running) for the -arr services.
Except I get this error with radarr:

root@DietPi:~# systemctl status radarr
● radarr.service - Radarr (DietPi)
     Loaded: loaded (/etc/systemd/system/radarr.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
   Main PID: 544 (Radarr)
      Tasks: 17 (limit: 1069)
        CPU: 9min 38.018s
     CGroup: /system.slice/radarr.service
             └─544 /opt/radarr/Radarr -nobrowser -data=/mnt/dietpi_userdata/radarr

Nov 24 08:47:34 DietPi Radarr[544]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 08:47:34 DietPi Radarr[544]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 08:47:34 DietPi Radarr[544]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 08:47:34 DietPi Radarr[544]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 08:47:34 DietPi Radarr[544]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"
Nov 24 08:47:34 DietPi Radarr[544]: SQLite error (5): database is locked in "PRAGMA cache_size=-20000"

Thank you again for the help and the great product - it is fun to learn on this pi.

I don’t have a solution but found this. https://www.reddit.com/r/radarr/comments/j0wo3u/sqlite_error_5_database_is_locked_in_pragma_cache/?rdt=58099
Looks like to many operations on Radarr or slow disk I/O? Maybe you would need to check with Radarr guys for support.

thank you for that. seems as tho the SQLite Error is “normal” for DB operations.

meanwhile, i was verifying the web UI for each of the -arr apps but then lidarr web UI gave me a “Failed to load Lidarr”

i use the dashboard app to get a terminal window, and the banner shows that this pi is running warm, with high load averages - the same as before.

the dietpi-services status command shows OK for active, and INFO for inactive, as before.
the systemctl status lidarr returns this:

● lidarr.service - Lidarr (DietPi)
     Loaded: loaded (/etc/systemd/system/lidarr.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-11-23 19:55:35 PST; 13h ago
   Main PID: 541 (Lidarr)
      Tasks: 17 (limit: 1069)
        CPU: 1h 7min 58.401s
     CGroup: /system.slice/lidarr.service
             └─541 /opt/lidarr/Lidarr -nobrowser -data=/mnt/dietpi_userdata/lidarr

Nov 24 09:32:22 DietPi Lidarr[541]:    at Lidarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Lidarr.Http/Middleware/IfModifiedMiddleware.cs:line 40
Nov 24 09:32:22 DietPi Lidarr[541]:    at Lidarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Lidarr.Http/Middleware/CacheHeaderMiddleware.cs:line 32
Nov 24 09:32:22 DietPi Lidarr[541]:    at Lidarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Lidarr.Http/Middleware/StartingUpMiddleware.cs:line 37
Nov 24 09:32:22 DietPi Lidarr[541]:    at Lidarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Lidarr.Http/Middleware/UrlBaseMiddleware.cs:line 28
Nov 24 09:32:22 DietPi Lidarr[541]:    at Lidarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Lidarr.Http/Middleware/VersionMiddleware.cs:line 28
Nov 24 09:32:22 DietPi Lidarr[541]:    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
Nov 24 09:32:22 DietPi Lidarr[541]:    at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
Nov 24 09:32:22 DietPi Lidarr[541]:    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Nov 24 09:32:22 DietPi Lidarr[541]:    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Nov 24 09:32:22 DietPi Lidarr[541]:    at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

idk what that is, but guessing it is related to lidarr web UI not loading…?
before these problems began, i had accessed lidarr web UI, and began to set it up, but got distracted by other stuff and never completed the set up.
thank you again.

You can use htop to check system usage. And to check Lidarr logs, following will do

journalctl -u lidarr.service

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.

There seems to be some issues with the database for Lidarr. Probably best to remove, reboot and install again a fresh version.

There should be no relation between our Dashboard and Lidarr as both using different ports

sorry for my confusion on how things worked. i thought the pi had a web server (akin to an IP address the way i conceptualized it, but different than the MAC ID) and that each app running on the pi used its own port (the 4-digits added to an IP address after the : ) to connect itself to that shared web server in order to create the web UI for each app or service…
TIL each service or app has its own web server running behind its respective port - there is no shared web server.

At any rate, yes, i did the remove, reboot, and install fresh using dietpi-software
Have not attempted to access lidarr web UI, but the dashboard is working and so are the other -arr apps.
I think when I go into lidarr to set it up, I will not have it attempt to look thru my library to monitor what i have…my half-assed attempt to do that is what i think “broke” the DB earlier…

thanks again for your help!

welp, never mind on that…

i stepped away to eat lunch. came back, tried to load the sonarr web ui and after a long wait got: Failed to load series from API
opened terminal and journalctl -u sonarr.service returned some errors and database is locked:

Nov 25 12:12:45 DietPi Sonarr[3516]: [Info] RssSyncService: Starting RSS Sync
Nov 25 12:13:02 DietPi Sonarr[3516]: [Info] DownloadDecisionMaker: Processing 247 releases
Nov 25 12:13:05 DietPi Sonarr[3516]: [Info] RssSyncService: RSS Sync Completed. Reports found: 247, Reports grabbed: 0
Nov 25 12:15:51 DietPi Sonarr[3516]: [Error] EventAggregator: TaskManager failed while processing [CommandExecutedEvent]
Nov 25 12:15:51 DietPi Sonarr[3516]: [v3.0.10.1566] code = Busy (5), message = System.Data.SQLite.SQLiteException (0x800007AF): database is locked
Nov 25 12:15:51 DietPi Sonarr[3516]: database is locked
Nov 25 12:15:51 DietPi Sonarr[3516]:   at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x000ba] in <cf516e4846354910b3d60749c894b1bf>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at System.Data.SQLite.SQLiteDataReader.NextResult () [0x00174] in <cf516e4846354910b3d60749c894b1bf>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x0008e] in <cf516e4846354910b3d60749c894b1bf>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
Nov 25 12:15:51 DietPi Sonarr[3516]:   at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <cf516e4846354910b3d60749c894b1bf>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <cf516e4846354910b3d60749c894b1bf>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <cf516e4846354910b3d60749c894b1bf>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at Marr.Data.QGen.UpdateQueryBuilder`1[T].Execute () [0x00046] in <83eb267e1f914726a4824125d3294f2b>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at NzbDrone.Core.Datastore.BasicRepository`1[TModel].SetFields (TModel model, System.Linq.Expressions.Expression`1[System.Func`2[TModel,System.Object]][] properties) [0x000c1] in <2e2eb3299cf24ca8853f2c19824fd206>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at NzbDrone.Core.Jobs.ScheduledTaskRepository.SetLastExecutionTime (System.Int32 id, System.DateTime executionTime) [0x00066] in <2e2eb3299cf24ca8853f2c19824fd206>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at NzbDrone.Core.Jobs.TaskManager.Handle (NzbDrone.Core.Messaging.Events.CommandExecutedEvent message) [0x0006c] in <2e2eb3299cf24ca8853f2c19824fd206>:0
Nov 25 12:15:51 DietPi Sonarr[3516]:   at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent] (TEvent event) [0x0011a] in <2e2eb3299cf24ca8853f2c19824fd206>:0

somewhat strangely, web ui for radarr works.
dashboard also works.
have not tried lidarr web ui.

so im back to idk?
maybe something with SQLite?
thanks again for any help.