Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ php admin/cli/upgrade.php
- == Upgrading Moodle database from version 4.0dev (Build: 20210324) (2021052500.72) to 4.0dev (Build: 20210330) (2021052500.73) ==
- -------------------------------------------------------------------------------
- == Notice ==
- The version of Moodle that you are about to install or upgrade to contains
- unstable "Alpha" development code that is not suitable for use on most production
- sites. If this is not what you wanted then you should make sure you are updating
- from a STABLE branch of the Moodle code. See Moodle Docs for more details.
- More help: https://docs.moodle.org/400/en/admin/versions
- -------------------------------------------------------------------------------
- Your Moodle files have been changed, and you are about to automatically
- upgrade your server to this version:
- 4.0DEV (BUILD: 20210330) (2021052500.73)
- Once you do this you can not go back again. Please note that this process
- can take a long time.
- Are you sure you want to upgrade this server to this version?
- type y (means yes) or n (means no)
- : y
- -->System
- ++ 2021052500.73: Success (0.03 seconds) ++
- ++ Failed to load task: \core\task\calendar_fix_orphaned_events ++
- * line 348 of /lib/classes/task/manager.php: call to debugging()
- * line 70 of /lib/classes/task/manager.php: call to core\task\manager::scheduled_task_from_record()
- * line 90 of /lib/classes/task/manager.php: call to core\task\manager::load_default_scheduled_tasks_for_component()
- * line 1882 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
- * line 187 of /admin/cli/upgrade.php: call to upgrade_core()
- Default exception handler: Error writing to database Debug: ERROR: duplicate key value violates unique constraint "mdl_tasksche_id_pk"
- DETAIL: Key (id)=(100) already exists.
- INSERT INTO mdl_task_scheduled (classname,component,blocking,customised,lastruntime,nextruntime,faildelay,hour,minute,day,dayofweek,month,disabled,timestarted,hostname,pid) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16) RETURNING id
- [array (
- 'classname' => '\\core\\task\\h5p_clean_orphaned_records_task',
- 'component' => 'moodle',
- 'blocking' => 0,
- 'customised' => 0,
- 'lastruntime' => 0,
- 'nextruntime' => 1617142260,
- 'faildelay' => 0,
- 'hour' => '0',
- 'minute' => 11,
- 'day' => '*',
- 'dayofweek' => '*',
- 'month' => '*',
- 'disabled' => 0,
- 'timestarted' => NULL,
- 'hostname' => NULL,
- 'pid' => NULL,
- )]
- Error code: dmlwriteexception
- * line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- * line 329 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
- * line 1082 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- * line 1130 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
- * line 112 of /lib/classes/task/manager.php: call to pgsql_native_moodle_database->insert_record()
- * line 1882 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
- * line 187 of /admin/cli/upgrade.php: call to upgrade_core()
- !!! Error writing to database !!!
- !! ERROR: duplicate key value violates unique constraint "mdl_tasksche_id_pk"
- DETAIL: Key (id)=(100) already exists.
- INSERT INTO mdl_task_scheduled (classname,component,blocking,customised,lastruntime,nextruntime,faildelay,hour,minute,day,dayofweek,month,disabled,timestarted,hostname,pid) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16) RETURNING id
- [array (
- 'classname' => '\\core\\task\\h5p_clean_orphaned_records_task',
- 'component' => 'moodle',
- 'blocking' => 0,
- 'customised' => 0,
- 'lastruntime' => 0,
- 'nextruntime' => 1617142260,
- 'faildelay' => 0,
- 'hour' => '0',
- 'minute' => 11,
- 'day' => '*',
- 'dayofweek' => '*',
- 'month' => '*',
- 'disabled' => 0,
- 'timestarted' => NULL,
- 'hostname' => NULL,
- 'pid' => NULL,
- )]
- Error code: dmlwriteexception !!
- !! Stack trace: * line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- * line 329 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
- * line 1082 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- * line 1130 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
- * line 112 of /lib/classes/task/manager.php: call to pgsql_native_moodle_database->insert_record()
- * line 1882 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
- * line 187 of /admin/cli/upgrade.php: call to upgrade_core()
- !!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement