Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46954

回應: Re: upgrade to 2.4, take too much time

$
0
0
by Shwu-Fen Kuo.  

Thanks for reply.

But when I waited for upgrading, the mysqld is crash. (the upgrade process almost run 13 hours.)

Belows are error messages:

--------------------------------------------------------------

Database transaction aborted automatically in /home/dondon/public_html/moodle243/admin/cli/upgrade.php
Default exception handler: 從資料庫讀取失敗 Debug: Lost connection to MySQLserver during query

SELECT DISTINCT
cs.id, cs.course
FROM
mdl_course_sections cs
INNER JOIN mdl_course_sections older
ON cs.course = older.course AND cs.section = older.section
AND older.id < cs.id
[array (
)]
Error code: dmlreadexception
* line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
* line 960 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 378 of /lib/db/upgrade.php: call to mysqli_native_moodle_database->get_recordset_sql()
* line 1493 of /lib/upgradelib.php: call to xmldb_main_upgrade()
* line 153 of /admin/cli/upgrade.php: call to upgrade_core()

!!! 從資料庫讀取失敗 !!!
!! Lost connection to MySQL server during query

SELECT DISTINCT
cs.id, cs.course
FROM
mdl_course_sections cs
INNER JOIN mdl_course_sections older
ON cs.course = older.course AND cs.section = older.section
AND older.id &lt; cs.id
[array (
)]
Error code: dmlreadexception !!
!! Stack trace: * line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
* line 960 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database-&gt;query_end()
* line 378 of /lib/db/upgrade.php: call to mysqli_native_moodle_database-&gt;get_recordset_sql()
* line 1493 of /lib/upgradelib.php: call to xmldb_main_upgrade()
* line 153 of /admin/cli/upgrade.php: call to upgrade_core()
!!
PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0

Fatal error: Exception thrown without a stack frame in Unknown on line 0


Viewing all articles
Browse latest Browse all 46954

Trending Articles