Code42 Crashplan

From ThinkServer
Revision as of 01:29, 13 July 2022 by Sam (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Code42 Crashplan for Small Businesses is the software we use on the server to keep an online, live backup.

A number of issues have occurred and are listed here with workarounds.

Cannot sign in

Affects:

  • openSUSE 15.4
  • Crashplan 10

This error occurs due to a library not installed using the installation script.

Solution: copy the missing library from the installation package.

  • Extract the installation package.
  • Extract the large cpio image.
  • Browse to the nlib folder.
  • Browse to the ubuntu20 folder. Although not Ubuntu, this library works with this version of openSUSE.
  • Copy the library in the folder to /usr/local/crashplan/nlib.
  • Restart the service and GUI and log in again.

Cannot autostart Crashplan service

Affects:

  • openSUSE 15.4
  • All versions of Crashplan at present

Due to openSUSE moving from Sys-V to systemd, the old script to start Crashplan cannot be set to enabled to start Crashplan on startup. This did not work before but is completely unsupported in openSUSE 15.4.

Solution: manually add a systemd script.

  • Stop the Crashplan service with sudo service code42 stop.
  • Remove the /etc/init.d folder created by the installer script (check nothing else is in the folder first).
  • Add a new text file called crashplan.service to /lib/systemd/system/.
  • Add the following to the text file and save it:
[Unit]
Description=Code42 CrashPlan app
After=network.target

[Service]
Type=forking
PIDFile=/usr/local/crashplan/CrashPlanEngine.pid
WorkingDirectory=/usr/local/crashplan
ExecStart=/usr/local/crashplan/bin/CrashPlanEngine start
ExecStop=/usr/local/crashplan/bin/CrashPlanEngine stop

[Install]
WantedBy=multi-user.target
  • Reload the system services with sudo systemctl daemon-reload.
  • Enable the service with sudo systemctl enable crashplan.
  • Start the service with sudo service crashplan start.