Unable to access Sonarr, Radarr, and Lidarr Web UI

Having issues with your DietPi installation or found a bug? Post it here.
wiggley
Posts: 6
Joined: Sat Dec 05, 2020 5:19 pm

Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by wiggley »

I'm not sure what caused it, but I can no longer access Sonarr, Radarr, and Lidarr's Web UI's. I used Dietpi-Software and have them installed on a RPi4. I have tried accessing them from the RPi4 itself using localhost:8989, localhost:7878, and localhost:8686. I get the error refused to connect. I've already reinstalled all of them. I also uninstalled all of them plus mono, rebooted and reinstalled. Still the web ui will not load. I can access other web uis such as NZBGet using localhost:6789. Which logs would be helpful? Thanks in advance. v 7.5.2
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by Joulinar »

Hi,

can you check if the apps are running and LISTEN correctly.

Code: Select all

ss -tulpn | grep LISTEN
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wiggley
Posts: 6
Joined: Sat Dec 05, 2020 5:19 pm

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by wiggley »

It doesn't look like they are showing up as listening.

Code: Select all

root@DietPi:~# ss -tulpn | grep LISTEN
tcp     LISTEN   0        128            127.0.0.1:45901          0.0.0.0:*      users:(("Plex Script Hos",pid=32537,fd=4))                                     
tcp     LISTEN   0        1024             0.0.0.0:80             0.0.0.0:*      users:(("lighttpd",pid=1647,fd=4))                                             
tcp     LISTEN   0        1024           127.0.0.1:32401          0.0.0.0:*      users:(("Plex Media Serv",pid=1670,fd=57))                                     
tcp     LISTEN   0        128            127.0.0.1:39891          0.0.0.0:*      users:(("Plex Script Hos",pid=1843,fd=8))                                      
tcp     LISTEN   0        500              0.0.0.0:8084           0.0.0.0:*      users:(("mono",pid=384,fd=5))                                                  
tcp     LISTEN   0        1000             0.0.0.0:22             0.0.0.0:*      users:(("dropbear",pid=574,fd=3))                                              
tcp     LISTEN   0        128            127.0.0.1:40119          0.0.0.0:*      users:(("Plex Script Hos",pid=32365,fd=4))                                     
tcp     LISTEN   0        128            127.0.0.1:32600          0.0.0.0:*      users:(("Plex Tuner Serv",pid=2032,fd=10))                                     
tcp     LISTEN   0        128            127.0.0.1:39385          0.0.0.0:*      users:(("Plex Script Hos",pid=32457,fd=4))                                     
tcp     LISTEN   0        50               0.0.0.0:445            0.0.0.0:*      users:(("smbd",pid=653,fd=31))                                                 
tcp     LISTEN   0        100              0.0.0.0:6789           0.0.0.0:*      users:(("nzbget",pid=1655,fd=4))                                               
tcp     LISTEN   0        80             127.0.0.1:3306           0.0.0.0:*      users:(("mysqld",pid=896,fd=25))                                               
tcp     LISTEN   0        511            127.0.0.1:6379           0.0.0.0:*      users:(("redis-server",pid=745,fd=7))                                          
tcp     LISTEN   0        50               0.0.0.0:139            0.0.0.0:*      users:(("smbd",pid=653,fd=32))                                                 
tcp     LISTEN   0        5                0.0.0.0:5900           0.0.0.0:*      users:(("vncserver-x11-c",pid=611,fd=11))                                      
tcp     LISTEN   0        1024                   *:32400                *:*      users:(("Plex Media Serv",pid=1670,fd=56))                                     
tcp     LISTEN   0        1024                [::]:80                [::]:*      users:(("lighttpd",pid=1647,fd=5))                                             
tcp     LISTEN   0        1000                [::]:22                [::]:*      users:(("dropbear",pid=574,fd=4))                                              
tcp     LISTEN   0        50                  [::]:445               [::]:*      users:(("smbd",pid=653,fd=29))                                                 
tcp     LISTEN   0        511                [::1]:6379              [::]:*      users:(("redis-server",pid=745,fd=8))                                          
tcp     LISTEN   0        50                  [::]:139               [::]:*      users:(("smbd",pid=653,fd=30))                                                 
tcp     LISTEN   0        5                   [::]:5900              [::]:*      users:(("vncserver-x11-c",pid=611,fd=10))
After deleting and reinstalling sonarr, the config file was empty except for the log level. I copied a back up config in. Restarted the services and sonarr still isn't listening. Thank you for your help.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by Joulinar »

ok let's check status of services

Code: Select all

systemctl status sonarr radarr lidarr
as well let's check journalctl

Code: Select all

journalctl -u sonarr
journalctl -u radarr
journalctl -u lidarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wiggley
Posts: 6
Joined: Sat Dec 05, 2020 5:19 pm

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by wiggley »

Services

Code: Select all

● sonarr.service - Sonarr Daemon (DietPi)
   Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: 
enabled)
   Active: active (running) since Tue 2021-08-24 16:34:06 EDT; 24min ago
 Main PID: 12544 (mono)
    Tasks: 8 (limit: 4103)
   CGroup: /system.slice/sonarr.service
           └─12544 /usr/bin/mono /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr

Aug 24 16:34:06 DietPi systemd[1]: Started Sonarr Daemon (DietPi).
Aug 24 16:34:08 DietPi Sonarr[12544]: [Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/bin/Sonarr.exe - Version 3.0.6.1196
Aug 24 16:34:09 DietPi Sonarr[12544]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/sonarr]
Aug 24 16:34:10 DietPi Sonarr[12544]: [Fatal] ConsoleApp: EPIC FAIL!
Aug 24 16:34:10 DietPi Sonarr[12544]: [v3.0.6.1196] NzbDrone.Common.Exceptions.SonarrStartupException: Sonarr failed to start: /mnt/dietpi_userdata/sonarr/config.xml is corrupt is invalid. Please delete the config file and Sonarr will recreate it.
Aug 24 16:34:10 DietPi Sonarr[12544]:   at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x000a5] in <cdd75a120edb431d9c91458d8301425e>:0
Aug 24 16:34:10 DietPi Sonarr[12544]:   at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00036] in <d3e8c2154bb6424c8b22231238bcffde>:0
Aug 24 16:34:10 DietPi Sonarr[12544]: Press enter to exit...
Aug 24 16:34:11 DietPi Sonarr[12544]: Non-recoverable failure, waiting for user intervention...

Code: Select all

● radarr.service - Radarr Daemon (DietPi)
   Loaded: loaded (/etc/systemd/system/radarr.service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-08-24 16:58:09 EDT; 3s ago
 Main PID: 19935 (Radarr)
    Tasks: 12 (limit: 4103)
   CGroup: /system.slice/radarr.service
           └─19935 /opt/radarr/Radarr -nobrowser -data=/mnt/dietpi_userdata/radarr

Aug 24 16:58:09 DietPi systemd[1]: Started Radarr Daemon (DietPi).
Aug 24 16:58:11 DietPi Radarr[19935]: [Info] Bootstrap: Starting Radarr - /opt/radarr/Radarr - Version 3.2.2.5080

Code: Select all

● lidarr.service - Lidarr Daemon (DietPi)
   Loaded: loaded (/etc/systemd/system/lidarr.service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-08-24 16:58:12 EDT; 532ms ago
 Main PID: 19951 (Lidarr)
    Tasks: 9 (limit: 4103)
   CGroup: /system.slice/lidarr.service
           └─19951 /opt/lidarr/Lidarr -nobrowser -data=/mnt/dietpi_userdata/lidarr

Aug 24 16:58:12 DietPi systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart.
Aug 24 16:58:12 DietPi systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 5050.
Aug 24 16:58:12 DietPi systemd[1]: Stopped Lidarr Daemon (DietPi).
Aug 24 16:58:12 DietPi systemd[1]: Started Lidarr Daemon (DietPi).
journalctl

Code: Select all

journalctl -u sonarr
-- Logs begin at Tue 2021-08-24 07:17:55 EDT, end at Tue 2021-08-24 17:03:25 EDT
. --
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x5558094208 - /usr/bin/mono :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x5558094524 - /usr/bin/mono :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x5558069130 - /usr/bin/mono :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x555802f650 - /usr/bin/mono :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7fa119e7c0 - linux-vdso.so.1 : __kernel_rt_sigreturn
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f6a45fc - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 : sqlite3_stmt_readonly
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f6deaec - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f6ad158 - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f6ad1fc - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f6bdbe4 - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f6c7234 - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 : sqlite3_initialize
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f76d68c - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 24 07:17:55 DietPi Sonarr[24456]:         0x7f8f35f930 - Unknown
Aug 24 07:17:55 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:55 DietPi Sonarr[24456]:         Telemetry Dumper:
Aug 24 07:17:55 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:55 DietPi Sonarr[24456]: Pkilling 0x548091003264x from 0x548163641360x
Aug 24 07:17:55 DietPi Sonarr[24456]: Pkilling 0x548088902016x from 0x548163641360x
Aug 24 07:17:55 DietPi Sonarr[24456]: Pkilling 0x548111511936x from 0x548163641360x
Aug 24 07:17:55 DietPi Sonarr[24456]: Pkilling 0x548086800768x from 0x548163641360x
Aug 24 07:17:55 DietPi Sonarr[24456]: Entering thread summarizer pause from 0x548163641360x
Aug 24 07:17:55 DietPi Sonarr[24456]: Finished thread summarizer pause from 0x548163641360x.
Aug 24 07:17:55 DietPi Sonarr[24456]: Failed to create breadcrumb file (null)/crash_hash_0xc72444bb4
Aug 24 07:17:55 DietPi Sonarr[24456]: Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Aug 24 07:17:55 DietPi Sonarr[24456]: Waiting for dumping threads to resume
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi Sonarr[24456]:         External Debugger Dump:
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi Sonarr[24456]: mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi Sonarr[24456]:         Basic Fault Address Reporting
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi Sonarr[24456]: Memory around native instruction pointer (0x7f8f6a45fc):0x7f8f6a45ec  00 00 80 d2 c0 03 5f d6 1f 20 03 d5 80 00 00 b4  ......_.. ......
Aug 24 07:17:56 DietPi Sonarr[24456]: 0x7f8f6a45fc  00 18 43 39 00 00 00 12 c0 03 5f d6 20 00 80 52  ..C9......_. ..R
Aug 24 07:17:56 DietPi Sonarr[24456]: 0x7f8f6a460c  c0 03 5f d6 e1 03 00 aa 00 00 80 52 e1 00 00 b4  .._........R....
Aug 24 07:17:56 DietPi Sonarr[24456]: 0x7f8f6a461c  23 24 40 b9 62 b4 81 52 42 be a5 72 00 00 80 52  #$@.b..RB..r...R
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi Sonarr[24456]:         Managed Stacktrace:
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi Sonarr[24456]:           at <unknown> <0xffffffff>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at System.Data.SQLite.UnsafeNativeMethods:sqlite3_open_v2 <0x00007>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at System.Data.SQLite.SQLite3:Open <0x00187>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at System.Data.SQLite.SQLiteConnection:Open <0x0103b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.Processors.GenericProcessorBase:EnsureConnectionIsOpen <0x0006f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor:Exists <0x0002b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor:TableExists <0x0006f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.VersionLoader:get_AlreadyCreatedVersionTable <0x0009b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.VersionLoader:LoadVersionInfo <0x0006f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.VersionLoader:.ctor <0x0057f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.MigrationRunner:.ctor <0x0082b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at FluentMigrator.Runner.MigrationRunner:.ctor <0x0004b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Core.Datastore.Migration.Framework.MigrationController:Migrate <0x001db>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Core.Datastore.DbFactory:CreateMain <0x0007b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Core.Datastore.DbFactory:Create <0x000c7>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Core.Datastore.DbFactory:Create <0x0004f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Core.Datastore.DbFactory:RegisterDatabase <0x0005f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Host.NzbDroneServiceFactory:Start <0x0015f>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Host.Router:Route <0x0017b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Host.Bootstrap:Start <0x0011b>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Host.Bootstrap:Start <0x00237>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at NzbDrone.Console.ConsoleApp:Main <0x000d3>
Aug 24 07:17:56 DietPi Sonarr[24456]:           at <Module>:runtime_invoke_void_object <0x000eb>
Aug 24 07:17:56 DietPi Sonarr[24456]: =================================================================
Aug 24 07:17:56 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=6/ABRT
Aug 24 07:17:56 DietPi systemd[1]: sonarr.service: Failed with result 'signal'.
Aug 24 07:17:56 DietPi systemd[1]: sonarr.service: Service RestartSec=100ms expired, scheduling restart.
Aug 24 07:17:56 DietPi systemd[1]: sonarr.service: Scheduled restart job, restart counter is at 4927.
Aug 24 07:17:56 DietPi systemd[1]: Stopped Sonarr Daemon (DietPi).
Aug 24 07:17:56 DietPi systemd[1]: Started Sonarr Daemon (DietPi).
Aug 24 07:17:58 DietPi Sonarr[24490]: [Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/bin/Sonarr.exe - Version 3.0.6.1196
Aug 24 07:17:59 DietPi Sonarr[24490]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/sonarr]
Aug 24 07:18:00 DietPi Sonarr[24490]: [Info] Router: Application mode: Interactive
Aug 24 07:18:01 DietPi Sonarr[24490]: [Info] MigrationLogger: *** Checking database for required migrations data source=/mnt/dietpi_userdata/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
Aug 24 07:18:01 DietPi Sonarr[24490]: =================================================================
Aug 24 07:18:01 DietPi Sonarr[24490]:         Native Crash Reporting
Aug 24 07:18:01 DietPi Sonarr[24490]: =================================================================
Aug 24 07:18:01 DietPi Sonarr[24490]: Got a SIGSEGV while executing native code. This usually indicates
Aug 24 07:18:01 DietPi Sonarr[24490]: a fatal error in the mono runtime or one of the native libraries
Aug 24 07:18:01 DietPi Sonarr[24490]: used by your application.
Aug 24 07:18:01 DietPi Sonarr[24490]: =================================================================
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by Joulinar »

ok you shared journalctl for Sonarr only. Let's try to fix it. There is an error message about the config file

Code: Select all

/mnt/dietpi_userdata/sonarr/config.xml is corrupt is invalid. Please delete the config file and Sonarr will recreate it.
Could you try to remove it and restart Sonarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wiggley
Posts: 6
Joined: Sat Dec 05, 2020 5:19 pm

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by wiggley »

I deleted the config.xml, then restarted the services. Nginx always fails, not sure that is needed for Sonarr.

systemctl status sonarr

Code: Select all

● DietPi
    State: degraded
     Jobs: 0 queued
   Failed: 4 units
    Since: Wed 1969-12-31 19:00:01 EST; 51 years 7 months ago
   CGroup: /
           ├─user.slice
           │ └─user-0.slice
           │   ├─session-3.scope
           │   │ ├─ 572 /bin/login -f
           │   │ ├─ 609 -bash
           │   │ ├─ 620 /bin/sh /usr/bin/startx
           │   │ ├─ 685 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.gHambZj9oV
           │   │ ├─ 686 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.gHambZj9oV
           │   │ ├─1571 x-session-manager
           │   │ ├─1624 /usr/bin/dbus-launch --exit-with-session --sh-syntax
           │   │ ├─1627 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
           │   │ ├─1642 /usr/bin/ssh-agent x-session-manager
           │   │ ├─1703 /usr/lib/at-spi2-core/at-spi-bus-launcher
           │   │ ├─1710 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           │   │ ├─1714 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
           │   │ ├─1732 /usr/lib/dconf/dconf-service
           │   │ ├─1744 /usr/bin/mate-settings-daemon
           │   │ ├─1764 marco
           │   │ ├─1766 caja --no-desktop --browser
           │   │ ├─1768 /usr/lib/gvfs/gvfsd
           │   │ ├─1791 mate-panel
           │   │ ├─1865 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
           │   │ ├─1873 /usr/lib/mate-panel/wnck-applet
           │   │ ├─1875 /usr/lib/gvfs/gvfs-mtp-volume-monitor
           │   │ ├─1880 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
           │   │ ├─1890 /usr/lib/gvfs/gvfs-goa-volume-monitor
           │   │ ├─1898 /usr/lib/gvfs/gvfs-afc-volume-monitor
           │   │ ├─1904 /usr/lib/mate-panel/clock-applet
           │   │ ├─1906 /usr/lib/mate-panel/notification-area-applet
           │   │ ├─1920 /usr/lib/aarch64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1
           │   │ ├─8886 /usr/lib/gvfs/gvfsd-trash --spawner :1.9 /org/gtk/gvfs/exec_spaw/0
           │   │ └─8893 /usr/lib/gvfs/gvfsd-metadata
           │   └─user@0.service
           │     └─init.scope
           │       ├─577 /lib/systemd/systemd --user
           │       └─578 (sd-pam)
           ├─init.scope
           │ └─1 /sbin/init
           └─system.slice
             ├─systemd-udevd.service
             │ └─180 /lib/systemd/systemd-udevd
             ├─rng-tools.service
             │ └─316 /usr/sbin/rngd -r /dev/hwrng
             ├─cron.service
             │ └─742 /usr/sbin/cron -f
             ├─mariadb.service
             │ └─32672 /usr/sbin/mysqld
             ├─polkit.service
             │ └─400 /usr/lib/policykit-1/polkitd --no-debug
             ├─lighttpd.service
             │ └─323 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
             ├─accounts-daemon.service
             │ └─319 /usr/lib/accountsservice/accounts-daemon
             ├─mono-xsp4.service
             │ └─384 /usr/bin/mono /usr/lib/mono/4.5/xsp4.exe --port 8084 --address 0.0.0.0 --appconfigdir /etc/xsp4 --nonstop
             ├─nmbd.service
             │ └─32536 /usr/sbin/nmbd --foreground --no-process-group
             ├─systemd-journald.service
             │ └─135 /lib/systemd/systemd-journald
             ├─vncserver-x11-serviced.service
             │ ├─804 /usr/bin/vncserver-x11-serviced -fg
             │ ├─808 /usr/bin/vncserver-x11-core -service
             │ ├─826 /usr/bin/vncagent service 14
             │ ├─836 /usr/bin/vncserverui service 15
             │ └─849 /usr/bin/vncserverui -statusicon 5
             ├─php7.3-fpm.service
             │ ├─32725 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)
             │ ├─32741 php-fpm: pool www
             │ ├─32742 php-fpm: pool www
             │ ├─32743 php-fpm: pool www
             │ └─32744 php-fpm: pool www
             ├─snapd.service
             │ └─324 /usr/lib/snapd/snapd
             ├─radarr.service
             │ └─2494 /opt/radarr/Radarr -nobrowser -data=/mnt/dietpi_userdata/radarr
             ├─nzbget.service
             │ └─351 /mnt/dietpi_userdata/nzbget/nzbget -D
             ├─plexmediaserver.service
             │ ├─ 646 /usr/lib/plexmediaserver/Plex Media Server
             │ ├─ 718 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-1a38e63c6/Framework.bundle/Contents/Resources/Versions/2/Pyt
hon/bootstrap.py --server-version 1.24.1.4931-1a38e63c6 /usr/lib/plexmediaserver/Resources/Plug-ins-1a38e63c6/System.bundle
             │ ├─ 994 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexm
ediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.24.1.4931-1a38e63c6 32600
             │ └─1041 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-1a38e63c6/Framework.bundle/Contents/Resources/Versions/
2/Python/bootstrap.py --server-version 1.24.1.4931-1a38e63c6 /usr/lib/plexmediaserver/Resources/Plug-ins-1a38e63c6/PlexMovie.bundle
             ├─vmtouch.service
             │ └─300 /usr/bin/vmtouch -l /boot/dietpi /boot/dietpi.txt
             ├─sonarr.service
             │ └─2487 /usr/bin/mono /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
             ├─alsa-state.service
             │ └─307 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
             ├─redis-server.service
             │ └─32563 /usr/bin/redis-server 127.0.0.1:6379
             ├─udisks2.service
             │ └─309 /usr/lib/udisks2/udisksd
             ├─smbd.service
             │ ├─32546 /usr/sbin/smbd --foreground --no-process-group
             │ ├─32549 /usr/sbin/smbd --foreground --no-process-group
             │ └─32550 /usr/sbin/smbd --foreground --no-process-group
             ├─dbus.service
             │ └─312 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
             ├─lidarr.service
             │ └─2472 /opt/lidarr/Lidarr -nobrowser -data=/mnt/dietpi_userdata/lidarr
             ├─dropbear.service
             │ ├─  763 /usr/sbin/dropbear -p 22 -W 65536
             │ ├─ 2506 systemctl status
             │ ├─ 2507 pager
             │ ├─31983 /usr/sbin/dropbear -p 22 -W 65536
             │ └─31999 -bash
             ├─avahi-daemon.service
             │ ├─32526 avahi-daemon: running [DietPi.local]
             │ └─32527 avahi-daemon: chroot helper
             └─systemd-logind.service
               └─310 /lib/systemd/systemd-logind
Sonarr journalctl

Code: Select all

Aug 25 16:16:07 DietPi systemd[1]: Stopping Sonarr Daemon (DietPi)...
Aug 25 16:16:07 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=15/TERM
Aug 25 16:16:07 DietPi systemd[1]: sonarr.service: Succeeded.
Aug 25 16:16:07 DietPi systemd[1]: Stopped Sonarr Daemon (DietPi).
Aug 25 16:16:07 DietPi systemd[1]: Started Sonarr Daemon (DietPi).
Aug 25 16:16:10 DietPi Sonarr[675]: [Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/bin/Sonarr.exe - Version 3.0.6.1196
Aug 25 16:16:13 DietPi Sonarr[675]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/sonarr]
Aug 25 16:16:14 DietPi Sonarr[675]: [Info] Router: Application mode: Interactive
Aug 25 16:16:15 DietPi Sonarr[675]: [Info] MigrationLogger: *** Checking database for required migrations data source=/mnt/dietpi_userdata/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]:         Native Crash Reporting
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]: Got a SIGSEGV while executing native code. This usually indicates
Aug 25 16:16:15 DietPi Sonarr[675]: a fatal error in the mono runtime or one of the native libraries
Aug 25 16:16:15 DietPi Sonarr[675]: used by your application.
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]:         Native stacktrace:
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]:         0x556a1b4208 - /usr/bin/mono :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x556a1b4524 - /usr/bin/mono :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x556a189130 - /usr/bin/mono :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x556a14f650 - /usr/bin/mono :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa9de47c0 - linux-vdso.so.1 : __kernel_rt_sigreturn
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa42d85fc - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 : sqlite3_stmt_readonly
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa4312aec - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa42e1158 - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa42e11fc - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa42f1be4 - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa42fb234 - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 : sqlite3_initialize
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa43a168c - /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 :
Aug 25 16:16:15 DietPi Sonarr[675]:         0x7fa42bfa30 - Unknown
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]:         Telemetry Dumper:
Aug 25 16:16:15 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:15 DietPi Sonarr[675]: Pkilling 0x548233888128x from 0x548310728720x
Aug 25 16:16:15 DietPi Sonarr[675]: Could not exec mono-hang-watchdog, expected on path '/etc/../bin/mono-hang-watchdog' (errno 2)
Aug 25 16:16:15 DietPi Sonarr[675]: Pkilling 0x548238090624x from 0x548310728720x
Aug 25 16:16:15 DietPi Sonarr[675]: Pkilling 0x548258607488x from 0x548310728720x
Aug 25 16:16:15 DietPi Sonarr[675]: Pkilling 0x548235989376x from 0x548310728720x
Aug 25 16:16:15 DietPi Sonarr[675]: Entering thread summarizer pause from 0x548310728720x
Aug 25 16:16:15 DietPi Sonarr[675]: Finished thread summarizer pause from 0x548310728720x.
Aug 25 16:16:15 DietPi Sonarr[675]: Failed to create breadcrumb file (null)/crash_hash_0xc72444bb4
Aug 25 16:16:16 DietPi Sonarr[675]: Waiting for dumping threads to resume
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi Sonarr[675]:         External Debugger Dump:
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi Sonarr[675]: mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi Sonarr[675]:         Basic Fault Address Reporting
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi Sonarr[675]: Memory around native instruction pointer (0x7fa42d85fc):0x7fa42d85ec  00 00 80 d2 c0 03 5f d6 1f 20 03 d5 80 00 00 b4  ......_.. ......
Aug 25 16:16:17 DietPi Sonarr[675]: 0x7fa42d85fc  00 18 43 39 00 00 00 12 c0 03 5f d6 20 00 80 52  ..C9......_. ..R
Aug 25 16:16:17 DietPi Sonarr[675]: 0x7fa42d860c  c0 03 5f d6 e1 03 00 aa 00 00 80 52 e1 00 00 b4  .._........R....
Aug 25 16:16:17 DietPi Sonarr[675]: 0x7fa42d861c  23 24 40 b9 62 b4 81 52 42 be a5 72 00 00 80 52  #$@.b..RB..r...R
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi Sonarr[675]:         Managed Stacktrace:
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi Sonarr[675]:           at <unknown> <0xffffffff>
Aug 25 16:16:17 DietPi Sonarr[675]:           at System.Data.SQLite.UnsafeNativeMethods:sqlite3_open_v2 <0x00007>
Aug 25 16:16:17 DietPi Sonarr[675]:           at System.Data.SQLite.SQLite3:Open <0x00187>
Aug 25 16:16:17 DietPi Sonarr[675]:           at System.Data.SQLite.SQLiteConnection:Open <0x0103b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.Processors.GenericProcessorBase:EnsureConnectionIsOpen <0x0006f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor:Exists <0x0002b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor:TableExists <0x0006f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.VersionLoader:get_AlreadyCreatedVersionTable <0x0009b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.VersionLoader:LoadVersionInfo <0x0006f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.VersionLoader:.ctor <0x0057f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.MigrationRunner:.ctor <0x0082b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at FluentMigrator.Runner.MigrationRunner:.ctor <0x0004b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Core.Datastore.Migration.Framework.MigrationController:Migrate <0x001db>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Core.Datastore.DbFactory:CreateMain <0x0007b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Core.Datastore.DbFactory:Create <0x000c7>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Core.Datastore.DbFactory:Create <0x0004f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Core.Datastore.DbFactory:RegisterDatabase <0x0005f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Host.NzbDroneServiceFactory:Start <0x0015f>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Host.Router:Route <0x0017b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Host.Bootstrap:Start <0x0011b>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Host.Bootstrap:Start <0x00237>
Aug 25 16:16:17 DietPi Sonarr[675]:           at NzbDrone.Console.ConsoleApp:Main <0x000d3>
Aug 25 16:16:17 DietPi Sonarr[675]:           at <Module>:runtime_invoke_void_object <0x000eb>
Aug 25 16:16:17 DietPi Sonarr[675]: =================================================================
Aug 25 16:16:17 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=6/ABRT
Aug 25 16:16:17 DietPi systemd[1]: sonarr.service: Failed with result 'signal'.
Aug 25 16:16:17 DietPi systemd[1]: sonarr.service: Service RestartSec=100ms expired, scheduling restart.
Aug 25 16:16:17 DietPi systemd[1]: sonarr.service: Scheduled restart job, restart counter is at 1.
Aug 25 16:16:17 DietPi systemd[1]: Stopped Sonarr Daemon (DietPi).
Aug 25 16:16:17 DietPi systemd[1]: Started Sonarr Daemon (DietPi).
Aug 25 16:16:19 DietPi Sonarr[923]: [Info] Bootstrap: Starting Sonarr - /usr/lib/sonarr/bin/Sonarr.exe - Version 3.0.6.1196
Aug 25 16:16:20 DietPi Sonarr[923]: [Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/sonarr]
Aug 25 16:16:21 DietPi Sonarr[923]: [Info] Router: Application mode: Interactive
Aug 25 16:16:23 DietPi Sonarr[923]: [Info] MigrationLogger: *** Checking database for required migrations data source=/mnt/dietpi_userdata/sonarr/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
Aug 25 16:16:23 DietPi Sonarr[923]: =================================================================
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by Joulinar »

Nginx would be a different issue not related to Sonarr. Can you share

Code: Select all

systemctl status sonarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wiggley
Posts: 6
Joined: Sat Dec 05, 2020 5:19 pm

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by wiggley »

Code: Select all

 sonarr.service - Sonarr Daemon (DietPi)
   Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2021-08-25 18:54:50 EDT; 5ms ago
 Main PID: 27752 ((mono))
    Tasks: 0 (limit: 4103)   
    CGroup: /system.slice/sonarr.service
           └─27752 (mono)

Aug 25 18:54:50 DietPi systemd[1]: Started Sonarr Daemon (DietPi).
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to access Sonarr, Radarr, and Lidarr Web UI

Post by Joulinar »

question: you are running RPi4. right?

What is you OS version? 32 or 64bit?
Are you running Debian Buster or Debian Bullseye?

How does it behave if you try to start Sonarr manually.

Code: Select all

systemctl stop sonarr.service
sudo -u sonarr /usr/bin/mono /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply