SOLVED: Trouble installing CrashPlan

kevinfitzpatrick
Posts: 9
Joined: Tue Dec 29, 2015 5:15 pm

SOLVED: Trouble installing CrashPlan

Postby kevinfitzpatrick » Sun Jan 31, 2016 8:09 am

I recently upgraded to Amahi 8 using a clean install. I have installed a few apps successfully (OwnCloud8 + OpenVPN). I have been trying to install CrashPlan using the Apps --> Available page. Each time I try to install CrashPlan, it gives me a message saying that the app has installed successfully. However, when I try to follow the "Installation and Configuation" instructions on the wiki page, I can not find the /var/lib/crashplan folder (that folder does not exist). This is the information from the amahi-app-installer.log:

==========
Installing app id sp2uf8jdkx under /var/hda/platform/html/script/.. ENV=production
/usr/bin/amahi-download:110:in `download_and_check_sha1': http://dl.amahi.org/CrashPlan_4.5.0_Linux.tgz, '646b340b7003efc94caef863e8f494198dd1388f' vs. 'e39fa3e516edfd8ec3d356b173b120ccf409666a' (SHA1VerificationFailed)
from /usr/bin/amahi-download:125:in `main'
from /usr/bin/amahi-download:132:in `<main>'
tar (child): CrashPlan_4.5.0_Linux.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/var/hda/apps/sp2uf8jdkx/elevated/installcp.sh: line 3: cd: ../crashplan-install: Not a directory
/var/hda/apps/sp2uf8jdkx/elevated/installcp.sh: line 7: ./install.sh: Permission denied
Updating CrashPlan configuration
Enabling CrashPlan Service
error reading information on service crashplan: No such file or directory
Restarting CrashPlan Service
Redirecting to /bin/systemctl restart crashplan.service
Failed to restart crashplan.service: Unit crashplan.service failed to load: No such file or directory.
App: CrashPlan installed
======= app install end @ 2016-01-31 09:38:25 -0500 ==========


I have tried uninstalling, rebooting, and re-installing. Each time I seem to get similar errors in the installer log.

Any suggestions on how to install CrashPlan would be much appreciated.

Thanks!

jaybea
Posts: 56
Joined: Tue Dec 15, 2009 1:24 am

Re: Trouble installing CrashPlan

Postby jaybea » Sun Jan 31, 2016 10:07 am

I installed Crashplan last week on Amahi 8, and it is operating OK. The installation can be found in /usr/local/crashplan, and there is /conf/ directory containing the config files.

I am using the Crashplan GUI for the configuration, which I am accessing via X11 forwarding with PuTTY on my PC. This makes the configuration process much easier.

There are some issues with Crashplan. The priority is to sort out your inode watches, as the default setting will result in Crashplan killing your HDA. There are some details about this in thisforum post, and you need to make sure that the increase is permanent as otherwise your system will revert to the default if it reboots, and will start to fail in strange ways.

Update:

In your case, it is clear that Crashplan did not install because file hashes do not match:

Code: Select all

'646b340b7003efc94caef863e8f494198dd1388f' vs. 'e39fa3e516edfd8ec3d356b173b120ccf409666a' (SHA1VerificationFailed)
The SHA hash I got from the installer download (/var/hda/apps/sp2uf8jdkx/CrashPlan_4.5.0_Linux.tgz) was e39fa3e516edfd8ec3d356b173b120ccf409666a

Run the following command, if the file exists, and see what the SHA1 checksum is:

Code: Select all

sha1sum /var/hda/apps/sp2uf8jdkx/CrashPlan_4.5.0_Linux.tgz
If it is not the *9666a code I got, then either your download file is being corrupted, or there is a new version and the file hash has not been updated.

I can only suggest that you try the install again.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble installing CrashPlan

Postby bigfoot65 » Sun Jan 31, 2016 11:13 am

This would be good information to add to the wiki.

Could you update the Crashplan guidance?

We would greatly appreciate it. User contributions in the wiki is what keeps it updated.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaybea
Posts: 56
Joined: Tue Dec 15, 2009 1:24 am

Re: Trouble installing CrashPlan

Postby jaybea » Sun Jan 31, 2016 11:25 am

Could you update the Crashplan guidance?
I will have a look at it and see what I can add.

In relation to the installation failure, it looks like the install script continues after the SHA1 hash check has failed, resulting in other error messages because earlier stages of the install have not completed. It could do with ending on the initial error. I don't know whether the initial parts of the install script are common to all apps?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble installing CrashPlan

Postby bigfoot65 » Sun Jan 31, 2016 11:30 am

The issues are most likely related to the Amahi server that went down this weekend.

We are still recovering from it and the app file for this is likely on that server.

Until it's fixed, the app will not install correctly.

Also Crashplan is in BETA For Amahi 8, therefore may not work correctly. It ist still being tested.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaybea
Posts: 56
Joined: Tue Dec 15, 2009 1:24 am

Re: Trouble installing CrashPlan

Postby jaybea » Sun Jan 31, 2016 11:44 am

I did not have any problems with my install of Crashplan, but that was a few hours before the server went down.

Zoneminder, however, does not work under Amahi 8 because the version installing from the Amahi sources is not compatible with Fedora 21/ffmpeg. After much messing around, which included installing the most recent version of Zoneminder from an rpm from the ZM website, and manual changes to the database , it technically works, but I cannot see video!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble installing CrashPlan

Postby bigfoot65 » Sun Jan 31, 2016 11:46 am

Yes you were fortunate enough to miss the outage.

As for Zoneminder, that's why we have not moved it LIVE. It's a finicky app and hard to get working.

Need to find another app that will provide the same features and be more stable.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wvdlee
Posts: 61
Joined: Wed Feb 25, 2009 9:19 am

Re: Trouble installing CrashPlan

Postby wvdlee » Sun Feb 07, 2016 3:36 pm

I am also having troubles installing crashplan. Last week I upgraded mij second hda to amahi 8 and I installed crashplan without problems. Today I tried to do the same with my primary hda. Both times I first uninstalled all apps before upgrading. The upgrade succeeded but the crashplan install seems to have failed. The first attempt there was a problem with the hash but the second time it failed again. Can anybody help please?

below are the logs: messages and amahi-app-installer.log

Code: Select all

[willem@localhost log]$ cat messages | grep crashplan Feb 7 21:00:36 localhost systemd[25586]: Failed at step EXEC spawning /etc/rc.d/init.d/crashplan: No such file or directory Feb 7 21:00:36 localhost systemd[1]: crashplan.service: control process exited, code=exited status=203 Feb 7 21:00:36 localhost systemd[1]: Unit crashplan.service entered failed state. Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:54:09 localhost systemd-sysv-generator[1996]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service Feb 7 22:55:45 localhost systemd-sysv-generator[351]: Could not find init script for crashplan.service

Code: Select all

======= app install begin @ 2016-02-07 21:54:05 +0100 ========== Installing app id sp2uf8jdkx under /var/hda/platform/html/script/.. ENV=production file /var/hda/tmp/amahi-download-cache/e39fa3e516edfd8ec3d356b173b120ccf409666a written in cache WARNING: primary downloaded file /var/hda/tmp/amahi-download-cache/e39fa3e516edfd8ec3d356b173b120ccf409666a did not pass signature check - got 646b340b7003efc94caef863e8f494198dd1388f, expected e39fa3e516edfd8ec3d356b173b120ccf409666a new file /var/hda/tmp/amahi-download-cache/e39fa3e516edfd8ec3d356b173b120ccf409666a from Amahi's mirror written in the cache Welcome to the Code42 CrashPlan installer. Press enter to continue with installation. Validating environment... detected root permissions OK. Update the Java in your path and rerun this command. Updating CrashPlan configuration Enabling CrashPlan Service fout bij lezen van informatie over service crashplan: Bestand of map bestaat niet Restarting CrashPlan Service Redirecting to /bin/systemctl restart crashplan.service Failed to restart crashplan.service: Unit crashplan.service failed to load: No such file or directory. App: CrashPlan installed ======= app install end @ 2016-02-07 21:55:10 +0100 ==========

Code: Select all

======= app uninstall begin @ 2016-02-07 22:54:08 +0100 ========== Uninstalling app id sp2uf8jdkx under /var/hda/platform/html/script/.. ENV=production Stopping CrashPlan Service Failed to stop crashplan.service: Unit crashplan.service not loaded. Disabling CrashPlan Service Removing configuration files App: CrashPlan uninstalled ======= app uninstall end @ 2016-02-07 22:54:10 +0100 ========== ======= app install begin @ 2016-02-07 22:59:48 +0100 ========== Installing app id sp2uf8jdkx under /var/hda/platform/html/script/.. ENV=production file /var/hda/tmp/amahi-download-cache/e39fa3e516edfd8ec3d356b173b120ccf409666a picked up from cache. Welcome to the Code42 CrashPlan installer. Press enter to continue with installation. Validating environment... detected root permissions OK. Update the Java in your path and rerun this command. Updating CrashPlan configuration Enabling CrashPlan Service fout bij lezen van informatie over service crashplan: Bestand of map bestaat niet Restarting CrashPlan Service Redirecting to /bin/systemctl restart crashplan.service Failed to restart crashplan.service: Unit crashplan.service failed to load: No such file or directory. App: CrashPlan installed ======= app install end @ 2016-02-07 23:00:09 +0100 ==========

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble installing CrashPlan

Postby bigfoot65 » Sun Feb 07, 2016 4:20 pm

Not sure if you noticed, but the Crashplan App is in BETA. It's not working as designed for some users and we don't recommend installing it.

You can check out bug 1877 might offer some help.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wvdlee
Posts: 61
Joined: Wed Feb 25, 2009 9:19 am

Re: Trouble installing CrashPlan

Postby wvdlee » Mon Feb 08, 2016 4:44 pm

I knew it was still beta, thats why I tried my secondary hda first and everything worked. Unfortunately it does not install properly on my primary hda.

Who is online

Users browsing this forum: No registered users and 22 guests