Code42 Crashplan

From ThinkServer
Revision as of 14:56, 30 July 2023 by Sam (talk | contribs) (→‎Cannot sign in/access GUI: Added Code42)
(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/access GUI

Affects:

  • openSUSE 15.4
  • Crashplan >10 - 10.4.1 (Anything under the Code42 banner)

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.

NOTE: 10.2.0 attempted to fix this but installed the incorrect library. openSUSE is unsupported so this may be a foreseeable problem.

Cannot autostart Crashplan service

Affects:

  • openSUSE 15.4
  • Up to version 11 (all old Code42 releases)

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.