mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #28916
[Bug 1494133] [NEW] Fatal error upgrading 1.3->15.04 or 1.4->15.04
Public bug reported:
To replicate:
1. Clean install of Mahara 1.3 or 1.4
2. Upgrade to Mahara 15.04 (via CLI; I haven't tested via the web upgraded)
Expected result: Successful upgrade
Actual result: Crashes with this fatal error:
PHP Fatal error: Uncaught exception 'SQLException' with message 'Failed to get a recordset: postgres8 error: [-18: ERROR: relation "institution_config" does not exist
LINE 1: SELECT field, value FROM "institution_config" WHERE "institu...
^] in EXECUTE("SELECT field, value FROM "institution_config" WHERE "institution" = ? ORDER BY field ")
Command was: SELECT field, value FROM "institution_config" WHERE "institution" = ? ORDER BY field and values was (mahara)' in mahara/htdocs/lib/dml.php:480
Stack trace:
#0 mahara/htdocs/lib/dml.php(429): get_recordset_sql('SELECT field, v...', Array)
#1 mahara/htdocs/lib/dml.php(393): get_recordset_select('institution_con...', '"institution" =...', Array, 'field', 'field, value', '', '')
#2 mahara/htdocs/lib/dml.php(719): get_recordset('institution_con...', 'institution', 'mahara', 'field', 'field, value')
#3 mahara/htdocs/lib/institution.php(277): get_records_menu('instit in /home/aaronw/www/mahara/htdocs/lib/dml.php on line 480
Works fine when upgrading from 1.1, 1.2, or 1.5. So it's probably caused
by some discrepancy between the 1.3 & 1.4 upgrade vs clean install.
** Affects: mahara
Importance: High
Status: New
** Affects: mahara/15.04
Importance: High
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Affects: mahara/15.10
Importance: High
Status: New
** Changed in: mahara
Importance: Undecided => Medium
** Changed in: mahara
Milestone: None => 15.04.4
** Also affects: mahara/15.04
Importance: Undecided
Status: New
** Also affects: mahara/15.10
Importance: Medium
Status: New
** Changed in: mahara/15.04
Milestone: None => 15.10.0
** Changed in: mahara/15.04
Importance: Undecided => High
** Changed in: mahara/15.10
Importance: Medium => High
** Changed in: mahara/15.04
Status: New => In Progress
** Changed in: mahara/15.04
Assignee: (unassigned) => Aaron Wells (u-aaronw)
--
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/1494133
Title:
Fatal error upgrading 1.3->15.04 or 1.4->15.04
Status in Mahara:
New
Status in Mahara 15.04 series:
In Progress
Status in Mahara 15.10 series:
New
Bug description:
To replicate:
1. Clean install of Mahara 1.3 or 1.4
2. Upgrade to Mahara 15.04 (via CLI; I haven't tested via the web upgraded)
Expected result: Successful upgrade
Actual result: Crashes with this fatal error:
PHP Fatal error: Uncaught exception 'SQLException' with message 'Failed to get a recordset: postgres8 error: [-18: ERROR: relation "institution_config" does not exist
LINE 1: SELECT field, value FROM "institution_config" WHERE "institu...
^] in EXECUTE("SELECT field, value FROM "institution_config" WHERE "institution" = ? ORDER BY field ")
Command was: SELECT field, value FROM "institution_config" WHERE "institution" = ? ORDER BY field and values was (mahara)' in mahara/htdocs/lib/dml.php:480
Stack trace:
#0 mahara/htdocs/lib/dml.php(429): get_recordset_sql('SELECT field, v...', Array)
#1 mahara/htdocs/lib/dml.php(393): get_recordset_select('institution_con...', '"institution" =...', Array, 'field', 'field, value', '', '')
#2 mahara/htdocs/lib/dml.php(719): get_recordset('institution_con...', 'institution', 'mahara', 'field', 'field, value')
#3 mahara/htdocs/lib/institution.php(277): get_records_menu('instit in /home/aaronw/www/mahara/htdocs/lib/dml.php on line 480
Works fine when upgrading from 1.1, 1.2, or 1.5. So it's probably
caused by some discrepancy between the 1.3 & 1.4 upgrade vs clean
install.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1494133/+subscriptions
Follow ups
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Robert Lyon, 2016-11-06
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Robert Lyon, 2015-10-27
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Aaron Wells, 2015-10-23
-
[Bug 1494133] A change has been merged
From: Mahara Bot, 2015-10-03
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Robert Lyon, 2015-10-03
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Aaron Wells, 2015-09-30
-
[Bug 1494133] A change has been merged
From: Mahara Bot, 2015-09-13
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Aaron Wells, 2015-09-10
-
[Bug 1494133] A patch has been submitted for review
From: Mahara Bot, 2015-09-10
-
[Bug 1494133] A patch has been submitted for review
From: Mahara Bot, 2015-09-10
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Aaron Wells, 2015-09-10
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Aaron Wells, 2015-09-10
-
[Bug 1494133] Re: Fatal error upgrading 1.3->15.04 or 1.4->15.04
From: Aaron Wells, 2015-09-10