microsoft / o365-moodle

Office 365 and Azure Active Directory plugins for Moodle
GNU General Public License v3.0
181 stars 137 forks source link

Remove Temporary Write Access From Controlled Links - Task Fails #2608

Closed aboarken closed 1 month ago

aboarken commented 3 months ago

Please I am getting this task error after updating Moodle 4.4.1+ (Build: 20240719) and plugin to latest version. Kindly for your support.

Execute scheduled task: Remove temporary write access from controlled links (repository_onedrive\remove_temp_access_task) ... started 09:05:39. Current memory use 21.9 MB. Debugging increased temporarily due to faildelay of 86400 ... used 2 dbqueries ... used 0.01578688621521 seconds Scheduled task failed: Remove temporary write access from controlled links (repository_onedrive\remove_temp_access_task),Can't find data record in database table oauth2_issuer. (SELECT FROM {oauth2_issuer} WHERE id = ? [array ( 0 => 1, )]) Debug info: SELECT FROM {oauth2_issuer} WHERE id = ? [array ( 0 => 1, )] Backtrace:

justrunis commented 2 months ago

Hey, aboarken have you managed to find a solution for this problem because i am also having the same issue?

asi-jake commented 2 months ago

I have been having this same issue for a little while now as well. With all of the research into this, I have found many supposed solutions that don't have any effect. The only workaround I've come up with is to disable the OneDrive integration altogether. It's not ideal, but it's the only thing I've come up with so far until a real solution is found.

nsheehan commented 2 months ago

This has popped up on one of my sites as well. The message doesn't provide much to go on. Site is running 4.4.2+ wasn't having this issue with 4.3.x

Cheers

weilai-irl commented 1 month ago

Hi all,

The issue reported here is for repository_onedrive, which is a part of Moodle core. It's different from the repository_office365 delivered as part of this project. Please use the main Moodle tracker (https://tracker.moodle.org/) to report core Moodle issues.

Regards, Lai