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 |
-
If you have not already done so, download the full installer file. To download this version, select your required installer:
-
Windows full installer: 2024.12.0.177508
-
Linux full installer: 2024.12.0.177508
-
For more details on installers, refer to Install CloudBees CD/RO on traditional platforms.
-
For legacy installer downloads, navigate to CloudBees CD/RO downloads.
-
-
Start the installer:
-
Windows:
Windows installers
On Windows, an Administrator user is required to install CloudBees CD/RO. For more information about required user privileges, refer to Windows services user permissions. -
Navigate to the directory where you downloaded the CloudBees CD/RO installer.
-
Double-click the installer. This starts the installer in the GUI-based installation mode.
-
-
Linux:
Linux installers
-
Navigate to the directory where you downloaded the CloudBees CD/RO installer.
-
Enter the following command to make the installer file executable:
CommandCurrent versionchmod +x CloudBeesFlow-x64-<version>
chmod +x CloudBeesFlow-x64-2024.12.0.177508
-
Start the upgrade:
For more information about required user privileges, refer to Linux services user permissions. -
For root or
sudo
upgrades:Root or
sudo
procedures-
Navigate to the directory where you downloaded CloudBees CD/RO.
-
Double-click the installer. This starts the installer in the GUI-based installation mode.
-
-
For non-root/non-
sudo
upgrades, from the terminal, run:Non-root/non-
sudo
proceduresCommandCurrent version./CloudBeesFlow-x64-<version> --nonRoot
./CloudBeesFlow-x64-2024.12.0.177508 --nonRoot
A warning about automatic server start-up with non-root/non-
sudo
installations appears. Select Yes to dismiss the warning.
-
-
-
-
Choose one of the following options:
-
Select Upgrade the existing installation if you want to upgrade your current CloudBees CD/RO installation directory.
-
Select Perform a clean install if you want to specify a different installation directory for the new version.
When selecting Perform a clean install, current CloudBees CD/RO services remain running until you select Next on the Ready to Install screen. This means the new installation cannot use the same ports and directories as the existing installation. To use the same ports and directories, you must manually stop the existing services. This will free the existing ports and directories.
-
-
Select Next to upgrade the existing installation. The Ready to upgrade screen appears.
-
Review the upgrade settings.
-
If needed, use the Back button to change your selections if necessary.
-
-
Select Next to continue.
The installer displays a status bar to show the progress of the upgrade process. You can also view the
installer.log
file to see progress. The time that it takes to complete this process depends on the size of the database. It may take fifteen minutes or longer to complete. Once this process is complete, the new CloudBees CD/RO version is installed. -
Select the Launch a web browser to login to CloudBees CD/RO check box if you want CloudBees CD/RO to open the login screen now.
-
Click Finish to complete the upgrade.
When upgrading the CloudBees CD/RO server after the installation is complete, the server continues to upgrade the database (if applicable). You cannot log in to the CloudBees CD/RO server until the database upgrade finishes. You can view the upgrade status by using
ectool
from a command line:ectool getServerStatus
For upgrades involving large databases, the output from
ectool getServerStatus
might remain unchanged for long periods. In this case, you can view more granular database update activity by following the procedures on KBEC-00086 - Enabling and collecting voluminous JDBC logging to add SQL logging to the<data_dir>/logs/commander.log
file. You can view recent SQL logging updates to the file by using the Linuxtail <data_dir>/logs/commander.log
command.
After selecting Finish, the CloudBees CD/RO web page opens. However, until the complete upgrade is finished, you will not be able to log in.
You will be able to view the components being installed while the installation completes. You can periodically refresh the page to view the updated status. Once it is complete, the log in window appears. |