← Back to team overview

mahara-contributors team mailing list archive

[Bug 1334127] [NEW] Error upgrading from vanilla 1.7 to master

 

Public bug reported:

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

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1334127

Title:
  Error upgrading from vanilla 1.7 to master

Status in Mahara ePortfolio:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1334127/+subscriptions


Follow ups

References