Banner
 
  Home QNAP - QPKG CrachPlan  
 
     
 
 

Like the QPKGs, how about donating me a beer ? Laughing

CrashPlan QPKG
Written by Michael Dahl   

How to install and enable CrashPlan on the QNAP nas (Atom models)

 

Install: Opware (qpkg, from qnap homepage)


From an SSH run this:

ipkg update
ipkg install nano
ipkg install cpio
ipkg install bash
ipkg install coreutils


cd /opt
ln -s /opt/bin/bash /bin/bash
wget http://download.crashplan.com/installs/linux/install/CrashPlan/CrashPlan_2010-03-08_Linux.tgz
tar zfx CrashPlan_2010-03-08_Linux.tgz
rm CrashPlan_2010-03-08_Linux.tgz
cd /opt/CrashPlan-install


Edit the install.sh (I use the command "nano install.sh")


#!/opt/bin/bash
BINSLOC="/bin /opt/bin /usr/bin /usr/local/bin"

 

Install Crashplan (command is: "./install.sh") using "admin" user and into "/opt/crashplan"

 

Getting it to start on reboot.

 


edit /etc/config/qpkg.conf, and add: (I use the command "nano /etc/config/qpkg.conf")

[CrashPlanStarter]
Name = CrashPlanStarter
Version = 0.1
Enable = FALSE
QPKG_File =
Date = 2009-12-06
Shell = /share/MD0_DATA/.qpkg/crashplan/cprun.sh
Install_Path = /share/MD0_DATA/.qpkg/crashplan
Author = Cokeman.dk

 

 

now we must create the "/share/MD0_DATA/.qpkg/crashplan/cprun.sh":

mkdir /share/MD0_DATA/.qpkg/crashplan

use your favorite scp program to transfer the cprun.sh, attached to the guide. into "/share/MD0_DATA/.qpkg/crashplan"

 

Last but not at least, run the command:

chmod +x /share/MD0_DATA/.qpkg/crashplan/cprun.sh

 

to start crashplan use the webadmin of the QNAP, to start the QPKG, that we have just made. 

or you can start crastplan manualy to test if it works. (It will not start on reboot, there you must enable it using the webadmin)

cd /opt/crachplan/bin

ln -s /opt/bin/bash /bin/bash

./crashplan start


 

To Controll you CrashPlan from a diffrent machine: Here

 

I hope you can get it to work, and will be as happy as I am. And if you are, please consider donating a beer for me Cool

 

Attachments:
Download this file (cprun.zip)cprun.zip[Here is my cprun.sh file]0 Kb
 

Comments   

 
0 #90 Thomas Mortensen 2011-09-01 09:50
Ohh .. i just noticed youre on x86 ? I have aARM basedn NAS; most likely not same issue then :/
Quote
 
 
0 #89 Thomas Mortensen 2011-09-01 09:48
Quoting Mikkel Kongsfelt:
I also have the problem that crashplan starts up nicely, but when checking its status it is telling me that it is not running.

Has anyone solved this yet?

Hey,

lots have the same problem it seems, i have submitted a request to CrashPlan about this, and i have a thread on qnap forums about this as well ..

I did install it via a QPKG package from http://forum.qnap.com/viewforum.php?f=227 as you did it "manually" via ikpg i guess.

You can follow the ticket here https://crashplan.zendesk.com/requests/83633

Cheers
Quote
 
 
0 #88 Mikkel Kongsfelt 2011-06-25 12:35
I also have the problem that crashplan starts up nicely, but when checking its status it is telling me that it is not running.

Has anyone solved this yet?
Quote
 
 
0 #87 Michael Dahl 2011-05-18 17:48
Quoting Anton:
Hi, great stuff!!
One thing is not working for me, I cannot connect my client (Windows 7) to the QNAP Crashplan (I am following http://support.crashplan.com/doku.php/how_to/configure_a_headless_client)

ssh command line is not working in win7? So I try to open a port in putty.

However, Crashplan cannot connect.
When I type:
$ netstat -na | grep LISTEN | grep 42

I get no results, I think that is the problem..

Is there a way to open the ports 4242 and 4243 on the QNap?


Thanks in advance

Well Thats why you have to use putty, and connect to 127.0.0.1 port 4242 and via putty redirecting it to the qnap's IP
Quote
 
 
0 #86 Anton 2011-05-14 12:01
Hi, great stuff!!
One thing is not working for me, I cannot connect my client (Windows 7) to the QNAP Crashplan (I am following http://support.crashplan.com/doku.php/how_to/configure_a_headless_client)

ssh command line is not working in win7? So I try to open a port in putty.

However, Crashplan cannot connect.
When I type:
$ netstat -na | grep LISTEN | grep 42

I get no results, I think that is the problem..

Is there a way to open the ports 4242 and 4243 on the QNap?


Thanks in advance
Quote
 
 
0 #85 Michael Dahl 2011-03-08 18:34
Quoting Erlend:
How do I choose which folders should be included? Not everything I have on there iw worth backing up (save bandwidth).


Hi,

Thats where you have to setup the headless client. http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Quote
 
 
0 #84 Erlend 2011-03-08 17:15
How do I choose which folders should be included? Not everything I have on there iw worth backing up (save bandwidth).
Quote
 
 
0 #83 Michael Dahl 2011-02-21 18:22
Please check that file /opt/crashplan/ bin/CrashPlanEn gine has /bin/bash changed to /opt/bin/bash
Just like the install script :-)
Quote
 
 
0 #82 geoigeek 2011-02-20 00:52
Hi, i have the same problem. Any solutions?

Quoting Zemich:
Quoting Michael Dahl:

What kind of error do you get ?

:sigh:
Hi Michael
Thanks for the response.
I am having the almost same problem as rwlodarc in this forum: "http://forum.qnap.com/viewtopic.php?f=45&t=26638"

I am trying to start it manually:

[/opt/crashplan/bin] # ./crashplan start
Starting CrashPlan Engine ... Using standard startup
OK
[/opt/crashplan/bin] # ./crashplan status
CrashPlan Engine is stopped.
[/opt/crashplan/bin] # ./crashplan restart
Restarting CrashPlan Engine ... Stopping CrashPlan Engine ... /opt/crashplan/bin/CrashPlanEngine: line 125: kill: (6069) - No such process
OK
Starting CrashPlan Engine ... Using standard startup
OK
[/opt/crashplan/bin] # ./crashplan status
CrashPlan Engine is stopped.

Would be really nice to get this to work.
Quote
 
 
0 #81 Zemich 2011-01-06 20:54
Quoting Michael Dahl:

What kind of error do you get ?


Hi Michael
Thanks for the response.
I am having the almost same problem as rwlodarc in this forum: "http://forum.qnap.com/viewtopic.php?f=45&t=26638"

I am trying to start it manually:

[/opt/crashplan/bin] # ./crashplan start
Starting CrashPlan Engine ... Using standard startup
OK
[/opt/crashplan/bin] # ./crashplan status
CrashPlan Engine is stopped.
[/opt/crashplan/bin] # ./crashplan restart
Restarting CrashPlan Engine ... Stopping CrashPlan Engine ... /opt/crashplan/ bin/CrashPlanEn gine: line 125: kill: (6069) - No such process
OK
Starting CrashPlan Engine ... Using standard startup
OK
[/opt/crashplan/bin] # ./crashplan status
CrashPlan Engine is stopped.

Would be really nice to get this to work.
Quote
 

Add comment


Security code
Refresh

Did this guide get Crashplan to work for you
 
 
  Copyright © 2012 cokeman.dk Website designed by Michael DahlJoomlaWatch 1.2.11 - Joomla Monitor and Live Stats by Matej Koval
Design by handy-shop-augsburg.de/ & go-windows.de/forum/