Mono 3.10 not auto starting

Sonarr version (exact version):
Mono version 3.10:
**OSJessica:
**((Debug logs))http://pastebin.com/VVP66Tud:

Description of issue:

I have ran into the same issue, and I can’t see were the issue is.

I have rebuild my Sonarr Raspberry due to SD Card issue, and I am trying to get this one to work.

I have followed this procedure to install the new Sonarr on a new Raspberry image.
install-sonarr-raspberry-pi-2-latest-stable-mono

I got no errors during the installation
but then I reboot, I see that the mono is not running.

and if I mono /opt/NzbDrone/NzbDrone.exe I get

pi@raspberrypi:~ $ mono /opt/NzbDrone/NzbDrone.exe
[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.4645
[Info] MigrationLogger: *** Migrating data source=/home/pi/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Migrating data source=/home/pi/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] Router: Application mode: Interactive
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://*:8989/
[Info] NancyBootstrapper: Starting Web Server
[Info] RssSyncService: Starting RSS Sync
[Warn] FetchAndParseRssService: No available indexers. check your configuration.
[Info] DownloadDecisionMaker: No results found
[Info] RssSyncService: RSS Sync Completed. Reports found: 0, Reports grabbed: 0

and I get the loading indicators (bouncing balls)
I have check my mono file location

find / -name mono
/usr/lib/mono
/usr/share/mono-2.0/mono
/usr/share/mono
/usr/share/cli-common/runtimes.d/mono
/usr/share/doc/mono
/usr/bin/mono
/usr/local/etc/mono
/usr/local/lib/mono
/usr/local/share/mono-2.0/mono
/usr/local/bin/mono
/usr/local/include/mono-2.0/mono

and when I ran mono --version I get
Mono JIT compiler version 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

I have rebuild it 3 times, and I get find out why I am not able to get it to auto start.

I look forward to hearing from you.

Does that guide include setting up starting on boot? Just installing mono/Sonarr won’t automatically start it on boot.

Hi mark

yes. The procedure does take about - Auto Starting are reboot.

here is the example from the above link

sudo nano /etc/init.d/nzbdrone
cut and paste code
sudo chmod +x /etc/init.d/nzbdrone
sudo update-rc.d nzbdrone defaults 98

As this really deals more with startup scripts than Sonarr, this is something you should ask on the OSjessica forum/irc channel.

However, things to look at:

  • Make sure your system is actually using init and not upstart or systemd
  • Read line by line through the init script to make sure the paths and daemon user is correct for your system
  • Look at the error logs for the service to see what it is doing
  • Look at ps aux | grep mono to see what user the service is running as after a reboot

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.