Upgrade NebulaGraph Studio¶
Upgrade NebulaGraph Studio with the method used for its current installation. Use the same method as your current installation, and back up the configuration and data first. The v5.3.2 packages are on GitHub Releases.
Caution
A new version may upgrade the database schema. Check that your backup is usable before upgrading. Switching back to an older program version might not restore the database.
Docker Compose¶
- Back up
studio-compose.yamlin the deployment directory and the Dockerstudio-datavolume. If you mountedconfig-release.yaml, back up that file too. If you use MySQL, back up that database separately. - Check the target version's tag on Docker Hub, then set the
studioservice'simageinstudio-compose.yamltovesoft/nebula-studio:<version>. -
In the deployment directory, run:
docker compose -f studio-compose.yaml pull studio docker compose -f studio-compose.yaml up -d docker compose -f studio-compose.yaml ps -
Open NebulaGraph Studio and verify its configuration and data.
TAR package¶
-
Enter the old installation directory and stop the service:
sudo ./scripts/studio.service stop all sudo ./scripts/studio.service status all -
Back up the old installation directory. With SQLite, back up
data/studio.dband anystudio.db-walandstudio.db-shmfiles in the same directory. With MySQL, back up that database separately. - Download the TAR package for your operating system and architecture from the target version's release page. Extract it into a new directory; do not overwrite the old installation.
- Compare
etc/config.yamlin both versions and apply your custom settings to the new file. With SQLite, copy the backed-up database files to the matching location in the new installation directory. - Enter the new installation directory, start the service, and check its status:
sudo ./scripts/studio.service start all sudo ./scripts/studio.service status all
Remove the old installation directory only after verifying that the page and data work.
RPM or DEB package¶
-
Stop the service. Back up
/etc/nebula-studio/config.yamland, if used,/etc/nebula-studio/studio.env. With the default SQLite setup, back up/var/lib/nebula-studio, includingstudio.dband anystudio.db-walorstudio.db-shmfiles. With MySQL, back up the MySQL database separately.sudo systemctl stop nebula-studio.service -
Download the package for your operating system and architecture from the target version's release page. For RPM, run
sudo rpm -Uvh <downloaded-RPM-file>. For DEB, runsudo dpkg -i <downloaded-DEB-file>. -
Check your custom settings in
/etc/nebula-studio/config.yaml, then start and check the service:sudo systemctl start nebula-studio.service sudo systemctl status nebula-studio.service -
Open NebulaGraph Studio and verify its configuration and data.