> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates.md).

# Stacks, deployments and updates

- [Why do relative bind mounts appear empty after updating a stack that was deployed from Git?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/empty-relative-bind-mounts.md)
- [How do automatic updates for stacks/applications work?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/how-do-automatic-updates-for-stacks-applications-work.md)
- [How does the image update notification icon work?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/how-does-the-image-update-notification-icon-work.md)
- [Can I build an image while deploying a stack/application from Git?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/can-i-build-an-image-while-deploying-a-stack-application-from-git.md)
- [Why don't custom standalone app templates show when using Docker Swarm?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/why-dont-custom-standalone-app-templates-show-when-using-docker-swarm.md)
- [How do I configure Portainer's GitOps features to authenticate to a Bitbucket repository?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/how-do-i-configure-portainers-gitops-features-to-authenticate-to-a-bitbucket-repository.md)
- [Why are stack deployment times slow?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/why-are-stack-deployment-times-slow.md)
- [Environment Variable Management in Docker: .env vs. stack.env](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/environment-variable-management-in-docker-.env-vs.-stack.env.md)
- [How do I recover orphaned stacks from a previously deleted environment?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/how-do-i-recover-orphaned-stacks-from-a-previously-deleted-environment.md)
- [Why is my Portainer backup so large?](https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates/why-is-my-portainer-backup-so-large.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/faqs/troubleshooting/stacks-deployments-and-updates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
