Upgrade Hub
Prerequisites
Before you upgrade, perform the following prerequisite tasks:
Create a backup of your current database. Hub does not provide forward database compatibility. Your database is migrated to the format that is compatible with the latest version during the upgrade procedure. This means that you cannot revert to a previous version and continue to use the database that was processed during the upgrade.
Copy the backup of your current database to a secure location just in case you encounter problems with the upgrade and need to roll back to the previous version.
Recommended upgrade path
Installation Version | Target Version |
---|---|
1.0 | 2.0 |
2.x | 2017.1 |
2017.x | 2018.x |
2018.x | 2019.x |
2019.x | 2020.x |
2020.x | 2021.x |
2021.x | 2022.x |
2022.x | 2023.1* --> 2023.2 or 2023.3 |
2023.2 or 2023.3 | 2024.x |
Upgrade Hub for Helm-based Datalore On-Premises installation
Assuming that your Hub values file is hub.values.yaml, run the command below to upgrade Hub.
helm upgrade -f hub.values.yaml hub datalore/hub --version 0.2.24Run the
kubectl logs service/hub
to check the Hub output forwizard_token
.The expected output has a line like this:
JetBrains Hub 2024.3 Configuration Wizard will be available on [http://[host_name]:8082/?wizard_token=aDeMLUMskcpZW4sXJQye] after startCopy the
wizard_token
value to the clipboard.Open the Hub page in your browser and insert the
wizard_token
value into the Token field.Click the Log in button.
Click the Upgrade button and wait for the upgrade to complete.
Upgrade Hub for Docker-based Datalore On-Premises installation
Make sure you have the Hub version updated in your docker-compose.yaml. Refer to the example below:
services: ... hub: image: jetbrains/hub:2024.3.47197Run
docker compose down
to stop Datalore.Run
docker compose up hub
to start the Hub service.Check the Docker output for
wizard_token
. Use thedocker compose logs hub
command if running in the detached mode.The expected output has a line like this:
JetBrains Hub 2024.3 Configuration Wizard will be available on [http://[host_name]:8082/?wizard_token=aDeMLUMskcpZW4sXJQye] after startCopy the
wizard_token
value to the clipboard.Open the Hub page in your browser and insert the
wizard_token
value into the Token field.Click the Log in button.
Click the Upgrade button and wait for the upgrade to complete.
Run
docker compose up
to start Datalore.