portainer: Unable to stop stack

Hi! First sorry for my english, i’ll try to do the best for explain my problem.

Bug description Unable to stop a stack created with portainer stack editor (docker compose)

When i try to stock the stack i have an error message: failed to remove a stack: Invalid template: "XXXX" (XXXX is the content of the first environnement variable)

Expected behavior Stop the stack to update it (add a volume for a container)

Portainer Logs There is nothing in portainer log (strange ?)

Steps to reproduce the issue:

  1. Go to ‘Stack’
  2. Select the stack
  3. Click on ‘Stop this stack’
  4. Confirm
  5. See error

Technical details:

  • Portainer version: Community Edition 2.16.0
  • Docker version (managed by Portainer): 5:20.10.21~3-0~debian-bullseye
  • Kubernetes version (managed by Portainer):
  • Platform (windows/linux): linux (OpenMediaVault)
  • Command used to start Portainer (docker run -p 9443:9443 portainer/portainer): started by OpenMediaVault (omv-extras)
  • Browser: firefox
  • Use Case (delete as appropriate): Using Portainer at Home
  • Have you reviewed our technical documentation and knowledge base? No

About this issue

Most upvoted comments