Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

d2-docker upgrade #28

Open
7 tasks done
ifoche opened this issue May 19, 2020 · 0 comments · Fixed by #35
Open
7 tasks done

d2-docker upgrade #28

ifoche opened this issue May 19, 2020 · 0 comments · Fixed by #35
Assignees

Comments

@ifoche
Copy link
Member

ifoche commented May 19, 2020

$ d2-docker upgrade --from est/dhis2-data:2.30-ENTO --to est/dhis2-data:2.33-ENTO

Steps:

  • Create command infrastructure
  • copy 2.30-ENTO 2.31-ENTO (data & core)
  • Run dhis2-data:2.31-ENTO with sql and script.
  • Wait for start to finish -> check PORT + check dhis2 OK -> otherwise ERROR
  • commit dhis2-data:2.31-ENTO
  • stop 2.31-ENTO
  • Loop for all version transitions
$ d2-docker upgrade
    [--port=PORT]
    [--from-core-image IMG] [--to-core-image IMG2]
    [--from-version VERSION] [--to-version VERSION2]
    [--migrations=path/to/scripts/with/sh/and/sql/files]
    --from est/dhis2-data:2.30-ENTO
    --to est/dhis2-data:2.33-ENTO
folder/2.31/upgrade.sh
folder/2.31/dhis.war
folder/2.31/post-upgrade.sh
folder/2.31/post-upgrade.sql
folder/2.32/01.upgrade-basic.sh
folder/2.32/02.upgrade-extended.sh
folder/2.32 (without war -> 2.32 from network:releases)
folder/2.32/check.sql
folder/2.33/upgrade.sh
folder/2.33 (without war -> 2.33 from network:releases)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants