February 9, 2014

CrashPlan 3.5.3 on xUbuntu 14.04 crash fix

By Geekphreek

I’ve just signed up to CrashPlan.  I have almost 3TB of data on my computer, only about 100GB of that is irreplaceable but still, it’s good to know I have it backed on somewhere where the NSA can scan it 🙂

CrashPlan has a client for all platforms, including Linux and Solaris which is a nice touch.  Unfortunately, to be that cross platform, it’s based on Java which there is about 10 gazillion varients.  The one that you want is Oracle 7 JRE.  You can get this from the Ubuntu repositories or add a PPA like I did for full coverage:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

This is all well and good, but I’m using xUbuntu.  Downloading and installing CrashPlan was as simple as:

tar zxvf CrashPlan_3.5.3_Linux.tgz  && cd Crash* && sudo ./install.sh

Once installed, it tried to launch, it gave me a lovely start-up image and then, nuddah.  Then up pops the Ubuntu crash window to report with.  I checked logs, looked around and couldn’t find a great deal on the internet.  I checked java versions, config settings, nothing.  Eventually I went back to the start and rechecked on the code42 website for CrashPlan under all the FAQs.  Deeply buried within it is this gem:



Edit the run.conf file in your CrashPlan app installation directory
Default location: /usr/local/crashplan/bin/
Navigate to the end of the GUI_JAVA_OPTS section
Add this line, inside the quotes:

This gives you a final line in that file of:

GUI_JAVA_OPTS=”-Dfile.encoding=UTF-8 -Dapp=CrashPlanDesktop -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false -Dorg.eclipse.swt.browser.DefaultType=mozilla”

Save and exit, relaunch CrashPlan and voila, it works.