Why have my agents stopped working after upgrading Portainer?
If you have recently updated Portainer and have found your Agents or Edge Agents are no longer communicating, you may need to check to confirm whether you have set a custom AGENT_SECRET value.
Docker Standalone
-e AGENT_SECRET=yoursecret1 docker run -d -p 9001:9001 --name portainer_agent --restart=always \
2 -v /var/run/docker.sock:/var/run/docker.sock \
3 -v /var/lib/docker/volumes:/var/lib/docker/volumes \
4 -e AGENT_SECRET=yoursecret
5 portainer/agent:latestDocker Swarm
Kubernetes
PreviousWhy does Portainer keep prompting me to upgrade?NextCan I upgrade an environment from Docker Standalone to Docker Swarm?
Was this helpful?