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

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

book

Article ID: 111865

calendar_today

Updated On:

Products

STARTER PACK-7 CA Rapid App Security CA API Gateway

Issue/Introduction

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):

setup-ssg-8.4-9.3.sh 
base-8.4-9.3-package.tgz


Once user has completed the update procedure by running the setup-ssg-8.4-9.3.sh 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.

 

Environment

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

Resolution

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