Interactive Command-Line Upgrade Method

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

When upgrading the nodes in a CloudBees Flow cluster, you must keep the other nodes stopped until the primary node upgrade is complete.
  1. Enter the following command to make the installer file executable:

    chmod +x ./CloudBees Flow-<version>
  2. Choose one of the following commands to begin the upgrade:

    • If you have a Linux platform, enter ./CloudBees Flow-<version>.

    • If you have a Linux platform with the X Window System, the installer will automatically bring up the graphical user interface.

      To override this behavior, enter ./CloudBees Flow-<version> --mode console.

      The following prompt appears:

      Copyright (c) 2006-2018, CloudBees, Inc. All rights reserved.
      This will install CloudBees Flow on your computer. Continue? [n/Y]
  3. Enter: y

    The following prompt appears:

    Upgrade the existing <version> installation to version <version>? [n/Y
  4. Choose one of the following options:

    • If you want to upgrade your current CloudBees Flow installation directory, enter y.

    • Enter n to exit the installer.

    • Flow 6.0 update: Clean install is not supported in the current version of the installer. Removed the following text:

    • If you want to specify a different installation directory (clean install) for the new version, perform the following steps:

      1. Enter y and complete the information for the subsequent prompts.

        The following prompt appears:

        Installing agent...
        Installing server...
        Copied log file to "/opt/electriccloud/electriccommander/logs"
        CloudBees Flow <version> was successfully installed!
        Installer log file: /opt/electriccloud/electriccommander/logs/installer.log.