Help Center/ Huawei Cloud Astro Zero/ FAQs/ Application Release and Deployment/ What Should I Do If Software Installation Fails Due to a Unique Index Conflict?
Updated on 2025-03-20 GMT+08:00

What Should I Do If Software Installation Fails Due to a Unique Index Conflict?

Description

The software package fails to be installed, and a message is displayed indicating that a unique index conflict occurs.

Solution

  1. Use the console to check the data in the table where the conflict occurred.

    • Method 1: Log in to the Huawei Cloud Astro Zero environment configuration page and click on the right to debug data.
    • Method 2: Go to the application designer. In the lower part of the navigation pane, click to debug data.
    • Method 3: Enter https://Huawei Cloud Astro Zero domain name/studio/console.html in the address box of a browser to access the console for data debugging.

  2. After the conflict data is found, perform the following operations:

    • Delete data in the installation package.
    • Delete data from the environment.
    • Use the pre-processing and post-processing scripts to delete or modify existing data in the target environment.

    For metadata other than scripts, flows, and BPMs, this error occurs if data with the same name but different IDs, or the same ID but different names, exists. To avoid this, do not delete and recreate resources with the same name in the development environment. Instead, create resources with unique names.