I'm updating our production server to WeBWorK 2.7, and the database update to upgrade courses fails. The error is the following.
Gavin
DBD::mysql::db do failed: BLOB/TEXT column 'set_id' used in key specification without a key length WeBWorK::Utils::CourseIntegrityCheck /var/www/webwork/webwork2/lib/WeBWorK/Utils/CourseIntegrityCheck.pm 278 WeBWorK::DB::Schema::NewSQL::Std::add_column_field 1 0 1794 UUUUUUUUUUUUU WeBWorK::ContentGenerator::CourseAdmin /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm 2357 WeBWorK::Utils::CourseIntegrityCheck::updateTableFields 1 0 1538 UUUUUUUUUUUUU WeBWorK::ContentGenerator::CourseAdmin /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm 451 WeBWorK::ContentGenerator::CourseAdmin::do_upgrade_course 1 1794 UUUUUUUUUUUUU Call stack The information below can help locate the source of the problem. in WeBWorK::DB::Schema::NewSQL::Std::handle_error called at line 315 of /var/www/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm in WeBWorK::DB::Schema::NewSQL::Std::add_column_field called at line 278 of /var/www/webwork/webwork2/lib/WeBWorK/Utils/CourseIntegrityCheck.pm in WeBWorK::Utils::CourseIntegrityCheck::updateTableFields called at line 2357 of /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm in WeBWorK::ContentGenerator::CourseAdmin::do_upgrade_course called at line 451 of /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm in WeBWorK::ContentGenerator::CourseAdmin::body called at line 152 of /var/www/webwork/webwork2/lib/WeBWorK/Template.pm in WeBWorK::Template::template called at line 509 of /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm in WeBWorK::ContentGenerator::content called at line 376 of /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm in WeBWorK::ContentGenerator::CourseAdmin::content called at line 200 of /var/www/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm in WeBWorK::ContentGenerator::go called at line 370 of /var/www/webwork/webwork2/lib/WeBWorK.pm