Skip to content

Upgrade Nebula Graph v3.x to v3.2.0

To upgrade Nebula Graph v3.x to v3.2.0, you only need to use the RPM/DEB package of v3.2.0 for the upgrade, or compile it and then reinstall.

Upgrade steps with RPM/DEB packages

  1. Download the RPM/DEB package.

  2. Stop all Nebula Graph services. For details, see Manage Nebula Graph Service. It is recommended to back up the configuration file before updating.

  3. Execute the following command to upgrade:

    • RPM package
      $ sudo rpm -Uvh <package_name>

      If you specify the path during installation, you also need to specify the path during upgrade.

      $ sudo rpm -Uvh --prefix=<installation_path> <package_name>
    • DEB package
      $ sudo dpkg -i <package_name>
  4. Start the required services on each server. For details, see Manage Nebula Graph Service.

Upgrade steps by compiling the new source code

  1. Back up the old version of the configuration file. The configuration file is saved in the etc directory of the Nebula Graph installation path.

  2. Update the repository and compile the source code. For details, see Install Nebula Graph by compiling the source code.


    When compiling, set the installation path, which is the same as the installation path of the old version.

Upgrade steps by deploying Docker Compose

  1. Modify the file docker-compose.yaml in the directory nebula-docker-compose, and modify all versions after image to release-3.2.

  2. Execute the command docker-compose pull in the directory nebula-docker-compose to update the images of all services.

  3. Execute the command docker-compose down to stop the Nebula Graph service.

  4. Execute the command docker-compose up -d to start the Nebula Graph service.

Last update: August 12, 2022