portainer: `Update the stack` fails with 500 `open /data/compose/27/v1/applications//docker-compose.yml: no such file or directory`

Before you start please confirm the following.

Problem Description

Trying to update a stack with 2.19.0 fails with the error 500 open /data/compose/27/v1/applications/(...)/docker-compose.yml: no such file or directory

This seems to happen since 2.19.0. Before it worked without any problems for months.

Expected Behavior

The stack should be updated.

Actual Behavior

Error open /data/compose/27/v1/applications/<appname>/docker-compose.yml: no such file or directory

Steps to Reproduce

  1. Go to stack
  2. Go to “Editor”
  3. Update the stack
  4. Repull and redeploy
  5. Update
  6. 500 error in the notifications

Portainer logs or screenshots

Bildschirmfoto 2023-09-07 um 06 56 19

Portainer version

2.19.0

Portainer Edition

Business Edition (BE/EE) with Home & Student license

Platform and Version

Docker standalone 24.0.6

OS and Architecture

Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-83-generic x86_64)

Browser

Google Chrome 116.0.5845.140

What command did you use to deploy Portainer?

docker run -d \
 --name portainer \
 -p 9443:9443 \
 -v portainer_data:/data \
 -v /var/run/docker.sock:/var/run/docker.sock \
 --restart=always \
 portainer/portainer-ee:latest \
 --http-disabled \
 --templates (...)/templates.json \
 --logo (...)/portainer_logo.png

Additional Information

No response

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 20

Most upvoted comments

2.19.2 released with a fix for this issue. Please upgrade and let us know if the issue persists.