Hello,
I have following error when I want to link to a file in nextcloud using
"create an access controlled link to the file" option :
Debug info:
Error code: cannotdownload
Stack trace:
{{line 386 of /repository/nextcloud/lib.php: repository_exception thrown
line 1223 of /lib/filelib.php: call to repository_nextcloud->reference_file_selected()
line 535 of /mod/resource/locallib.php: call to file_save_draft_area_files()
line 107 of /mod/resource/lib.php: call to resource_set_mainfile()
line 122 of /course/modlib.php: call to resource_add_instance()
line 154 of /course/modedit.php: call to add_moduleinfo()}}
{{}}
I reproduce this problem using my own moodle + nextcloud servers but also using moodle + nextcloud demo versions
(moodle 3.7.1 + up to date nextcloud)
{{}}
In moodle I see all nextcloud files, copy mode works fine
{{}}
Any idea ?
Thanks !