Failing scheduled tasks for Sync Microsoft 365 events #2621
Labels
Feature - calendar sync
Issue type - help wanted
General questions on how to use the plugins, e.g. configurations etc.
Status - need more info
Further information requested to triage the issue.
We have failing scheduled tasks for Sync Microsoft 365 events in to Moodle
\local_o365\feature\calsync\task\importfromoutlook
The corresponding task-log:
admin/tasklogs.php?logid=61150126
The relevant part in that log seems to be:
(local_o365\feature\calsync\task\importfromoutlook),Failed to parse time string (@2024-07-09T15:30:00.0000000 UTC) at position 8 (-): Double timezone specification
Since this scheduled task is part of the Microsoft plugin local_o365 we looked up whether it has a bug-tracker and then checked the existing/reported issues there.
First we found this issue:
#2544
and someone mentioned the same error message in a comment:
#2544 (comment)
but was rejected by one of the devs and asked to create a new issue. But that dev also pointed to the Outlook timezone setting:
#2544 (comment)
"Please report it separately as a new issue. In your case, I'd like to know the Microsoft user's Outlook timezone setting."
So, we checked the other issues mentioning this setting and found the following comment, informing, that since a release for Moodle 3.9 there is the option to enable a timezone related sync-setting in the Plugin-settings:
#1389 (comment)
Here is the location of these plugin-settings on the Moodle instance with the issue:
Site administration > Plugins > Microsoft 365 Integration > Sync Settings
/admin/settings.php?section=local_o365&s_local_o365_tabs=1
There are two options dedicated to "Sync Outlook":
both were not enabled and we guess the cronjob-related one is the first one :)
So we enabled the first one and ran the scheduled task but it still fails with the same error message. :(
Hence we created this new issue dedicated to this error.
Kindly advise
The text was updated successfully, but these errors were encountered: