Update crashing on Fedora

Update is crashing since around august on FC22 it seems. Always the same error.
Currently running 2.0.0.3357 and both stable and development branch updates are failing.
Mono Version4.0.1 (tarball Wed Jun 3 06:56:08 UTC 2015)

In the main log file with debug logging enabled Sonarr will log when its starting the update client, something like:

mono --debug /tmp/nzbdrone_update/NzbDrone.Update.exe 891 /tmp/nzbdrone_update /opt/NzbDrone/NzbDrone.exe /nobrowser

Can you look for that line and try running it in a terminal manually?

I had to set it to trace logging to get the line, here is the output:
(it just hangs at the last line and I have to ctrl-c)

If you run mono --version what do you get back?

Thats the same issue in another Fedora update thread, not sure how it fails on nlog as thats heavily used in the main application.

Sorry for being slow with responding, I didn’t see the notification.

/# mono --version
Mono JIT compiler version 2.10.8 (tarball Sat Jun 7 14:11:04 UTC 2014)
Copyright © 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: debugger softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)

The rpm is mono-core-2.10.8-7.fc21.x86_64 (it seems to install an FC21 version for FC22, there is no FC22 specific version.)

Looks like you have two versions of mono on there, when Sonarr is running you have 4.0.1 which works, but the mono on the path (found when you run mono --version) is only 2.10, which won’t work with Sonarr.

You’ll need to get rid of the old version and have the correct version on the path so Sonarr can find it.

That was some good spotting, I had missed that… Seems I had a tarball mono version as well. (Its been a while since ive installed this lol)
removed the mono rpm’s, made a link in /usr/sbin just to be sure and now it works.
Update ran smoothly and latest version is running.

1 Like

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