-
Notifications
You must be signed in to change notification settings - Fork 443
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
Migration needed before upgrade_from_maple #689
Labels
bug
Bugs will be investigated and fixed as quickly as possible.
Comments
I mentioned this already here https://discuss.openedx.org/t/tutor-upgrade-to-nutmeg-error-because-of-uncreated-tables/7452 |
ibrmora
added a commit
to ibrmora/tutor
that referenced
this issue
Jun 12, 2022
fix: Migration needed before upgrade_from_maple issue overhangio#689
ibrmora
added a commit
to ibrmora/tutor
that referenced
this issue
Jun 13, 2022
Add an entry to the Changelog for issue ([overhangio#689](overhangio#689))
ibrmora
added a commit
to ibrmora/tutor
that referenced
this issue
Jun 13, 2022
fix: Migration needed before upgrade_from_maple issue ([overhangio#689](overhangio#689))
ibrmora
added a commit
to ibrmora/tutor
that referenced
this issue
Jun 13, 2022
fix: Migration needed before upgrade_from_maple issue ([overhangio#689](overhangio#689))
ibrmora
added a commit
to ibrmora/tutor
that referenced
this issue
Jun 13, 2022
fix: Migration needed before upgrade_from_maple issue overhangio#689
regisb
pushed a commit
that referenced
this issue
Jun 13, 2022
fix: Migration needed before upgrade_from_maple issue #689
This is resolved in v14.0.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
When you upgrade from Maple to Nutmeg using command
tutor local upgrade --from=maple
the result
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'openedx.user_tours_usertour' doesn't exist") ERROR: 1 Error: Command failed with status 1: docker-compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/local/docker-compose.prod.yml -f /root/.local/share/tutor/env/local/docker-compose.tmp.yml --project-name tutor_local run --rm lms sh -e -c ./manage.py lms backpopulate_user_tours
to avoid the error run migration on both
tutor local run lms ./manage.py lms migrate
tutor local run cms ./manage.py cms migrate
then run
tutor local upgrade --from=maple
againor add migration to upgrade_from_maple function
https://github.com/overhangio/tutor/blob/v14.0.0/tutor/commands/upgrade/local.py#L102
Environment
update from
tutor, version 13.2.3 open-release/maple.3
to
tutor, version 14.0.0 open-release/nutmeg.1
The text was updated successfully, but these errors were encountered: