Skip to content

Upgrade to Gluu Server 4.2#

Overview#

The Gluu Server cannot be upgraded with a simple apt-get upgrade. You will need to either use our in-place upgrade script or explicitly install the new version and export/import your data. Find the existing version below for upgrade instructions to Gluu Server 4.2.

Pre-requisites#

  • Before upgrading, make sure to back up the Gluu container or LDAP LDIF.
  • Upgrades should always be thoroughly scoped and tested on a development environment first.
  • This upgrade process only upgrades versions 4.0.x and 4.1.x. To upgrade from a previous version, first upgrade to 4.0.

Online Upgrade from 4.x to 4.2#

Note

Upgrade script runs on Python 3. You need to install Python 3 before running the script. * On CentoOS/RHEL: yum install -y python3 * On Ubuntu/Debian: apt-get update && apt-get install -y python3

The upgrade script downloads all needed software and applications from the internet. You can perform an online upgrade by following these steps:

  • Download the upgrade script
wget https://raw.githubusercontent.com/GluuFederation/community-edition-package/master/update/4.2.0/upg4xto420.py
  • Execute the script:
python3 upg4xto420.py

Your upgrade directory will be the current directory. The script will create these directories: app, and ces_current, and writes Gluu cacerts.