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

Best way to upgrade a Docker instance? #26

Open
xme opened this issue Jun 3, 2024 · 3 comments
Open

Best way to upgrade a Docker instance? #26

xme opened this issue Jun 3, 2024 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@xme
Copy link

xme commented Jun 3, 2024

I was wondering if you have tips to upgrade a Mantis instance running in Docker? Without losing existing data.
Just update the git repo and restart the ./docker-setup-ubuntu.sh script to build new images?
Tx!

@Prateek-Thakare
Copy link
Collaborator

Hey @xme

You need to get the latest Mantis repo (clone), re-run the setup script. The setup script will detect existing Mantis setup and provides you options on how to proceed. Choose an option where MongoDB instance is not deleted so that your existing data and the MongoDB instance are preserved.

@Prateek-Thakare Prateek-Thakare self-assigned this Jun 3, 2024
@Prateek-Thakare Prateek-Thakare added the help wanted Extra attention is needed label Jun 3, 2024
@xme
Copy link
Author

xme commented Jun 4, 2024

Hi Prateek,
Nice, it ran smoothly! Tx!
I does not seem to be critical, Mantis works, but I got this error at the end of the setup script:
jq: error (at <stdin>:1): Cannot index array with string "Service"

@0xbharath
Copy link
Collaborator

This error occurs because of changes to docker compose ps command output in the latest docker compose versions. Can you update your docker compose to the latest version and try the same? It should resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants