Mono & Sonarr
|
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Solved]
Aug 16, 2015, 08:42 PM
Hi
I'm running sonarr and under System > About I have this:
Sonarr: Version 2.0.0.3357
Mono Version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)
But if I run: mono --version
It gives me:
Mono JIT compiler version 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
I have never installed Mono Version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)
I have installed 3.10 using guides from here.
I'm using minibian.
You can find the reason I'm asking in this post i the sonarr forum:
https://forums.sonarr.tv/t/unable-to-con...posed/6664
How do I remove the old mono?
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Aug 16, 2015, 08:44 PM
I remember you had this issue, I wasn't able to reproduce it though. What does your init.d script say?
Usually it is because you have a mono in /usr/bin/mono and /usr/local/bin/mono and the init.d script is pointing to the wrong one.
What does this command say
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Solved]
Aug 16, 2015, 08:46 PM
(This post was last modified: Aug 16, 2015, 08:46 PM by manne.)
(Aug 16, 2015, 08:44 PM)Mike Wrote:
I had to run with Sudo:
/usr/bin/mono
/usr/local/bin/mono
/usr/local/share/mono-2.0/mono
/usr/local/etc/mono
/usr/local/lib/mono
/usr/local/include/mono-2.0/mono
/usr/share/mono
/usr/share/mono-2.0/mono
/usr/share/doc/mono
/usr/share/cli-common/runtimes.d/mono
/usr/lib/mono
/etc/mono
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Aug 16, 2015, 08:48 PM
Need your init.d script as well, if you used mine then change this line
Code:
# path to mono bin
DAEMON=/usr/local/bin/mono
Are you using my Minibian image or did you get the original author's version?
I have tested on Banana and Raspberry Pi and it always shows mono 3.10 from what I remember.
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Solved]
Aug 16, 2015, 08:52 PM
(Aug 16, 2015, 08:48 PM)Mike Wrote: Are you using my Minibian image or did you get the original author's version?
I have tested on Banana and Raspberry Pi and it always shows mono 3.10 from what I remember.
I'm using the original author's version. (Didn't know you had one when I begun)
I found this when I run this: sudo nano /etc/init.d/nzbdrone
############### EDIT ME ##################
# path to app
APP_PATH=/opt/NzbDrone
# user
RUN_AS=pi
# path to mono bin
DAEMON=$(which mono)
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Aug 16, 2015, 08:55 PM
Yea that is what it should be, which mono should return /usr/local/bin/mono not /usr/bin/mono
The only thing I can think is that libmono-cil-dev is installing mono for you for some reason, doing a quick test now on Jessie to see if i can replicate.
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Solved]
Aug 16, 2015, 08:56 PM
(This post was last modified: Aug 16, 2015, 09:11 PM by manne.)
Should I change the line to:
DAEMON=/usr/local/bin/mono
I changed it and rebooted:
sonarr about is giving me now:
Mono Version
3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
Looks like it worked. But How can I remove the "dirty" one
I maybe should wait a couple of days before removing it. Just to see how this one works :p
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Aug 16, 2015, 09:13 PM
You can backup the old one, flip it to restore it if the old one is not stable
Code:
mv /usr/bin/mono /usr/bin/monodirty
Then which mono in the init.d script should work again too
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Solved]
Aug 16, 2015, 09:22 PM
(This post was last modified: Aug 16, 2015, 09:25 PM by manne.)
(Aug 16, 2015, 09:13 PM)Mike Wrote: You can backup the old one, flip it to restore it if the old one is not stable
Code:
mv /usr/bin/mono /usr/bin/monodirty
Then which mono in the init.d script should work again too
I just did that and sonarr is not starting after reboot
But if I have:
DAEMON=/usr/local/bin/mono
reboot. then it works
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Aug 16, 2015, 09:44 PM
(This post was last modified: Aug 16, 2015, 09:48 PM by Mike.)
I have finished testing and it is the Pi 2 that installs mono from libmono-cil-dev whereas the Banana Pi does not.
Simply moving it isn't working even though it is using the new binary so just pointing the DAEMON value to /usr/local/bin/mono is the way to go.
I updated the installer to automate this and the manual guide to reflect this change, thanks manne
|
|
Recent Posts
|
Running Plex over a Split Tunnel VPN
jonescelinaa Apr 27, 2024, 09:19 AM
|
About Swap
jonescelinaa Apr 10, 2024, 06:58 AM
|
Tracker Status: Error Connection Time Out
jonesPhedra Apr 04, 2024, 08:17 AM
|
Plex server not powerful enough, but only with s...
jonesPhedra Mar 27, 2024, 03:02 AM
|
game Geometry Dash Scratch
jonescelinaa Jan 31, 2024, 04:21 AM
|
Latest unread posts | Unanswered posts |
|