7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-06 16:10:48 +00:00

Fix: double pulling mongodb image when upgrading from Koa to Lilac. ref: https://discuss.overhang.io/t/double-pulling-mongo-images-when-upgrading-from-koa-to-lilac/1625

This commit is contained in:
Crist 2021-06-14 22:28:14 +08:00 committed by Régis Behmo
parent 31a41f81c3
commit d49d166383
3 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- [Bugfix] Fix double pulling mongodb image when upgrading from Koa to Lilac.
- [Bugfix] Fix "upstream sent too big header" error during login of existing users after a Koa to Lilac upgrade.
- [Feature] Added the ability to skip `config.yml` file modification while running `tutor config save` command with `-e` or `--env-only` flag.

View File

@ -183,7 +183,7 @@ def upgrade_from_koa(context: click.Context, config: Config) -> None:
"nothing left to do to upgrade from Koa to Lilac."
)
return
upgrade_mongodb(context, config, "4.0")
upgrade_mongodb(context, config, "4.0.25")
def upgrade_mongodb(context: click.Context, config: Config, to_version: str) -> None:

View File

@ -29,7 +29,7 @@ DOCKER_IMAGE_OPENEDX: "{{ DOCKER_REGISTRY }}overhangio/openedx:{{ TUTOR_VERSION
DOCKER_IMAGE_OPENEDX_DEV: "{{ DOCKER_REGISTRY }}overhangio/openedx-dev:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_CADDY: "{{ DOCKER_REGISTRY }}caddy:2.3.0"
DOCKER_IMAGE_FORUM: "{{ DOCKER_REGISTRY }}overhangio/openedx-forum:{{ TUTOR_VERSION }}"
DOCKER_IMAGE_MONGODB: "{{ DOCKER_REGISTRY }}mongo:4.0.23"
DOCKER_IMAGE_MONGODB: "{{ DOCKER_REGISTRY }}mongo:4.0.25"
DOCKER_IMAGE_MYSQL: "{{ DOCKER_REGISTRY }}mysql:5.7.33"
DOCKER_IMAGE_ELASTICSEARCH: "{{ DOCKER_REGISTRY }}elasticsearch:7.8.1"
DOCKER_IMAGE_NGINX: "{{ DOCKER_REGISTRY }}nginx:1.19.9"