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

Lost stacks #436

Open
2 tasks done
glennpierce opened this issue Feb 26, 2024 · 5 comments
Open
2 tasks done

Lost stacks #436

glennpierce opened this issue Feb 26, 2024 · 5 comments
Labels
bug Something isn't working need-reproduce-steps

Comments

@glennpierce
Copy link

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

  • I checked and didn't find similar issue

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

@glennpierce glennpierce added the bug Something isn't working label Feb 26, 2024
@urolithicrogue
Copy link

urolithicrogue commented Feb 26, 2024

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

@glennpierce
Copy link
Author

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

@PatNei
Copy link

PatNei commented Mar 27, 2024

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.

@Isotop7
Copy link

Isotop7 commented Apr 21, 2024

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?

@PatNei
Copy link

PatNei commented May 1, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need-reproduce-steps
Projects
None yet
Development

No branches or pull requests

5 participants