Skip to content
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

Can't delete stack if compose.yml has some error in it #694

Open
2 tasks done
Nostang3 opened this issue Dec 28, 2024 · 0 comments
Open
2 tasks done

Can't delete stack if compose.yml has some error in it #694

Nostang3 opened this issue Dec 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Nostang3
Copy link

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ 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

  1. Paste in some default compose
services:
  tinymediamanager:
    image: tinymediamanager/tinymediamanager:latest
    container_name: tinymediamanager
    environment:
      - USER_ID=1000
      - GROUP_ID=100
      - ALLOW_DIRECT_VNC=true
      - LC_ALL=en_US.UTF-8 # force UTF8
      - LANG=en_US.UTF-8   # force UTF8
      - PASSWORD=<password>
    volumes:
      - </path/to/local/data/>:/data
      - </path/to/movies>:/media/movies
      - </path/to/addons/>:/media/tv_shows
    ports:
      - 5900:5900 # VNC port
      - 4000:4000 # Webinterface
    restart: unless-stopped
  1. Save.
  2. Attempt to delete.

👀 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

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

service "tinymediamanager" refers to undefined volume </path/to/local/data/>: invalid compose project
@Nostang3 Nostang3 added the bug Something isn't working label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant