Interactive command-line upgrade method

2 minute readDeveloper productivity

Use this procedure to upgrade CloudBees CD/RO. Review Upgrade a clustered environment or Upgrading a non-clustered environment, as appropriate, before performing this procedure.

When upgrading the nodes in a CloudBees CD/RO cluster, you must keep the other nodes stopped until the primary node upgrade is complete.

Also, after upgrading from CloudBees CD/RO 10.8 or earlier, delete all .old files, such as .properties.old in the conf subdirectory to finish the encryption process.

  1. If you have not already done so, download the full installer file. To download this version, select:

  2. Start the installer:

    1. Enter the following command to make the installer file executable:

      Command
      Current version
      chmod +x CloudBeesFlow-x64-<version>
      chmod +x CloudBeesFlow-x64-2024.12.0.177508
    2. Start the upgrade:

      For more information about required user privileges, refer to Linux services user permissions.
      • For root or sudo installations, run:

        Root or sudo procedures
        Command
        Current version
        ./CloudBeesFlow-x64-<version>
        ./CloudBeesFlow-x64-2024.12.0.177508
        • For root or sudo upgrades on Linux systems with a graphical interface systems, run:

          Command
          Current version
          ./CloudBeesFlow-x64-<version> --mode console
          ./CloudBeesFlow-x64-2024.12.0.177508 --mode console
      • For non-root/non-sudo upgrades, run:

        Non-root/non-sudo procedure
        Command
        Current version
        ./CloudBeesFlow-x64-<version> --nonRoot
        ./CloudBeesFlow-x64-2024.12.0.177508 --nonRoot
        • For non-root/non-sudo installations on Linux systems with a graphical interface systems, run:

          Command
          Current version
          ./CloudBeesFlow-x64-<version> \ --nonRoot \ --mode console
          ./CloudBeesFlow-x64-2024.12.0.177508 \ --nonRoot \ --mode console

        A warning about automatic server start-up with non-root/non- sudo installations appears. Enter Yes to dismiss the warning.

    3. The installer launch prompt appears. Enter Y to continue the upgrade.

  3. The following prompt appears:

    Upgrade the existing <VERSION> installation to version <VERSION>? [n/Y]

The installer detects the components installed on the machine and upgrades them to the new version. Once the upgrade is completed, the following prompt appears:

Copied log file(s) to "/opt/cloudbees/sda/logs" CloudBees CD/RO <VERSION> was successfully installed! Installer log file: /opt/cloudbees/sda/logs/installer.log.