search cancel

CA API Developer Portal - Manually reload the portal images

book

Article ID: 202690

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

Portal is down and cannot startup

The portal.sh is hanging on 

"Checking to see if DB schema update is needed..."

Environment

Release : 4.4

Component : API PORTAL

Cause

The command,

docker service ps portal_db-upgrade-rbac

shows error of missing image.

So, some docker images are accidentally removed when clean up the disk.  

 

Resolution

1. Extract the images folder from the offline install package

for example,

tar zxvf apim-portal-<version>-final.tar.gz  -C /tmp

2. Copy the images folder to the portal install folder

<portal install folder>/images

for example,

cp -pr /tmp/apim-portal-<version>-final/images <portal install folder>

3. Run the load-images.sh under portal install folder to reload the images

4. Run portal.sh to start the portal