× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Crashplan wants Java downgrade to 1.7?

satiated
Tutor

Crashplan wants Java downgrade to 1.7?

So I'm familiar with this thread: https://community.netgear.com/t5/Backing-up-to-your-ReadyNAS/Crashplan-JRE-update-needed/m-p/985781#... which is about the pain everyone had late last year when CrashPlan released a version that was no longer compatible with Java 1.6. The updates failed, filled up the drive and caused the NAS to stop working properly.

 

Eventually everyone managed to get Java 1.8 on and things were good again. But just in the last few days CrashPlan has stopped backing up, and lo and behold, it's failing to apply updates again. Thankfully the partition isn't full (yet).

 

I looked at its most recent failure log and it seems to be saying it's not compatible with Java 1.8, and it's trying to download 1.7, but failing because it doesn't recognise the https certificate:

 

Thu Mar 31 23:07:10 EST 2016 : Sourcing ../../install.vars...
Thu Mar 31 23:07:10 EST 2016 : Found INITDIR=/etc/init.d...
======================================================
Thu Mar 31 23:07:10 EST 2016 : Current CrashPlan Backup Engine:
root      3039     1 27 23:05 ?        00:00:34 /usr/local/bin/java -Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx1024m -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 -classpath /usr/local/crashplan/lib/com.backup42.desktop.jar:/usr/local/crashplan/lang com.backup42.service.CPService
Thu Mar 31 23:07:10 EST 2016 : Stopping using /etc/init.d/crashplan...
Stopping CrashPlan Engine ... OK
Thu Mar 31 23:07:20 EST 2016 : Ensuring the UpgradeUI is not running.
Thu Mar 31 23:07:20 EST 2016 : UpgradeUI is shut down.
Thu Mar 31 23:07:20 EST 2016 : JAVACOMMON is set: /usr/local/bin/java
Thu Mar 31 23:07:20 EST 2016 : Current Java Version: 1.8
Thu Mar 31 23:07:21 EST 2016: The Current java is not compatible. Embedding a compatible version.
Thu Mar 31 23:07:21 EST 2016 : Download JVM from http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz
Thu Mar 31 23:07:21 EST 2016 : downloading the JRE using /usr/bin/wget
--2016-03-31 23:07:21--  http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz
Resolving download.code42.com... 216.17.8.19
Connecting to download.code42.com|216.17.8.19|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz [following]
--2016-03-31 23:07:21--  https://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz
Connecting to download.code42.com|216.17.8.19|:443... connected.
ERROR: cannot verify download.code42.com's certificate, issued by `/C=US/O=thawte, Inc./CN=thawte EV SSL CA - G3':
  Unable to locally verify the issuer's authority.
ERROR: certificate common name `store.code42.com' doesn't match requested host name `download.code42.com'.
To connect to download.code42.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
Thu Mar 31 23:07:22 EST 2016 : Unable to download JRE from http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz; please check network connection
Thu Mar 31 23:07:22 EST 2016 : Starting using /etc/init.d/crashplan...
Starting CrashPlan Engine ... Using standard startup
OK

Anyone else getting this issue?

Model: ReadyNASRNDU2110|ReadyNAS Ultra 2
Message 1 of 6
StephenB
Guru

Re: Crashplan wants Java downgrade to 1.7?

My pro-6 is running 4.2.28 firmware.  I'd installed Java 1.8 in /usr/local/bin  (which is still there). 

 

Crashplan sucessfully upgraded on 25 March to version 4.6.0.  It has installed Java 1.7 in /usr/local/crashplan/jre - not sure exactly when that happened, but I am thinking it was 14 March.

 

Backups are happening normally, including files successfully backed up today.

Message 2 of 6
skim32
Tutor

Re: Crashplan wants Java downgrade to 1.7?

I am still having trouble with my Crashplan updating.  The log shows the following:

 

Wed Apr 6 08:52:20 EDT 2016 : Sourcing ../../install.vars...
Wed Apr 6 08:52:20 EDT 2016 : Found INITDIR=/etc/init.d...
======================================================
Wed Apr 6 08:52:20 EDT 2016 : Current CrashPlan Backup Engine:
root     25385     1  2 08:21 ?        00:00:47 /usr/local/bin/java -Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx1024m -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 -classpath /usr/local/crashplan/lib/com.backup42.desktop.jar:/usr/local/crashplan/lang com.backup42.service.CPService
Wed Apr 6 08:52:20 EDT 2016 : Stopping using /etc/init.d/crashplan...
Stopping CrashPlan Engine ... OK
Wed Apr 6 08:52:30 EDT 2016 : Ensuring the UpgradeUI is not running.
Wed Apr 6 08:52:30 EDT 2016 : UpgradeUI is shut down.
Wed Apr 6 08:52:30 EDT 2016 : JAVACOMMON is set: /usr/local/bin/java
Wed Apr 6 08:52:30 EDT 2016 : Current Java Version: 1.8
Wed Apr 6 08:52:31 EDT 2016: The Current java is not compatible. Embedding a compatible version.
Wed Apr 6 08:52:31 EDT 2016 : Download JVM from http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz
Wed Apr 6 08:52:31 EDT 2016 : downloading the JRE using /usr/bin/wget
wget: Unknown command `eck_certificate' in /root/.wgetrc at line 1.
Wed Apr 6 08:52:31 EDT 2016 : Unable to download JRE from http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz; please check network connection
Wed Apr 6 08:52:31 EDT 2016 : Starting using /etc/init.d/crashplan...
Starting CrashPlan Engine ... Using standard startup
OK

A little background.  I too upgraded to 1.8 a few months ago because of the upgrade failures we expereienced last time.  I also applied the glib6.2.13 upgrade as described here.  So I was good for a while until 4.6.  I've seen some previous posts suggesting to edit .wgetrc file to disable certificate checks, but that didnt' work for me.  Maybe I did it wrong.  But this is what i followed.  In my $HOME directory there was no .wgetrc file so I ended up just creating one.  Do I have to bounce the readynas for it to take affect?  I am running a ReadyNAS Ultra + 4.  Anyhow, my update keeps failing and my partition keeps getting filled up.  Any help would be appreciated.

 

Message 3 of 6
skim32
Tutor

Re: Crashplan wants Java downgrade to 1.7?

I am having problems as well.  Upgrade to 4.6 is failing due to having Java 1.8 installed.  I had to install it when Crashplan released version 4.5 several weeks ago.  The log shows as follows:

 

 

ReadyNAS:/usr/local/crashplan/log# cat upgrade.1435813200460_382.1459956386859.log
Wed Apr 6 11:26:29 EDT 2016 : Sourcing ../../install.vars...
Wed Apr 6 11:26:29 EDT 2016 : Found INITDIR=/etc/init.d...
======================================================
Wed Apr 6 11:26:29 EDT 2016 : Current CrashPlan Backup Engine:
root     26339     1  2 10:55 ?        00:00:47 /usr/local/bin/java -Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx1024m -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 -classpath /usr/local/crashplan/lib/com.backup42.desktop.jar:/usr/local/crashplan/lang com.backup42.service.CPService
Wed Apr 6 11:26:29 EDT 2016 : Stopping using /etc/init.d/crashplan...
Stopping CrashPlan Engine ... OK
Wed Apr 6 11:26:39 EDT 2016 : Ensuring the UpgradeUI is not running.
Wed Apr 6 11:26:39 EDT 2016 : UpgradeUI is shut down.
Wed Apr 6 11:26:39 EDT 2016 : JAVACOMMON is set: /usr/local/bin/java
Wed Apr 6 11:26:39 EDT 2016 : Current Java Version: 1.8
Wed Apr 6 11:26:40 EDT 2016: The Current java is not compatible. Embedding a compatible version.
Wed Apr 6 11:26:40 EDT 2016 : Download JVM from http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz
Wed Apr 6 11:26:40 EDT 2016 : downloading the JRE using /usr/bin/wget
wget: Unknown command `eck_certificate' in /root/.wgetrc at line 1.
Wed Apr 6 11:26:40 EDT 2016 : Unable to download JRE from http://download.code42.com/installs/proserver/jre/jre-7-linux-i586.tgz; please check network connection
Wed Apr 6 11:26:40 EDT 2016 : Starting using /etc/init.d/crashplan...
Starting CrashPlan Engine ... Using standard startup
OK

 

I read another thread that suggested disabling wget cert verifcation.  I tried it, but it didn't work.  Basically the thread said to modify my .wgetrc file.  But a side note, I did not find a .wgetrc file in my  home directory.  So i ended up creating one.  Also, after i create a .wgetrc file, do I have to bounce my readynas?  Anyway help would be greatly appreciated.

Message 4 of 6
satiated
Tutor

Re: Crashplan wants Java downgrade to 1.7?

I downloaded the jre manually from the link Crashplan was trying to us, extracted it to the /usr/local/crashplan/jre directory, and changed install.vars to point to it. Now I'm getting this error:

 

nice: /usr/local/crashplan/jre/bin: Permission denied

Which I assume is because whatever user the crashplan service is running under doesn't have access to the java directory. But the permissions on that directory have read and execute for group and all users, owned by root. So I'm a bit confused now.

 

I would say you could just download it manually yourself as I have, but you may end up with the same problem.

Message 5 of 6
skim32
Tutor

Re: Crashplan wants Java downgrade to 1.7?

I got it to work following this thread.  I had followed it before but i had a typo in the string I added in the .wgetrc file (not used to vi).  Anyways.  Hopefully this helps you.

 

Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 5019 views
  • 1 kudo
  • 3 in conversation
Announcements