You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from Olive to Palm, if a single course contains emojis in its short description (such as "📌" or "📣") then the LMS dashboard will fail to load.
How to reproduce
Launch an olive platform:
export TUTOR_ROOT=$(pwd)
pip install 'tutor[full]<16.0.0'
tutor local lauch
tutor local do createuser --superuser --staff --password=1234 admin admin@overhang.io
MySQL is also upgraded from 5.7 -> 8.0 when upgrading from Olive to Palm.
However, the character set is maintained across MySQL upgrades and Olive utilized the utf8mb3 character set as default and it stays the same in Palm after the upgrade process. This character set does not support emojis and therefore, this error occurs.
To resolve this, a new do command was added in v19.0.0 through #1079. You should utilize this command to upgrade the character set and collation of your database and this issue should be resolved.
For more details, please go through the docs regarding the convert-mysql-utf8mb4-charset do command.
Note that this issue should not occur for new installations that utilize Tutor v18.1.0 and later as the default character set and collation was upgraded to utf8mb4.
Bug description
After upgrading from Olive to Palm, if a single course contains emojis in its short description (such as "📌" or "📣") then the LMS dashboard will fail to load.
How to reproduce
Launch an olive platform:
Then, upgrade to Palm:
Load the LMS dashboard: http://local.overhang.io. It will produce a 500 error with the following logs:
Additional context
This issue was initially raised here: https://discuss.openedx.org/t/mysql-error-after-upgrade-from-olive-to-palm/11304/
It is very likely that this issue is related to #887.
The text was updated successfully, but these errors were encountered: