Error upgrading from vanilla 1.7 to master

Bug #1334127 reported by Ghada El-Zoghbi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

Mahara: 1.7_STABLE
$config->version = 2013032220;
$config->release = '1.7.7testing';

db: Postgres
OS: Linux
Browser: Chrome and Firefox

I've installed a vanilla 1.7_STABLE. Then, switched branches to master to upgrade. Get the following error:

[WAR] b4 (lib/errors.php:739) Failed to get a recordset: postgres7 error: [-1: ERROR: relation "module_installed" does not exist
LINE 1: SELECT * FROM "module_installed" ORDER BY name
                      ^] in EXECUTE("SELECT * FROM "module_installed" ORDER BY name ")
Command was: SELECT * FROM "module_installed" ORDER BY name
Call stack (most recent first):

    log_message("Failed to get a recordset: postgres7 error: [-1: E...", 8, true, true) at /var/www/maharacode/mahara/htdocs/lib/errors.php:95
    log_warn("Failed to get a recordset: postgres7 error: [-1: E...") at /var/www/maharacode/mahara/htdocs/lib/errors.php:739
    SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: E...") at /var/www/maharacode/mahara/htdocs/lib/dml.php:470
    get_recordset_sql("SELECT * FROM "module_installed" ORDER BY name ", null) at /var/www/maharacode/mahara/htdocs/lib/dml.php:426
    get_recordset_select("module_installed", "", null, "name", "*", "", "") at /var/www/maharacode/mahara/htdocs/lib/dml.php:390
    get_recordset("module_installed", "", "", "name", "*", "", "") at /var/www/maharacode/mahara/htdocs/lib/dml.php:555
    get_records_assoc("module_installed", "", "", "name") at /var/www/maharacode/mahara/htdocs/lib/mahara.php:1537
    plugins_installed("module") at /var/www/maharacode/mahara/htdocs/init.php:403
    require("/var/www/maharacode/mahara/htdocs/init.php") at /var/www/maharacode/mahara/htdocs/admin/upgrade.php:16

[WAR] b4 (lib/dml.php:470) Failed to get a recordset: postgres7 error: [-1: ERROR: relation "module_installed" does not exist
LINE 1: SELECT * FROM "module_installed" ORDER BY name
                      ^] in EXECUTE("SELECT * FROM "module_installed" ORDER BY name ")
Command was: SELECT * FROM "module_installed" ORDER BY name
Call stack (most recent first):

    get_recordset_sql("SELECT * FROM "module_installed" ORDER BY name ", null) at /var/www/maharacode/mahara/htdocs/lib/dml.php:426
    get_recordset_select("module_installed", "", null, "name", "*", "", "") at /var/www/maharacode/mahara/htdocs/lib/dml.php:390
    get_recordset("module_installed", "", "", "name", "*", "", "") at /var/www/maharacode/mahara/htdocs/lib/dml.php:555
    get_records_assoc("module_installed", "", "", "name") at /var/www/maharacode/mahara/htdocs/lib/mahara.php:1537
    plugins_installed("module") at /var/www/maharacode/mahara/htdocs/init.php:403
    require("/var/www/maharacode/mahara/htdocs/init.php") at /var/www/maharacode/mahara/htdocs/admin/upgrade.php:16

Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

Has been fixed in:
https://reviews.mahara.org/#/c/3455/

As part of bug: https://bugs.launchpad.net/mahara/+bug/547932

No longer an issue.

Changed in mahara:
status: New → Fix Committed
Changed in mahara:
milestone: none → 1.10.0
importance: Undecided → Medium
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.