catalyst / moodle-tool_objectfs

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

No candidate objects found #318

Open hohenstaufen opened 4 years ago

hohenstaufen commented 4 years ago

Upload task always report "No candidate objects found".

Execute scheduled task: Object file system upload task (tool_objectfs\task\push_objects_to_storage) ... started 17:23:06. Current memory use 36.6MB. No candidate objects found. ... used 1 dbqueries ... used 0.18827605247498 seconds Scheduled task complete: Object file system upload task (tool_objectfs\task\push_objects_to_storage)

On moodle 3.8.3. settings

immagine

Any idea on what could be wrong?

dennis-ciancoders commented 3 years ago

Any hints on this?, I'm having the exact same problem

choma commented 3 years ago

I was having this problem too. I'm using moodle 3.8.2 with DigitalOcean Spaces. It was correctly uploading all the 9 tests files, but no other files were uploaded.

I applied the changes on PR #323 by hand, and it started to work. Is it safe to leave it like this? is the travis problem the only reason to not merge this PR?

guillefd commented 3 years ago

Yes, this PR #323 is not merged to the stable version (don't know why) but it works ok, I'm using DO spaces on 4 production sites for 6 month now (on moodle 3.9), and works great. The only detail is that files on spaces are not being deleted when they are deleted locally, have tried the last moodle-tool_objectfs version and still has this issue, but everything else works fine.

gcavalcante8808 commented 3 years ago

I just created the PR https://github.com/catalyst/moodle-tool_objectfs/pull/413, which is simpler than #323, as it apply the specific 323 DO client fix to the current master.