Skip to main content

General Upgrade Guide

General Upgrade Guide

Preparing to Upgrade

Prior to upgrading it is important to read the specific version upgrade steps covered in this section. Due to the complex nature of the solution some versions require specific steps to ensure a successful upgrade. Any version speicific steps will be covered in those pages. The details below cover the overall process for upgrading to any version.

Preparing to Upgrade your Server

 java %RDECK_CLI_OPTS% %RDECK_SSL_OPTS% -jar rundeckpro-enterprise-4.10.2-20201111.war --skipinstall -d >> %CURDIR%\var\logs\service.log 2>&1

  • Backup your $RDECK_BASE\libext folder (in case you have any custom plugins)

  • Backup both folders, $RDECK_BASE/server/config and $RDECK_BASE/etc, just in case

  • Delete these files and dirs:

    $RDECK_BASE/var/.first-run-3.0.22-20190512 (version number may be different)
  • Copy or move the downloaded rundeck war file into your $RDECK_BASE folder

  • Start Rundeck from the console and wait until it boots up successfully

java -jar rundeckpro-enterprise-5.2.0-20240410.war

Installation Specific Notes

Runnable War

To upgrade Rundeck using the runnable war use the following steps:

  • Stop Rundeck Service:
$RDECK_BASE/server/sbin/rundeckd stop
  • In case you have customs plugins in libext folder, backup them. For example, you can move the full libext:
mv $RDECK_BASE/libext $RDECK_BASE/libext.3
  • Remove previous "source" folders:
rm -rf $RDECK_BASE/server/lib/rundeck-core*jar $RDECK_BASE/server/sbin/ $RDECK_BASE/tools/ $RDECK_BASE/var/.install_complete-missing-ver
  • Run the following command to ensure that all files and directories are created properly:
rm var/.install_complete-missing-ver
  • Copy the new war file to $RDECK_BASE and install it:
java -jar rundeck-5.2.0-20240410.war --installonly
  • Start Rundeck 3:
$RDECK_BASE/server/sbin/rundeckd start
  • Copy the "custom" plugins back to $RDECK_BASE/libext folder.

DEB Package

The upgrade process can be done using the .deb file or using the command apt-get:

If using deb package

sudo dpkg -i rundeck-5.2.0-20240410.deb

If using apt-get

sudo apt-get upgrade rundeck

RPM Package

The upgrade process can be done using the .rpm file or using the command yum.

In the case of the RPM or Yum upgrade, any changed config files will not be modified, and new files are saved with the extension .rpmnew. If you have changed your config file, please compare it to the .rpmnew file to see what changes might need to be included.

$ ls -lrt
total 56
-rw-r----- 1 rundeck rundeck  455 Jun  1 19:34
-rw-r----- 1 rundeck rundeck  986 Jun  1 19:34
-rw-r----- 1 rundeck rundeck  729 Jun  1 19:34
-rw-r----- 1 rundeck rundeck 3426 Jun  1 19:34 profile
-rw-r----- 1 rundeck rundeck 7538 Jun  1 19:34
-rw-r----- 1 rundeck rundeck  136 Jun  1 19:34 jaas-loginmodule.conf
-rw-r----- 1 rundeck rundeck 1177 Jun  1 19:34
-rw-r----- 1 rundeck rundeck  511 Jun  1 19:34
-rw-r----- 1 rundeck rundeck 1104 Jun  1 19:34 apitoken.aclpolicy
-rw-r----- 1 rundeck rundeck  738 Jun  1 19:34 admin.aclpolicy
-rw-r----- 1 rundeck rundeck  673 Jun  4 16:02
-rw-r----- 1 rundeck rundeck 1505 Jun  4 16:02
drwxr-x--- 1 rundeck rundeck 4096 Jun  4 16:08 ssl

Using rpm package

$ rpm -U rundeck-5.2.0-20240410.rpm

warning: /etc/rundeck/ created as /etc/rundeck/
warning: /etc/rundeck/ created as /etc/rundeck/
rundeck.server.uuid = XXXXXXXXXXXXXXX

Using yum

$ yum upgrade rundeck