1
0
Fork 0
mirror of https://github.com/louislam/dockge.git synced 2026-03-03 02:06:55 -05:00

Editing a volume configuration hangs on confirmation #229

Open
opened 2026-02-20 13:12:24 -05:00 by deekerman · 0 comments
Owner

Originally created by @plaffitt on GitHub (Oct 8, 2025).

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

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

I use rclone docker volume plugin to mount a directory from my NextCloud instance, but updating the volume configuration makes dockge hangs.

volumes:
  nextcloud_photos:
    driver: rclone
    driver_opts:
      type: webdav
      read-only: "true"
      allow-other: "true"
      webdav-url: $URL
      webdav-user: $USERNAME
      webdav-vendor: nextcloud
      webdav-pass: $PASSWORD
      vfs-cache-mode: full
      vfs-cache-max-size: 1G

👟 Reproduction steps

Configure a compose stack with a volume (don't need to use a plugin), deploy it, update the volume configuration and deploy again.

Minimal example (before first deploy):

services:
  nginx:
    image: nginx:latest
    volumes:
      - nextcloud:/mnt
volumes:
  nextcloud: {}

Minimal example (before second deploy):

services:
  nginx:
    image: nginx:latest
    volumes:
      - nextcloud:/mnt
volumes:
  nextcloud:
    labels:
      com.example.description: "A volume"

👀 Expected behavior

Multiple solutions can be envisaged:

  • Pass the --yes flag to the up command
  • Allow interactive confirmation
  • Disable interactive mode and allow user to create / delete volumes some where else

😓 Actual Behavior

Logs show the following prompt:

? Volume "nginx_nextcloud" exists but doesn't match configuration in compose file. Recreate (data will be lost)? (y/N)

It prevents me from interacting with this stack, refreshing the page doesn't help. The only way is to ssh on the server, run docker compose up -d and confirm there AND restart the dockge container.

Dockge Version

1.5.0

💻 Operating System and Arch

Ubuntu 24.04.3 LTS / Kernel 6.8.0-85-generic x86_64

🌐 Browser

Google Chrome 139.0.7258.154 (Official Build) (64-bit)

🐋 Docker Version

Docker 28.4.0

🟩 NodeJS Version

No response

📝 Relevant log output

? Volume "nginx_nextcloud" exists but doesn't match configuration in compose file. Recreate (data will be lost)? (y/N)
Originally created by @plaffitt on GitHub (Oct 8, 2025). ### ⚠️ Please verify that this bug has NOT been reported before. - [x] I checked and didn't find similar issue ### 🛡️ Security Policy - [x] I agree to have read this project [Security Policy](https://github.com/louislam/dockge/security/policy) ### Description I use [rclone docker volume plugin](https://rclone.org/docker/) to mount a directory from my NextCloud instance, but updating the volume configuration makes dockge hangs. ```yaml volumes: nextcloud_photos: driver: rclone driver_opts: type: webdav read-only: "true" allow-other: "true" webdav-url: $URL webdav-user: $USERNAME webdav-vendor: nextcloud webdav-pass: $PASSWORD vfs-cache-mode: full vfs-cache-max-size: 1G ``` ### 👟 Reproduction steps Configure a compose stack with a volume (don't need to use a plugin), deploy it, update the volume configuration and deploy again. Minimal example (before first deploy): ```yaml services: nginx: image: nginx:latest volumes: - nextcloud:/mnt volumes: nextcloud: {} ``` Minimal example (before second deploy): ```yaml services: nginx: image: nginx:latest volumes: - nextcloud:/mnt volumes: nextcloud: labels: com.example.description: "A volume" ``` ### 👀 Expected behavior Multiple solutions can be envisaged: - Pass the `--yes` flag to the `up` command - Allow interactive confirmation - Disable interactive mode and allow user to create / delete volumes some where else ### 😓 Actual Behavior Logs show the following prompt: ```log ? Volume "nginx_nextcloud" exists but doesn't match configuration in compose file. Recreate (data will be lost)? (y/N) ``` It prevents me from interacting with this stack, refreshing the page doesn't help. The only way is to ssh on the server, run `docker compose up -d` and confirm there AND restart the dockge container. ### Dockge Version 1.5.0 ### 💻 Operating System and Arch Ubuntu 24.04.3 LTS / Kernel 6.8.0-85-generic x86_64 ### 🌐 Browser Google Chrome 139.0.7258.154 (Official Build) (64-bit) ### 🐋 Docker Version Docker 28.4.0 ### 🟩 NodeJS Version _No response_ ### 📝 Relevant log output ```shell ? Volume "nginx_nextcloud" exists but doesn't match configuration in compose file. Recreate (data will be lost)? (y/N) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dockge-louislam#229
No description provided.