Upgrade
This topic describes how to upgrade JumpServer, including both the open-source and enterprise editions.
We recommend upgrading JumpServer regularly to access the latest designs and features.
Upgrade for one-line installation
If you have installed JumpServer using the Install with a one-line command guide, you can upgrade JumpServer by running the following steps.
Log in to the JumpServer deployment server using the "root" or another user with superuser privileges.
Change to the /opt directory.
Download the latest installation package.
wget https://github.com/jumpserver/installer/releases/download/v5.0.0/jumpserver-installer-v5.0.0.tar.gzExtract the installation package.
tar -zxvf jumpserver-installer-v5.0.0.tar.gzChange to the extracted directory.
cd jumpserver-installer-v5.0.0Perform the upgrade.
./jmsctl.sh upgradeStart all services.
./jmsctl.sh startAt this point, you have successfully upgraded JumpServer.
Upgrade for offline installation
If you have installed JumpServer using the Install with an offline package guide, you can upgrade JumpServer by running the following steps.
Log in to the JumpServer deployment server using the "root" or another user with superuser privileges.
Change to the /opt directory.
Download the JumpServer Enterprise offline installation package.
Log in to the offline package download site provided by the delivery team.
Find the JumpServer Enterprise package for your required version and architecture, then download it.
Upload the offline installation package to the /opt directory on the deployment server.
Extract the installation package.
tar -zxvf jumpserver-ee-v5.0.0-x86_64.tar.gzChange to the extracted directory.
cd jumpserver-ee-v5.0.0-x86_64Perform the upgrade, the upgrade process can be completed using all default options.
./jmsctl.sh upgradeStart all services.
./jmsctl.sh startAt this point, you have successfully upgraded JumpServer.