catalyst / moodle-tool_objectfs

Object file storage system for Moodle
https://moodle.org/plugins/tool_objectfs
88 stars 72 forks source link

Getting error in in Moodle 4.2 Azure blob while push objects to storage Argument #1 ($object_or_class) must be of type object|string, null given #606

Closed lmsofindia closed 7 months ago

lmsofindia commented 8 months ago

Here is my snippet. Moodledata is around 17GB. Initial 2GB is moved to azure within few hours. But since then it is more than 4 days, remaining files did not move to blob.

Moodle version 4.2 Php 8.0 Mysql 8.1

When I check the object status report , sometime it shows Could you please help or share some lights how to fix this please.

Object status 2024-04-02 08-13-53

where as you can see the below one

image

So it is confusing why files again moved back to filedir .. Thanks again for all your help!

=============== Execute scheduled task: Object file system upload task (tool_objectfs\task\push_objects_to_storage) ... started 00:21:59. Current memory use 34.8 MB. Debugging increased temporarily due to faildelay of 240 ... used 31 dbqueries ... used 12.758906841278 seconds Scheduled task failed: Object file system upload task (tool_objectfs\task\push_objects_to_storage),method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given Backtrace:

lmsofindia commented 8 months ago

hi - any help please.

lmsofindia commented 8 months ago

just fyi... i have used this one as a fix - https://github.com/guzzle/guzzle/issues/2953

this was problem because of php8.1

lmsofindia commented 7 months ago

closing