Upgrade from Mahara 1.4 -> 15.04 doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
15.04 |
Fix Released
|
High
|
Unassigned | ||
15.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
If I try to upgrade from Mahara 1.4 (or earlier) to 15.04 through the web interface, I can't do so. Loading up the main /index.php page presents me with a blank "Site unavailable" error page, and no way to click through to the upgrade screen. Even if I navigate directly to /admin/upgrade.php, it also shows Site Unavailable.
Using git bisect, I traced the cause to commit 90a1c4294cc2918
In the Apache logs, I see this error:
[WAR] f2 (lib/errors.
[WAR] f2 (lib/errors.
[WAR] f2 (lib/errors.
[WAR] f2 (lib/errors.
Call stack (most recent first):
* log_message("Failed to get a recordset: postgres8 error: [-1: E...", 8, true, true) at /home/aaronw/
* log_warn("Failed to get a recordset: postgres8 error: [-1: E...") at /home/aaronw/
* SQLException-
* get_recordset_
* get_field_
* get_field(
* Theme->
* smarty() at /home/aaronw/
[WAR] f2 (lib/dml.php:480) Failed to get a recordset: postgres8 error: [-1: ERROR: column "logo" does not exist
[WAR] f2 (lib/dml.php:480) LINE 1: SELECT "logo" FROM "institution" WHERE "name" = $1
[WAR] f2 (lib/dml.php:480) ^] in EXECUTE("SELECT "logo" FROM "institution" WHERE "name" = ? ")
[WAR] f2 (lib/dml.php:480) Command was: SELECT "logo" FROM "institution" WHERE "name" = ? and values was (mahara)
Call stack (most recent first):
* get_recordset_
* get_field_
* get_field(
* Theme->
* smarty() at /home/aaronw/
[WAR] f2 (lib/errors.
[WAR] f2 (lib/errors.
[WAR] f2 (lib/errors.
[WAR] f2 (lib/errors.
Call stack (most recent first):
* log_message("Failed to get a recordset: postgres8 error: [-1: E...", 8, true, true) at /home/aaronw/
* log_warn("Failed to get a recordset: postgres8 error: [-1: E...") at /home/aaronw/
* SQLException-
* get_recordset_
* get_field_
* get_field(
* Theme->
* smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at /home/aaronw/
* MaharaException
* exception(
[WAR] f2 (lib/errors.
Call stack (most recent first):
* log_message(
* log_warn("Exception thrown by smarty call while handling exc...") at /home/aaronw/
* MaharaException
* exception(
Changed in mahara: | |
status: | Fix Committed → Fix Released |
tags: | added: no-behat-needed |
To replicate:
1. Check out 1.1_STABLE
2. Run the web-based installer.
3. Check out master or 15.04_STABLE
4. Attempt to run the web-based upgrader