Skip to main content

This article applies to version 6.

Other available versions:

Cloudicon.qnmark.png

Available in:

StandardPremiumEnterprise
Small Business
Code42 Support

Deploy Code42 apps for manual sign on

This article applies to version 6.

Other available versions:

Cloudicon.qnmark.png

Available in:

StandardPremiumEnterprise
Small Business

Overview

This article describes how to configure deployment packages to open Code42 app interfaces automatically on users' desktops. Backups begin when users sign in to your Code42 environment.

Considerations

This article assumes you understand the introduction to deployment provided by the article Prepare to deploy Code42 client apps.

These instructions apply to administrators deploying Code42 apps version 6.5 or later with on-premises authority servers version 6.5 or later.

If you are using older servers or clients, select the appropriate instructions from Manage app installations in your Code42 environment.

To use these deployment tools, you need to sign in to your administration console as a user with one of these roles:

Step 1: Identify the deployment organization

In your administration console, create or identify an organization that:

  • Has at least one destination where backups can auto-start.

Check configuration of the organization, as follows:

  1. Sign in to the administration console.
  2. Select Administration > Organizations > Active.
  3. Select an organization.
  4. Note the organization name; you will need it later.
  5. Select DEVICE BACKUP DEFAULTS > Backup.
    • DESTINATIONS should list at least one destination name and Yes.
      Device backup destinations yes
    • The other possible value, DESTINATIONS ... Auto-start, means endpoint backups do not start until users manually select a destination. In the Code42 app interface, see Tools > Options > Destinations.device backup destinations auto
    • To configure destinations, go to the organization's action menu. Select Device Backup Defaults > Backup > Destinations.
  1. Select DEVICE BACKUP DEFAULTS > Network.
  2. Note whether PROXY is enabled; you will need that information later.
  3. If necessary, change organization configuration. In the action menu in the upper-right, select Edit.

Step 2: Create the deployment policy

Define the deployment policy for the organization you identified in Step 1.

  1. In the administration console, select Administration > Client Management > Deployment.
  2. Select Create New Deployment Policy or Create New Policy.
    The prompt differs depending on whether you see the initial welcome screen or your list of existing policies.
  3. Enter a Policy Name to describe this policy.
  4. At How should new users register? select the organization you identified at Step 1, above.
    If your organization's name is grayed out in the menu, that organization already has a policy.
    You may edit or delete that existing policy.
  5. At Do you want to automatically register users?, select No.
    Organizations using local authentication have no choice: No is selected. Yes is greyed out.
  6. At Which operating systems, select the systems you will deploy Code42 apps to.
  7. For each operating system you select, select either:
    • Use default script (Windows and Mac only)
      The default script causes Code42 app usernames to exactly match the last-logged-in usernames on your endpoint devices.
    • Add a custom batch/bash script (required for Linux)
      Provide a script that identifies the username and home directory that the Code42 app will provide when it registers with your Code42 environment. For details, see the script reference. The script must end by echoing the username and user home directory:
      echo C42_USERNAME=<value>
      echo C42_USER_HOME=<value>
      
  8. At Do your clients need a proxy URL, select No or Yes, depending on what you determined at Step 1, above.
  9. At Launch desktop app after initial install, select Yes.
    The desktop interface opens so that users can create passwords and submit their credentials.
  10. Click Save.
    The Policy Saved dialog appears.
  11. Click Done.
    You do not need to save or download the installation properties now. You can easily reach them later, as you configure your deployment software.

Step 3: Deploy Code42 apps to user devices

Retrieve installation properties from your deployment policy as follows:

  1. Sign in to the administration console.
  2. Select Administration > Client Management > Deployment.
  3. In the list of policies, click on the name of the policy you want to use.
  4. Copy your Windows or Linux properties and paste them into your deployment software.
    Or download the deploy.properties file for Mac, and provide it to your deployment process.

Distribute installation properties and Code42 app installers to your target devices. Then run the installers.
Details for those two tasks depend on your device management tool and endpoint operating systems:

Step 4: Users sign in 

On Windows and Mac devices, the Code42 app opens on the desktop automatically.
On Linux, users should run this command:/usr/local/crashplan/bin/CrashPlanDesktop

Instruct users to provide names and passwords as prompted by the Code42 app.

For details, direct users to Sign up with newly deployed Code42 app.

Troubleshooting

If a user opens the desktop UI for a newly deployed Code42 app, but the UI never progresses beyond the message Connecting... , then the deployment has probably failed.

Connecting error

Confirm the error as follows:

  1. Find service.log.0 in one of these locations:
    • Windows: C:\ProgramData\CrashPlan\log
      To view this hidden folder, open a file browser and paste the path in the address bar. If you installed per user, see the file and folder hierarchy.
    • Mac: /Library/Logs/CrashPlan
      If you installed per user, see the file and folder hierarchy.
    • Linux: /usr/local/crashplan/log
  2. Open service.log.0 with a text editor.
  3. Find deployment errors by searching for Deploy::, for example:
    deploy:: Unable to make request
    Deploy:: Unable to process deployment package, USERNAME_NOT_IN_OUTPUT
    

Step 5: Verify success

After users sign in, at your authority server check that deployments succeed by reviewing the number of devices signed in to your organization and backing up data.

  1. Sign in to the administration console.
  2. Select Administration > Organizations > Active.
  3. Select the organization you deployed to.
  4. At the top of the window, click the value under Devices.
    The number of devices listed for your org should match the number of devices you deployed Code42 apps to.
    The quantity of data stored for each device should be greater than zero.
  • Was this article helpful?