-
-
Notifications
You must be signed in to change notification settings - Fork 492
Can't delete stack if compose.yml has some error in it #694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue here. "validating /opt/stacks/aio/compose.yaml: services.nextcloud-aio-mastercontainer.environment.0 must be a string" Stacks don't appear in Portainer, what gives? |
As a simple solution. Remove the stacks folder |
You can also just replace the compose.yaml with a working one and then delete the stack. Still, it would be nice to be able to delete a “stack” with no compose.yaml and .env or one that doesn’t work. |
@christmaswreath I agree. Though this can cause an issue of hanging containers. |
Yep, having this issue as well. Can't delete it, change it, or anything if Dockage gets confused. It says it's maintaining it and inactive, but for some reason has no control over a stopped or ended container... |
🛡️ Security Policy
Description
I started to create a stack but decided I didn't want it so I tried to delete it. Never deployed it. It wouldn't let me because it looks like it tries to validate the text before allowing me to delete it. It still had some <insert/path/here:/path/to/folder> entries.
👟 Reproduction steps
👀 Expected behavior
Would like to delete the file without having to check if the compose is valid. If I don't want to the stack it shouldn't need to be valid unless I'm missing something.
😓 Actual Behavior
Fails to delete with error.
Dockge Version
1.4.2
💻 Operating System and Arch
Trunas Custom App
🌐 Browser
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
The text was updated successfully, but these errors were encountered: