Open glennpierce opened 4 months ago
did you run the two commands separately? i had a similar issue till i realized the commands needed to be run separately.
basically what happened if you ran the commands together, instead of reading from /opt/dockge like it should it would have instead ran from the / directory. running the commands again but separately should update dockge correctly and make your stacks show back up assuming that they are in the default directory of /opt/dockge.
(it looks like one command because of having no space in between but is actually 2 commands like so)
cd /opt/dockge
docker compose pull && docker compose up -d
I ran the command together. Copied and pasted from the Readme. I have done the same in the past with no problem. The default location in my case was /opt/stacks/ My files were actually wiped from the filesystem . The only one left was one from the service gotify which was a docker service I did not have managed or running by dockge. That may be a clue ?
I must confessed as I had to recreate all my service compose files I have lost confidence and just decided to use compose / docker on the command line now.
Thanks
This happened to me to. I stopped and removed all the docker containers and now it can't even detect the stacks in the folder. I never changed any setting, it is very strange.
Did you guys stop the stack before? I'm not proficient in compose
internals but it would be better to run
docker compose down
docker compose up -d
or
docker compose restart
for a sane restart routine after pulling the latest updates.
Did you make any changes to the compose-file? Do you see your stacks when doing docker compose ls
?
A little embarrassing update from my side. It turned out that another application kept overriding my .env file with a wrong path to the stacks, meaning that dockge was not the problem. Sorry for the inconvenience :)
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
I did an update
cd /opt/dockge docker compose pull && docker compose up -d
But now all my stack of the filesystem are gone. Dockage says "This stack is not managed by Dockge."
👟 Reproduction steps
Update Dockge
👀 Expected behavior
Not losing files
😓 Actual Behavior
Lost config
Dockge Version
Version: 1.4.2
💻 Operating System and Arch
Debian 11.8
🌐 Browser
Google Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response