Crashplan Plugin Upgrade Failure

Status
Not open for further replies.

Tookerder

Dabbler
Joined
Jul 10, 2015
Messages
23
Crashplan appears to be working fine, but in my history it looks like it keeps trying to update and failing:

upgrade.PNG


Is anyone else experiencing this or know how to get it to upgrade properly?
 

bbissell

Cadet
Joined
Aug 5, 2015
Messages
2
For what it's worth, I've received no backup warning emails for 5 days, and found the upgrade errors in the log tonight. I'm still digging through crashplan help.

[edit] After clearing the cache, history.log.0 ends with this:
I 09/26/15 05:47PM Upgrades available at central.crashplan.com:443
I 09/26/15 05:47PM Downloading a new version of CrashPlan.
I 09/26/15 05:47PM Installing upgrade - version 1435726800440
I 09/26/15 05:47PM Upgrade failed - version 1435726800440
I 09/26/15 06:25PM CrashPlan started, version 4.3.0, GUID 644412843910758401
I 09/26/15 06:25PM Backup scheduled to always run
I 09/26/15 06:25PM [Default] Scanning for files to back up
I 09/26/15 06:25PM Upgrades available at central.crashplan.com:443
I 09/26/15 06:25PM Downloading a new version of CrashPlan.
W 09/26/15 06:25PM Unable to apply upgrade(s), retrying in one hour

 
Last edited:

Tookerder

Dabbler
Joined
Jul 10, 2015
Messages
23
Yeah, I don't think that is the issue here. That line is definitely still there in run.conf and crashplan is otherwise functioning fine. Not really a big deal but I wanted to just see if anyone knew more.
 

kwolfe19

Cadet
Joined
May 25, 2015
Messages
3
I had the same problem. It looks like the issue is that bash is missing. Here is how I found it (and some instructions on how to fix it below):

Look in /usr/pbi/crashplan-amd64/share/crashplan/log/service.log.0

I searched for upgrade and then poked around until I found this:

[10.01.15 00:09:31.928 WARN W17006879_DwldMgr com.backup42.common.util.Sys
temUtil ] EXEC:: Exception running command=/bin/bash upgrade.sh, java.io.IOE
xception: Cannot run program "/bin/bash" (in directory "upgrade/1435726800441.14
43683370924"): error=2, No such file or directory, java.io.IOException: Cannot r
un program "/bin/bash" (in directory "upgrade/1435726800441.1443683370924"): err
or=2, No such file or directory
java.io.IOException: Cannot run program "/bin/bash" (in directory "upgrade/14357
26800441.1443683370924"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(Unknown Source)
at com.code42.utils.SystemCommandRunner.start(SystemCommandRunner.java:1
95)
at com.backup42.common.util.SystemUtil.executeCommand(SystemUtil.java:75
)
at com.backup42.common.util.SystemUtil.executeCommand(SystemUtil.java:31
)
at com.backup42.service.upgrade.PatchManager.doPatch(PatchManager.java:2
36)
at com.backup42.service.upgrade.PatchManager.run(PatchManager.java:117)
at com.backup42.service.CPService.filesDownloaded(CPService.java:2632)
at com.backup42.service.upgrade.DownloadManager.doWork(DownloadManager.j
ava:173)
at com.code42.utils.AWorker.run(AWorker.java:149)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 10 more​

Then I looked and noticed that I did not have bash installed. So I installed bash using 'pkg install bash'.

Finally the upgrade still failed, so I ran 'ln -s /usr/local/bin/bash /bin/bash'

Then upgrade succeeded. You can force an upgrade by stopping and starting crashplan with 'service crashplan stop' followed by 'service crashplan start'. There appears to be some kind of throttle on the duration between upgrade attempts. I ran stop and start a few times and then the upgrade succeeded. You can run 'tail -f history.log.0' and watch the progress of the upgrade.
 

Tookerder

Dabbler
Joined
Jul 10, 2015
Messages
23
Awesome, thanks for the reply. I did what you suggested and was able to get it to upgrade successfully. I then upgraded crashplan on my laptop, but it wasn't able to connect immediately. After some fiddling, I was able to get it to work by adding the IP address of my crashplan jail to the .ui_info file on my laptop (in place of 0.0.0.0), in case anyone else is having trouble.
 

Brian Sturk

Dabbler
Joined
Apr 12, 2015
Messages
15
I'm running into this exact same issue (failed upgrades), however I can't seem to install bash:

root@crashplan_1:/usr/pbi/crashplan-amd64/share/crashplan/log # pkg install bash
Updating repository catalogue
The following 1 packages will be installed:

Installing bash: 4.3.18_2

The installation will require 6 MB more space

1 MB to be downloaded

Proceed with installing packages [y/N]: y
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/bash-4.3.18_2.txz: Not Found


I checked the URL and there is a newer version of bash there, bash-4.3.32.txz or something to that effect.
 

Xelas

Explorer
Joined
Sep 10, 2013
Messages
97
I'm running into this exact same issue (failed upgrades), however I can't seem to install bash:

root@crashplan_1:/usr/pbi/crashplan-amd64/share/crashplan/log # pkg install bash
Updating repository catalogue
The following 1 packages will be installed:

Installing bash: 4.3.18_2

The installation will require 6 MB more space

1 MB to be downloaded

Proceed with installing packages [y/N]: y
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/bash-4.3.18_2.txz: Not Found


I checked the URL and there is a newer version of bash there, bash-4.3.32.txz or something to that effect.
see:
https://forums.freenas.org/index.php?threads/crashplan-upgrade-fails-cant-install-bash.38636/
 

andyclimb

Contributor
Joined
Aug 17, 2012
Messages
101
Ah crash plan woes continue.

I've discovered that the upgrade folder in the crash plan pbi folder has ballooned to 25Gb, I can only guess due to repeated failed upgrades. Might be worth adding that to the list of things to check!!!
 
Status
Not open for further replies.
Top