CA API Developer Portal: Containers hang on startup
book
Article ID: 102863
calendar_today
Updated On:
Products
CA API Developer PortalCA API Gateway
Issue/Introduction
When starting the API portal for the first time it is noticed that several containers hang or restart.
Environment
Release: Component: APIPRD
Resolution
If you have had a prior failed deployment it is likely some data was persisted that will cause issues. Providing there is not need for the persistent data you can safely rebuild the docker stack and remove the persistent volume.
WARNING: DO NOT REMOVE THE DOCKER VOLUME IF YOU HAVE DATA THAT YOU NEED TO KEEP You can run the below commands to clean up the install
The below command will remove the docker volume as noted above. This will remove persistent data. DO NOT run this command if you have data you wish to preserve, instead skip to step 5. 4. docker volume rm $(docker volume ls -q)
5. Re-start the portal by navigating to the install path (ie: /opt/apim-portal) and running the portal.sh script