SOLVED CrashPlan 4.8.0 on FreeNAS 9.10 with Java 8

Status
Not open for further replies.

KenBreeman

Cadet
Joined
Jan 3, 2017
Messages
1
The latest version of CrashPlan now requires Java8!
The current PBI only has Java 7...

Here are the steps I used to upgrade:
1) Go get Java 8
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
You want the 32-bit version: "jdk-8u111-linux-i586.tar.gz"
NOTE: you need to accept the EULA and download it from a browser, then scp the file over.

2) Install Java 8
Code:
# Extract the bits
gzip -d jdk-8u111-linux-i586.tar.gz
tar -xf jdk-8u111-linux-i586.tar
# Install a shared library
cp jdk1.8.0_111/jre/lib/i386/jli/libjli.so /lib
# Move the installation files
mv jdk1.8.0_111 linux-sun-jre1.8.0
mv linux-sun-jre1.8.0 /usr/pbi/crashplan-amd64/
# Verify it works
/usr/pbi/crashplan-amd64/linux-sun-jre1.8.0/bin/java -version


You should see:
Code:
root@crashplan_1:~ # /usr/pbi/crashplan-amd64/linux-sun-jre1.8.0/bin/java -version
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)



3) Change the version CrashPlan uses
Code:
vi /usr/local/share/crashplan/install.vars

#JAVACOMMON=/usr/pbi/crashplan-amd64/linux-sun-jre1.7.0/bin/java
JAVACOMMON=/usr/pbi/crashplan-amd64/linux-sun-jre1.8.0/bin/java


4) Upgrade CrashPlan to 4.8.0
Same steps as https://nguvu.org/freenas/freenas-install-crashplan/

5) Bounce it
Code:
service crashplan restart
# Check logs
tail -f /var/log/crashplan *
tail -f /usr/pbi/crashplan-amd64/share/crashplan/log/service.log.0



Hope this helps!
 

Ravenb72

Cadet
Joined
Jan 3, 2017
Messages
3
Finally a workable solution. Thanks Ken this worked great.

The only difficulty I had was my port numbers changed to 4284 and 4285 after the first reboot. I changed the tunnel port to "localhost:4285" and that got it working again.

It would be useful if someone had the time to write a script that would automate the process. I burned way to many hours getting back up and running.
 

BankZ

Cadet
Joined
Feb 1, 2016
Messages
2
I hope this helps. This is the command I used to download Java:

Code:
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-i586.tar.gz
 
Status
Not open for further replies.
Top