When I execute the refresh_course_metadata command I get the next error message:
MySQLdb._exceptions.DataError: (1406, “Data too long for column ‘card_image_url’ at row 1”)
Today we use the KOA version. Because we are using the Hebrew language for our courses, the Discovery and Credentials DBs, tables, and text fields have been changed to UTF8 4byte:
CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
The commands that I run is:
sudo -Hs -u discovery
source ~/discovery_env
source ~/venvs/discovery/bin/activate
cd ~/discovery
./manage.py refresh_course_metadata
Is it possible that the field size in the ‘edxapp’ DB that needs to be synchronized into the ‘discovery’ DB is a bigger size? Or what can be the issue in our case?