# Nutmeg upgrade: outlines.py: "openedx.core.djangoapps.content.learning\_sequences.models.LearningContext.DoesNotExist: LearningContext matching query does not exist"

**URL:** <https://discuss.openedx.org/t/nutmeg-upgrade-outlines-py-openedx-core-djangoapps-content-learning-sequences-models-learningcontext-doesnotexist-learningcontext-matching-query-does-not-exist/7892>\
**Category:** Site Operations Help\
**Created:** [July 21, 2022, 5:49pm UTC](https://discuss.openedx.org/t/nutmeg-upgrade-outlines-py-openedx-core-djangoapps-content-learning-sequences-models-learningcontext-doesnotexist-learningcontext-matching-query-does-not-exist/7892 "2022-07-21T17:49:43Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![Abdess](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abdess/32/2982_2.png) [@Abdess](https://discuss.openedx.org/u/Abdess)\
**Post date:** [July 27, 2022, 1:14pm UTC](https://discuss.openedx.org/t/nutmeg-upgrade-outlines-py-openedx-core-djangoapps-content-learning-sequences-models-learningcontext-doesnotexist-learningcontext-matching-query-does-not-exist/7892/29 "2022-07-27T13:14:38Z")

</div>

And you didn’t encounter any bugs or problems on your side?

While trying to reproduce these manipulations directly from MySQL8, I got the following error message when importing the database converted utf8mb3 to utf8mb4:  
`ERROR 1146 (42S02) at line 2584: Table 'openedx.learning_sequences_coursesection' doesn't exist`

I double check my manipulations and come back with an update.

**UPDATE:** [Upgrading MySQL charset to utf8mb4 - #2 by Abdess](https://discuss.openedx.org/t/upgrading-mysql-charset-to-utf8mb4/7927/2)

---

_[View the full topic](https://discuss.openedx.org/t/nutmeg-upgrade-outlines-py-openedx-core-djangoapps-content-learning-sequences-models-learningcontext-doesnotexist-learningcontext-matching-query-does-not-exist/7892)._
