upgrade from 1.4_STABLE to master breaks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When upgrading from 1.4_STABLE to master, certain errors are made.
During the upgrade process, the following DBG message is given
[DBG] ae (lib/ddl.php:486) Function find_index_name called on an index usr_fir_ix with no columns. Attempting match on index names of all indexes on usr without columns.
After login, the following errors are shown
2011/06/23 10:09:07 [error] 12309#0: *4434 FastCGI sent in stderr: "[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
[WAR] 96 (lib/errors.
Call stack (most recent first):
* log_message("Failed to get a recordset: postgres7 error: [-1: E...", 8, true, true) at /home/hugh/
* log_warn("Failed to get a recordset: postgres7 error: [-1: E...") at /home/hugh/
* SQLException-
* get_recordset_sql("
SELECT u.institution,
* get_records_
SELECT u.institution,F
2011/06/23 10:09:07 [error] 12309#0: *4434 FastCGI sent in stderr: "licviews
[WAR] 96 (lib/dml.php:484) FROM "usr_institution" u INNER JOIN "institution" i ON u.institution = i.name
[WAR] 96 (lib/dml.php:484) WHERE u.usr = ? ORDER BY i.priority DESC and values was (1)
Call stack (most recent first):
* get_recordset_sql("
SELECT u.institution,
* get_records_
SELECT u.institution,
* load_user_
* User->reset_
* LiveUser-
* LiveUser-
* LiveUser-
* login_submit(
* call_user_
* Pieform-
* auth_setup() at /home/hugh/
* require(
Changed in mahara: | |
status: | Triaged → Confirmed |
milestone: | 1.5.0 → none |
Changed in mahara: | |
status: | Confirmed → Fix Released |
version no for 1.4_STABLE
1.4.1testing (2011061003)
version no for master
1.5.0dev (2011062100)
merge base between branches faea9a8e2ca9fd7 9afae12706a
b3177ad2355306
version no for merge base
1.4.0alpha2dev (2011051700)
Basically, the upgrade doesn't run the if statements in lib/db/upgrade.db with the following version nos lib/db/ upgrade. php) blockmaxusers to 10, and add showonlineusers field to institutions
(taken from git diff 1.4_STABLE..master htdocs/
2011051300 - delete wwwroot
2011052400 - ctime in view access
2011053100 - default quota for institutions
2011053101 - group quota
2011060700 - retain view access on copy, and cronjob for sitemap (should be in seperate one...)
2011060701 - set onlineusersside
This will be a difficult one, and will get worse when 1.4_STABLE version no is bumped
What I suggest for now
- bump version no on master, add all the stuff it might of missed (making sure to test whether it has been done already or not...)
- in future, when we bump version no on 1.4_STABLE, we need to check if anything will be missed on the upgrade, and bump masters version to add in stuff that may not be done