Fix Nzbdrone Freeze – Install Mono 3.6 Ubuntu

Nzbdrone-frozen-logo
Nzbdrone is my preferred application for usenet tv PVR automation. Some users have noticed that nzbdrone hangs with the previously recommended mono 3.2 install. Currently the recommended mono version is 3.6 since 3.4 caused database issues and 3.8 is too new to know if it is reliable yet. Therefore we are going to install mono 3.6 on Ubuntu to fix any nzbdrone freezes you may have been experiencing.

Usenet Provider
Backbone
Retention
Speed
Connections
VPN
Monthly
Annual
UsenetServer
UsenetServer
3199
Unlimited
30
Yes
$10
$95.40
Newshosting
Newshosting
3199
Unlimited
30
Yes
$10
$99
Frugal
Frugal
3000
Unlimited
20
No
$4.16
$50
Usenetlink
Cloudgate
2000
100 Mbit
30
No
$15
$140

Fix Nzdrone Freeze

Backup your nzbdrone database and settings first!

There are two methods to upgrade mono to 3.6, compiling from source is the most reliable but takes longer. Using precompiled sources may or may not work for you. If you want a guaranteed working mono 3.6 installation scroll down to the compiling from source guide.

Precompiled Mono 3.6

This will install mono to /opt/
We need to download the mono 3.6 package.
For 32 bit use this package

wget http://download.opensuse.org/repositories/home:/tpokorra:/mono/Debian_7.0/i386/mono-opt_3.6.0_i386.deb

For 64 bit use

wget http://download.opensuse.org/repositories/home:/tpokorra:/mono/Debian_7.0/amd64/mono-opt_3.6.0_amd64.deb

Install the package
For 32 bit

sudo dpkg -i mono-opt_3.6.0_i386.deb

For 64 bit

sudo dpkg -i mono-opt_3.6.0_amd64.deb

You can check your mono version.

mono --version

It should read

Mono JIT compiler version 3.6.0 (tarball Sun 14 Sep 16:11:37 CEST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

If you don't get version 3.6 follow these steps to compile mono 3.6 from source.

Compile Mono 3.6 from Source

We need to install a compiler and gettext

sudo apt-get install build-essential gcc g++ gettext -y

Download the mono 3.6 source

wget http://download.mono-project.com/sources/mono/mono-3.6.0.tar.bz2

Extract the mono files (this can take a few minutes)

tar -xvf mono-3.6.0.tar.bz2

Enter the mono build folder and configure it

cd mono-3.6.0/ && ./configure --prefix=/usr/local

Now we are going to build and install mono 3.6

make && sudo make install

You can check your mono version. It should read Mono 3.6.

mono --version

This should fix nzbdrone freeze and hang issues