Upgrade
JumpServer has two upgrade paths. Choose the one that matches the edition and installation method used for the deployment.
An upgrade restarts services and can interrupt active sessions. Plan a maintenance window, notify users, and create a verified database backup before you begin. See Backup & Restore.
Before you begin
- Read the changelog and release notes for the target version, including database and Redis requirements.
- Confirm the supported upgrade path in Upgrade & Maintenance.
- Back up the database and the active configuration with
./jmsctl.sh backup_db; copy the backup off the host. - Keep the current installation package and configuration until the new version has been verified.
- Run the commands as
rootor a user with superuser privileges.
Community Edition: online upgrade
Use this path when JumpServer was installed with the online one-line installer and the server can reach GitHub.
/opt directory. sh cd /opt Download the installer package for the target version.
Extract the package.
Change to the extracted directory.
sh ./jmsctl.sh upgrade sh ./jmsctl.sh start Enterprise Edition: offline package upgrade
Use this path when JumpServer was installed from an Enterprise offline package. The package is provided by the JumpServer delivery team and does not require internet access on the target server.
Obtain the Enterprise upgrade package and confirm that its version and CPU architecture match the target deployment.
/opt directory. sh cd /opt Place the offline package in /opt. Upload it from the delivery portal, or use
wget when the server can reach the download URL.
Download the package from the offline package site provided by the delivery team.
Upload the package to /opt on the deployment server.
Extract the package.
Change to the extracted directory.
Run the upgrade. The default options are sufficient for a standard deployment.
sh ./jmsctl.sh upgrade
sh ./jmsctl.sh start After the upgrade
- Check the service state:
- Sign in and confirm the version shown in the UI.
- Verify that users can open sessions and that recent recordings and audit logs are still available.
- For Enterprise Edition, confirm that the license is still valid. If needed, import it again from License.
- Review the Core and component logs for errors:
- If the upgrade fails, stop the services and restore the backup from Backup & Restore.
Version-specific upgrade notes
These notes describe the behavior changes and fixes in each target version. They do not change the upgrade commands in the preceding sections.
JumpServer v5.1.0
Changed in v5.1.0JumpServer v5.1.1
Changed in v5.1.1Next steps
- Upgrade & Maintenance: supported version paths and post-upgrade checks.
- Backup & Restore: create and verify a rollback point.
- Command-Line Tools:
jmsctlservice and data commands. - Enable HTTPS: secure the upgraded deployment.