After upgrading my Synology DS710+ to DSM 4.0 (which had its own set of problems) I found that I needed to do a little work to get CrashPlan working again. For this I went back to Kenneth Larsens blog.
At least one user had reported upgrading to DSM 4.0 and had a short summary of what they did to get it working again but I didn't really use his steps. Instead I decided to just try reinstalling over the top of my current folders.
I had a few problems because most of the programs didn't want to install if I had existing folders with the same names. I deleted the /usr/lib/ipkg folder and then I ended up renaming my current /opt/ folder (/volume1/@optware/) to /volume1/@optware.old so that I could keep everything intact in case I needed it. Here's the command:
rm -rf /usr/lib/ipkg
mv /volume1/@optware /volume1/@optware.old
I was able to follow Kenneth's instructions down through step 7 though I still had my old install folder so I was able to skip steps 1, 4, 5, and 6 and instead just moved my folder back to the /opt/ folder to do the installation:
cp -r /volume1/@optware.old/CrashPlan-install /volume1/@optware/
At that point, rather than modify all of the files again, I simply deleted the /opt/crashplan/ folder and copied my old copy of the folder to where it was as follows:
rm -rf /volume1/@optware/crashplan
cp -r /volume1/@optware.old/crashplan /volume1/@optware/
I still had to do step 10 Kenneth's blog but after that I was able to start the crashplan engine and connect to it from my desktop client.
Reference of commands used. Note, some of these are specific to the DS710+ or another box with the same processor.
- rm -rf /usr/lib/ipkg
- mv /volume1/@optware /volume1/@optware.old
- reboot
- cd /volume1/@tmp
- wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
- chmod +x syno-i686-bootstrap_1.2-7_i686.xsh
- sh syno-i686-bootstrap_1.2-7_i686.xsh
- rm /volume1/@tmp/syno-i686-bootstrap_1.2-7_i686.xsh
- reboot
- ipkg update
- ipkg upgrade
- ipkg install nano
- ipkg install cpio
- ipkg install bash
- ipkg install coreutils
- cp -r /volume1/@optware.old/CrashPlan-install /volume1/@optware/
- ./volume1/@optware.old/CrashPlan-install/install.sh
- When asked about java allow it to be downloaded.
- CrashPlan will install to: /opt/crashplan
- And put links to binaries in: /opt/bin
- And store datas in: /opt/crashplan/manifest
- Your init.d dir is: /etc/init.d
- Your current runlevel directory is: /usr/syno/etc/rc.d
- rm -rf /volume1/@optware/crashplan
- cp -r /volume1/@optware.old/crashplan /volume1/@optware/
- Modify the /usr/syno/etc/rc.d/S99crashplan file line 1 to : #!/opt/bin/bash
- /usr/syno/etc/rc.d/S99crashplan start