We are receiving the following error when we try to start the portal
Needed to reset the portal, Postgres DB in error
Also after resetting getting error accessing portal
httpStatusCode 404
errorCode 505
devErrorMessage "tenant id +tenant502 not found"
userErrorMessage "tenant id +tenant502 not found."
locale "en"
userErrorKey "error.resource.not.found"
Release : 5.0
Component :
Reset portal
Restart Deployment
The API Portal installation issues are resolved automatically when the Docker Daemon is running. If you must start the deployment, follow these steps:
Remove the existing deployment (services only) using the following command:
# docker stack rm portal
Note: Removing the existing deployment does not remove the persistent data.
To remove persistent data, use:
# docker volume rm $(docker volume ls -q)
Run the deployment.
If you encounter any errors, repeat step 1.
Review /etc/hosts - for proper names for the portal
Wait for all containers to be up 1/1 before creating container
# watch docker service ls
Create the tenant
apim-portal-4.4-final/util/create-tenant.sh -D -d
Fill in values when asked example:
Tenant ID: tenant50
Portal name: TSSG-4.4
Admin email: [email protected]r<hostnme>
'No Reply' email: [email protected]<hostname>
Terms of use (EULA): Eula
You must access the portal over SSL using the tenant name (DNS resolvable) if not the following error related to tenant Not Found occurs
https://<no tenant-name> /admin/homeRedirect
httpStatusCode 404
errorCode 505
devErrorMessage "tenant id +tenant502 not found"
userErrorMessage "tenant id +tenant502 not found."
locale "en"
userErrorKey "error.resource.not.found"