Upgrade to 18.10 error on oAuth clean up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Ghada El-Zoghbi | ||
18.04 |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Ghada El-Zoghbi | ||
19.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
Mahara: 18.10.0
DB: Postgres
OS: Linux
Brower: N/A
During an upgrade from 17.04 to 18.10, the following error occurs:
[INF] 79 (lib/mahara.
[WAR] 79 (lib/errors.
[WAR] 79 (lib/errors.
Call stack (most recent first):
* log_message("Failed to get a recordset: postgres8 error: [-1: E...", 8, true, true) at /var/www/
* log_warn("Failed to get a recordset: postgres8 error: [-1: E...") at /var/www/
* SQLException-
* delete_
* delete_
* external_
* external_
* xmldb_auth_
* upgrade_
* upgrade_
[WAR] 79 (lib/dml.php:1025) Failed to get a recordset: postgres8 error: [-1: ERROR: update or delete on table "oauth_
[WAR] 79 (lib/dml.php:1025) DETAIL: Key (id)=(7) is still referenced from table "oauth_
Call stack (most recent first):
* delete_
* delete_
* external_
* external_
* xmldb_auth_
* upgrade_
* upgrade_
The lti service had been configured in the past but is now disabled. During the upgrade, it tries to clean up the tables for unused modules and the lti comes up in the list.
But, it's failing due to a foreign key constraint on the oauth_server_config table.
The external_
Changed in mahara: | |
assignee: | nobody → Ghada El-Zoghbi (ghada-z) |
Changed in mahara: | |
milestone: | none → 19.04.0 |
importance: | Undecided → Medium |
importance: | Medium → High |
status: | New → Fix Committed |
Patch for "master" branch: https:/ /reviews. mahara. org/9293