search cancel

CA API Gateway - Error Can't execute upgrade script more than once


Article ID: 111865


Updated On:


STARTER PACK-7 CA Rapid App Security CA API Gateway


With most recent Portal Cumulative Release patches (e.g CR7, CR8, CR9), Portal Integration Components files have been renamed with a simplified name that covers all Gateway versions (from 8.4 to 9.3): 

Once user has completed the update procedure by running the script, the code will generate a new file named "setup-8.4-9.3-ssg.done" to confirm successful installation. No matter from what Portal CRx the update come from, the file generated will remain same.
Any additional execution on the same machine (for example, for new update component installation), the script checks the existence of such file and if found, it will terminate the installation routine.



Release: L7SGA299000-9.2-API Gateway SOA Gateway-HARDWARE APPLIANCE DUAL CPU


In order to allow the update script to be executed again on the same Gateway, it is necessary to rename or remove the setup-8.4-9.3-ssg.done file that was created by a previous update instance.

- to rename:
# mv /opt/SecureSpan/setup-8.4-9.3-ssg.done /opt/SecureSpan/setup-8.4-9.3-ssg.OLD

- to remove
# rm -f /opt/SecureSpan/setup-8.4-9.3-ssg.done