I think I have having the same problem with my upgrade. I get the dmlwriteexception. This is the debug information I received.
Debug info: Duplicate entry 'Manager' for key 3
UPDATE mdl_role SET name = ?,shortname = ?,description = ?,sortorder = ?,archetype = ? WHERE id=?
[array (
0 => 'Manager',
1 => 'manager2',
2 => 'Managers can access course and modify them, they usually do not participate in courses.',
3 => '0',
4 => 'manager',
5 => '1',
)]
Stack trace:
- line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 980 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1012 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
- line 2874 of /lib/db/upgrade.php: call to mysqli_native_moodle_database->update_record()
- line 1383 of /lib/upgradelib.php: call to xmldb_main_upgrade()
- line 252 of /admin/index.php: call to upgrade_core()
How do I access the area you did to see if I have the same empty field issue?