Help Center/ Huawei Cloud Astro Zero/ FAQs/ Application Release and Deployment/ How Do I Resolve One-Click Application Deployment Failures?
Updated on 2025-08-14 GMT+08:00

How Do I Resolve One-Click Application Deployment Failures?

Description

When you choose Publish > Release App > One-click deployment on the menu bar of the application designer, a message indicating deployment failed is displayed.

Figure 1 Deployment failed

Solution

Application deployment might fail for different reasons. Check the error message on the page to find out what went wrong.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane on the left, click Ongoing.
  3. In the task list, click View Issue in the corresponding deployment task.

    Figure 2 Clicking View Issue

  4. Locate the fault based on the error message displayed on the page.

    Figure 3 Viewing the error message

    For example, Figure 3 indicates that the Namespace__script1 record does not exist or is not activated. After creating a script, you need to activate it. If not, the system will show a message saying the script does not exist or is not activated. To fix this, follow these steps:

    1. In the navigation pane, choose Logic.
    2. Under Script, click Namespace__script1 to enter the script editor.
    3. In the script editor, click to activate the script.
      Figure 4 Script inactivated
      Figure 5 Script activated
    4. After the script is activated, choose Publish > Release App > One-click deployment. The application can be properly deployed.
      Figure 6 Application deployed successfully