por Fernando Sánchez.
Hola a todos
Estoy actualizado mi moodle en un centos 7, para lo que hice una copia de todos lo directorios y DB en otro servidor para probar la actualiización sin embargo la actualizacion pasa por casi todo pero al final me arroja el siguiente mensaje
=======
Upgrading to new version
auth_oauth2
Error writing to database
Debug info: Table 'moodleescuela_old.mdl_auth_oauth2_linked_login' doesn't exist
DELETE FROM mdl_auth_oauth2_linked_login WHERE issuerid NOT IN (
SELECT DISTINCT oe.issuerid
FROM mdl_oauth2_endpoint oe
WHERE oe.url LIKE ? COLLATE utf8mb4_bin ESCAPE '\\'
OR oe.url LIKE ? COLLATE utf8mb4_bin ESCAPE '\\'
OR oe.url LIKE ? COLLATE utf8mb4_bin ESCAPE '\\')
[array (
0 => '%facebook%',
1 => '%google%',
2 => '%microsoft%',
)]
Error code: dmlwriteexception
DELETE FROM mdl_auth_oauth2_linked_login WHERE issuerid NOT IN (
SELECT DISTINCT oe.issuerid
FROM mdl_oauth2_endpoint oe
WHERE oe.url LIKE ? COLLATE utf8mb4_bin ESCAPE '\\'
OR oe.url LIKE ? COLLATE utf8mb4_bin ESCAPE '\\'
OR oe.url LIKE ? COLLATE utf8mb4_bin ESCAPE '\\')
[array (
0 => '%facebook%',
1 => '%google%',
2 => '%microsoft%',
)]
Error code: dmlwriteexception
×Stack trace:
- line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1660 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 82 of /auth/oauth2/db/upgrade.php: call to mysqli_native_moodle_database->delete_records_select()
- line 652 of /lib/upgradelib.php: call to xmldb_auth_oauth2_upgrade()
- line 1877 of /lib/upgradelib.php: call to upgrade_plugins()
- line 694 of /admin/index.php: call to upgrade_noncore()
Alguna idea de como resolverlo.
Abrazos