diff --git a/CHANGELOG.md b/CHANGELOG.md index e96d4eb..3ef879a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased +- [Bugfix] Fix Mongodb compatibility version upgrade when upgrading from Koa to Lilac. + ## v12.1.2 (2021-09-18) - [Bugfix] Fix (agin) forum starting issue: "NoMethodError: undefined method 'encode' for nil:NilClass". diff --git a/tutor/commands/local.py b/tutor/commands/local.py index c6adf7a..ce3b041 100644 --- a/tutor/commands/local.py +++ b/tutor/commands/local.py @@ -1,4 +1,5 @@ import os +from time import sleep import click @@ -198,6 +199,8 @@ def upgrade_mongodb( config["DOCKER_IMAGE_MONGODB"] = "mongo:{}".format(to_docker_version) tutor_env.save(context.obj.root, config) context.invoke(compose.start, detach=True, services=["mongodb"]) + fmt.echo_info("Waiting for mongodb to boot...") + sleep(10) context.invoke( compose.execute, args=[