I was trying to use upgrade-database-to-utf8mb4.pl after transferring courses from 2.17 to 2.19 and after following the discussion at https://webwork.maa.org/moodle/mod/forum/discuss.php?d=8607
The database upgrade worked for one course, and now LTI works, but upgrade-database-to-utf8mb4.pl broke down for another course with error message
-----------
Failed to modify 'set_id' in 'my_course_id' from 'tinyblob' to 'varchar(100).
It is recommended that you restore a database backup. Make note of the
error output below as it may help in diagnosing the problem. Note that
the most common reason for this error is the existence of a data value
in a column that does not fit into the smaller size data type that was
needed for the utf8mb4 change.
DBD::MariaDB::db do failed: Data too long for column 'set_id' at row 79 at ./upgrade-database-to-utf8mb4.pl line 247, <> line 1.
----------
What do I do with this course?
Is the data too long due to long set names like 2-Higher-Order-Equations-04-Linear-2nd-Order-Homogeneous-Equations-Cauchy-Euler-Equations ?
Do I really have to restore a database backup now?