Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.7
-
Fix Version/s: None
-
Component/s: Installation
-
Labels:None
-
Environment:mysql database mysql version 4.1.16 is required and you are running 5.0.22 OK
php version 4.3.0 is required and you are running 5.1.6
-
URL:http://media.emmaus.edu/upg_20061116-1735.html (the full log output)
-
Affected Branches:MOODLE_17_STABLE
Description
Upgrading Moodle database from version 1.6.3 (2006050530) to 1.7 (2006101007)...
after many 'success' messages
...
some that make me nervous:
(mysql): UPDATE mdl_modules SET visible = '0' WHERE name = 'lams'
Processing role assignments (1/165) Ending: 5 mins 28 secs
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
Capability "mod/forum:viewdiscussion" was not found! This should be fixed in code.
..
but then came the warnings, but stopped the install errors: (page waited to load for about 1 hour after I finally stopped mysqld)
Warning: array_flip() [function.array-flip]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 269
Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 270
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 271
Error
Warning: array_flip() [function.array-flip]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 269
Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 270
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 271
Warning: array_flip() [function.array-flip]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 269
Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 270
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 271
Warning: array_flip() [function.array-flip]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 269
Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 270
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 271
Warning: array_flip() [function.array-flip]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 269
Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 270
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 271
Warning: array_flip() [function.array-flip]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 269
Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 270
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/moodle/moodle-1.7/lib/ddllib.php on line 271
Error
After restarting mysqld and httpd, I had a broken system. Good thing I backed up the database first!!!
This is a small system and yet the mysqldump file was HUGE! 6 Gb!!!
We are having a simular problem please see below. The upgrade stops at Processing role assignments.
This is the output when we drop the mdl_lams table
Upgrading Moodle Database from Version 1.6.3 (2006050530) To 1.7 (2006101007)
(mysql): SELECT COUNT
FROM mdl_lams
________________________________________
1146: Table 'moodle16to17.mdl_lams' doesn't exist
adodb_mysql._execute(SELECT COUNT
FROM mdl_lams , false) % line 889, file: adodb.inc.php
FROM mdl_lams ) % line 651, file: dmllib.php
FROM mdl_lams ) % line 354, file: dmllib.php
FROM mdl_lams ) % line 317, file: dmllib.php
adodb_mysql.execute(SELECT COUNT
get_recordset_sql(SELECT COUNT
count_records_sql(SELECT COUNT
count_records(lams) % line 54, file: upgrade.php
________________________________________
(mysql): UPDATE mdl_modules SET visible = '0' WHERE name = 'lams'
________________________________________
Processing role assignments (43/26340) Ending: 2 days
This is the output when we do not drop the mdl_lams table
Upgrading Moodle Database from Version 1.6.3 (2006050530) To 1.7 (2006101007)
(mysql): SELECT COUNT
FROM mdl_lams
________________________________________
(mysql): UPDATE mdl_modules SET visible = '0' WHERE name = 'lams'
________________________________________
Processing role assignments (43/26340) Ending: 2 days