Help Center/ Huawei Cloud Astro Canvas/ User Guide/ Private Deployment/ Upgrade Guide for Private Deployment
Updated on 2025-03-24 GMT+08:00

Upgrade Guide for Private Deployment

If the Huawei Cloud Astro Canvas runtime environment deployment package has multiple versions and the new version has function changes, you can upgrade the deployed Huawei Cloud Astro Canvas by following the instructions in this section.

You can upgrade the service using either of the following methods: Create a directory and deploy the new version. Replace the private-deploy-Version.jar package in the old version.

Upgrading the Deployed Huawei Cloud Astro Canvas Service

  • Method 1: Creating a directory and deploying the service again
  1. On the Huawei Cloud Astro Canvas console, click Go to Homepage.
  2. In the upper right corner of the page, click the account name and choose Private Deploy.

    Figure 1 Choosing Private Deploy

  3. In the local deployment information dialog box, click Version List to download the target runtime environment deployment package.

    Figure 2 Downloading the runtime environment deployment package of the new version

  4. Go to the private deployment directory of the old version and stop the service.

    cd /home/canvas_private/AstroCanvas_Runtime
    sh stop.sh

  5. Create a directory and deploy the new version by referring to Installation Guide for Private Deployment.
  • Method 2: Replacing the private-deploy-Version.jar package in the old version
  1. Obtain the private deployment package of the new version and decompress it.

    1. On the Huawei Cloud Astro Canvas console, click Go to Homepage.
    2. In the upper right corner of the page, click the account name and choose Private Deploy.
    3. In the local deployment information dialog box, click Version List to download the target runtime environment deployment package.
      Figure 3 Downloading the runtime environment deployment package of the new version
    4. Decompress the package to obtain the private-deploy-Version.jar package.

  2. Go to the directory in Installation Guide for Private Deployment.

    cd /home/canvas_private/AstroCanvas_Runtime

  3. Replace the private-deploy-Version.jar package with the new package in 1.d.

    Figure 4 Replacing the JAR package

  4. After the replacement is successful, restart the service.

    cd /home/canvas_private/AstroCanvas_Runtime
    sh stop.sh
    sh start.sh