Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8.5, 1.9.1
-
Component/s: General
-
Labels:None
-
Environment:Windows 2003 server running Moodle 1.8.5
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
When updating from 1.8.5+ (Build: 20080702) (2007081000) to 1.9.1+ (Build: 20080702) (2007101514)...
(mysql): ALTER TABLE mdl_groups MODIFY COLUMN password VARCHAR (50) NULL DEFAULT NULL after description
1054: Unknown column 'password' in 'mdl_groups'
There are 4 warnings with this error and at the bottom of the screen, you can select CONTINUE, but nothing ever happens. The same warning page is displayed. If I exit the screen and go back into Moodle, it lets me in and asks me to upgrade files again. The same thing displays and never goes further.
Issue Links
| This issue will be resolved by: | ||||
| MDL-15691 | Upgrading misstake |
|
|
|
That's really strange. Do you get that error the FIRST time you tried to run the upgrade of AFTER the first time?
That field (groups->password) is renamed to groups->enrolmentkey as part of the upgrade to 1.9... perhaps that's the cause of the errors (not finding the field), but only because it has been renamed in the first upgrade.
Can you go back to 1.8.x and re-run the upgrade again? And report the structure of all your group/grouping tables + the errors you get the first time the upgrade is executed?
Assigning this to Petr... thanks! Ciao