Fix applied to master branch… guide for those stuck on mono 5.10, originally posted on reddit:
If you already have mono 5.10 and can’t get Sonarr to run, you don’t need to downgrade mono, instead follow these steps:
(TL;DR for powerusers: Just replace the NLog.dll and fix permissions, then update sonarr.)
-
Check where Sonarr is installed, on ubuntu this is
/opt/NzbDrone, but this may vary. Replace/opt/NzbDronewith the correct path in the below commands as appropriate.
You may also need to usesudoto be able to execute these commands. -
Copy and unzip the NLog.dll update:
wget -O - http://download.sonarr.tv/hotfixes/regression-mono-5.10/NLog.dll.gz | gunzip -c > /opt/NzbDrone/NLog.dll
(security minded individuals might want to check the sha1sum f33027fadd85da0a3da94039a33d99ee23ef2488) -
Ensure the correct permissions:
chmod 777 /opt/NzbDrone/NLog.dll
(yes, chown + chmod would be more appropriate, but that means ppl would need to find the username, and the autoupdater replaces the file anyway.) -
Start Sonarr. How depends on the way you configured your system to auto start Sonarr.
Example:sudo restart nzbdronefor my system. -
Check the web UI System->Updates for v2.0.0.5183 and update.
If you have any trouble, feel free to reply.