portainer / portainer

Making Docker and Kubernetes management easy.
https://www.portainer.io
zlib License
30.69k stars 2.46k forks source link

orphaned stacks #8602

Closed p6002 closed 1 year ago

p6002 commented 1 year ago

Why are my stacks orphaned, like where do I find the compose files to fix everything from scratch?

tamarahenson commented 1 year ago

@p6002

If a Stack appears in an Orphan state, you can select the Associate button to bring them back into Control:Total. Orphan state means that the Stack had been previously created and the Environment had been deleted that it was associated in.

You can enable volume browsing to find compose files as shown here: https://portal.portainer.io/knowledge/how-do-i-browse-volumes

Or, you can manually navigate to /var/lib/docker/volumes/portainer_data/_data/compose on the command line

Thanks!

p6002 commented 1 year ago

Unfortunately, the Asociate button did not work in this case, even after stopping the container (wordpress).

I have already managed to fix this by getting rid of the portainer.