Error "network portal_private not found" starting Portal
search cancel

Error "network portal_private not found" starting Portal

book

Article ID: 240915

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

You receive the below error when you try to start the portal:

failed to create service portal_authenticator: Error response from daemon: network portal_private not found

Environment

Release : 5.0

Cause

Need to reset the portal, Postgres DB in error

Also, after resetting getting error accessing portal:

httpStatusCode 404

errorCode 505

devErrorMessage "tenant id +tenant### not found"

userErrorMessage "tenant id +tenant### not found."

locale "en"

userErrorKey "error.resource.not.found"

Resolution

  1. Reset portal. See: Troubleshoot the Installation.
  2. 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:
    1. 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)
    2. Run the deployment.
    3. If you encounter any errors, repeat step 1.
    4. Review /etc/hosts - for proper names for the portal
    5. Wait for all containers to be up 1/1 before creating container
      # watch docker service ls
    6. Create the tenant
      apim-portal-4.4-final/util/create-tenant.sh -D -d
    7. Fill in values when asked.
      Example: 

      Tenant ID: tenant##

      Portal name: TSSG-4.4

      Admin email: root@r<hostnme>

      'No Reply' email: noreply@<hostname>

      Terms of use (EULA): Eula

    8. 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 +tenant### not found"

      userErrorMessage "tenant id +tenant### not found."

      locale "en"

      userErrorKey "error.resource.not.found"