Created
March 31, 2021 21:31
-
-
Save stronk7/ba898eb5b239b06b0b234c6e0ca373d3 to your computer and use it in GitHub Desktop.
fix calendar events real site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ php admin/cli/fix_orphaned_calendar_events.php --fix | |
== Checking the site status == | |
This site has executed the problematic upgrade step 2020061504.08 present in 3.9.5. | |
Fix upgrade steps were NOT found. | |
This site NEEDS to run the calendar events fix! | |
You can use this CLI tool or upgrade to a version of Moodle that includes | |
the fix and will be executed as part of the normal upgrade procedure. | |
The following versions or up are known candidates to upgrade to: | |
- 3.9.6+: Not available yet, upgrade machinery being developed. | |
- 3.10.3+: Not available yet, upgrade machinery being developed. | |
- 3.11dev: Not available yet, upgrade machinery being developed. | |
- 4.0dev: Not available yet, upgrade machinery being developed. | |
== Checking the calendar events status == | |
Totals: 1313 / 1278 (total / wrong) | |
- standards events: 598 / 563 (course: 404, group: 158, site: 1) | |
- subscription events: 0 / 0 - all good! | |
- override events: 2 / 2 (quiz: 2) | |
- action events: 713 / 713 (assign: 135, chat: 17, choice: 46, feedback: 32, lesson: 188, quiz: 279, workshop: 16) | |
- other events: 0 / 0 - all good! | |
== Fixing as many as possible calendar events == | |
Processing override events | |
.. | |
Finished! | |
Processing standard events | |
....................... | |
Finished! | |
Processing action events | |
............................................................ | |
............................................................ | |
............................................................ | |
............................................................ | |
............................................................ | |
............................................................ | |
............................................................ | |
.................................. | |
Finished! | |
== Checking the calendar events status (after fix) == | |
Totals: 1313 / 0 (total / wrong) | |
- standards events: 598 / 0 - all good! | |
- subscription events: 0 / 0 - all good! | |
- override events: 2 / 0 - all good! | |
- action events: 713 / 0 - all good! | |
- other events: 0 / 0 - all good! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment