Advertisement
stronk7

Untitled

Mar 30th, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1. $ php admin/cli/upgrade.php
  2. == Upgrading Moodle database from version 4.0dev (Build: 20210324) (2021052500.72) to 4.0dev (Build: 20210330) (2021052500.73) ==
  3.  
  4. -------------------------------------------------------------------------------
  5. == Notice ==
  6. The version of Moodle that you are about to install or upgrade to contains
  7. unstable "Alpha" development code that is not suitable for use on most production
  8. sites. If this is not what you wanted then you should make sure you are updating
  9. from a STABLE branch of the Moodle code. See Moodle Docs for more details.
  10. More help: https://docs.moodle.org/400/en/admin/versions
  11. -------------------------------------------------------------------------------
  12. Your Moodle files have been changed, and you are about to automatically
  13. upgrade your server to this version:
  14.  
  15. 4.0DEV (BUILD: 20210330) (2021052500.73)
  16.  
  17. Once you do this you can not go back again. Please note that this process
  18. can take a long time.
  19.  
  20. Are you sure you want to upgrade this server to this version?
  21.  
  22. type y (means yes) or n (means no)
  23. : y
  24. -->System
  25. ++ 2021052500.73: Success (0.03 seconds) ++
  26. ++ Failed to load task: \core\task\calendar_fix_orphaned_events ++
  27. * line 348 of /lib/classes/task/manager.php: call to debugging()
  28. * line 70 of /lib/classes/task/manager.php: call to core\task\manager::scheduled_task_from_record()
  29. * line 90 of /lib/classes/task/manager.php: call to core\task\manager::load_default_scheduled_tasks_for_component()
  30. * line 1882 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
  31. * line 187 of /admin/cli/upgrade.php: call to upgrade_core()
  32. Default exception handler: Error writing to database Debug: ERROR: duplicate key value violates unique constraint "mdl_tasksche_id_pk"
  33. DETAIL: Key (id)=(100) already exists.
  34. 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
  35. [array (
  36. 'classname' => '\\core\\task\\h5p_clean_orphaned_records_task',
  37. 'component' => 'moodle',
  38. 'blocking' => 0,
  39. 'customised' => 0,
  40. 'lastruntime' => 0,
  41. 'nextruntime' => 1617142260,
  42. 'faildelay' => 0,
  43. 'hour' => '0',
  44. 'minute' => 11,
  45. 'day' => '*',
  46. 'dayofweek' => '*',
  47. 'month' => '*',
  48. 'disabled' => 0,
  49. 'timestarted' => NULL,
  50. 'hostname' => NULL,
  51. 'pid' => NULL,
  52. )]
  53. Error code: dmlwriteexception
  54. * line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
  55. * line 329 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
  56. * line 1082 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
  57. * line 1130 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
  58. * line 112 of /lib/classes/task/manager.php: call to pgsql_native_moodle_database->insert_record()
  59. * line 1882 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
  60. * line 187 of /admin/cli/upgrade.php: call to upgrade_core()
  61.  
  62. !!! Error writing to database !!!
  63. !! ERROR: duplicate key value violates unique constraint "mdl_tasksche_id_pk"
  64. DETAIL: Key (id)=(100) already exists.
  65. 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
  66. [array (
  67. 'classname' => '\\core\\task\\h5p_clean_orphaned_records_task',
  68. 'component' => 'moodle',
  69. 'blocking' => 0,
  70. 'customised' => 0,
  71. 'lastruntime' => 0,
  72. 'nextruntime' => 1617142260,
  73. 'faildelay' => 0,
  74. 'hour' => '0',
  75. 'minute' => 11,
  76. 'day' => '*',
  77. 'dayofweek' => '*',
  78. 'month' => '*',
  79. 'disabled' => 0,
  80. 'timestarted' => NULL,
  81. 'hostname' => NULL,
  82. 'pid' => NULL,
  83. )]
  84. Error code: dmlwriteexception !!
  85. !! Stack trace: * line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
  86. * line 329 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
  87. * line 1082 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
  88. * line 1130 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
  89. * line 112 of /lib/classes/task/manager.php: call to pgsql_native_moodle_database->insert_record()
  90. * line 1882 of /lib/upgradelib.php: call to core\task\manager::reset_scheduled_tasks_for_component()
  91. * line 187 of /admin/cli/upgrade.php: call to upgrade_core()
  92. !!
  93.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement