For the complete documentation index, see llms.txt. This page is also available as Markdown.

Troubleshooting

When a deployment fails

When a deployment fails on an environment, the failed row on the application's Environments tab explains the error in plain language and says what to do. Portainer's original message is under Details. Common causes are:

  • An image that can't be pulled. For a private registry, add registry credentials and choose them as the Image pull secret.

  • A missing namespace.

  • A quota or admission policy rejecting the manifest.

  • An environment whose Edge Agent isn't connected.

Common messages

Finish setting up

Portainer-IDP has no Edge Admin credential yet. An administrator needs to set it up on Settings.

Access required

Portainer-IDP's Edge Admin credential is missing, no longer valid, or lacks the Edge Administrator role. An administrator can check it on Settings with Test credential, and replace it with Rotate credentials.

Cannot reach Portainer

The add-on can't connect to Portainer, or Portainer refused its certificate or machine credential. Repairing the add-on in Portainer issues a fresh credential.

Edge Compute is disabled

Portainer-IDP deploys through Portainer's Edge features. An administrator needs to enable Edge Compute in Portainer's settings.

Portainer lost its copy of the file

Choose Redeploy on the failed row, on the application's Environments tab or a secret's Placement tab, to pull the file from Git again.

Sealed Secrets is not ready on every environment

One or more environments the secret is going to can't decrypt it. An administrator can install or repair Sealed Secrets from Cluster Readiness, or directly from the message.

Your saved token can no longer be read

The encryption key changed. Enter your token again on Git commit identity.

Refused by the Helm policy

The chart, with your values, creates something the Helm policy doesn't allow. The review step lists each rule it breaks. See The Helm policy.

This application was changed since you opened it

Someone else saved a change to the file after you opened it, and saving yours would have undone it. Reload to see the latest, then reapply your changes.

A namespace is already declared by another deploy target

Two deploy targets can't declare the same namespace on one environment, because they'd share one Kubernetes namespace and removing it from either would delete it for both. Choose another name, or leave the shared environments out. See Deploy targets.

Enter a host for the Ingress

Portainer-IDP refuses an Ingress with no host, because it would take every request that no other application claims. Enter a host, or expose the application as a NodePort or not at all. See What Portainer-IDP refuses.

A namespace or deploy target is missing from a deploy form

You don't have access to it. Ask an administrator to add you under Who may use it on the namespace.

A button is disabled

Hover over it. The tooltip says why, usually because your role doesn't allow that action.

FAQ

Do developers need Portainer edge rights?

No. Portainer-IDP deploys with its own Edge Admin credential and checks access itself. Developers need a Portainer account, an environment role that gives them the right Portainer-IDP role, and access to a deploy target and namespace.

Can I edit the manifests in Git directly?

Yes. Changes made in Portainer-IDP are commits to the same file, so the two stay in step. Whether, and how often, Portainer checks the repository for changes is set on the Git repository's GitOps source in Portainer.

Why do I need a personal access token?

Commits are made as you, with your token, so Git history shows who changed what. Portainer's own credential on the Git repository is only used to read.

Can I deploy to Docker environments?

No. Deploy targets contain Kubernetes environments connected with the Edge Agent only.

Are secret values stored in Git?

Only encrypted, as Sealed Secrets. Values are encrypted in your browser before they're committed, and only the clusters you deploy to can decrypt them.

What happens to my applications if I remove Portainer-IDP?

They keep running. The manifests stay in Git and the Edge Stacks stay in Portainer.

Last updated

Was this helpful?