Hello,
I'd like to use Nextcloud with Moodle - especially the opportunity to generate access controlled links
The following works fine:
- choose the repository "Nextcloud" in the file picker
- login to Nextcloud
- choose a file
- copy the file to moodle by coosing the "make a copy of the file" in the bullet lits
However, if I chosse the option "Create an access controlled link to the file" I get an error after clicking the button "save an back to course".
Eine Anfrage an Nextcloud ist fehlgeschlagen: Die angeforderte Aktion konnte nicht ausgeführt werden. Falls dies häufiger vorkommt, kontaktieren Sie bitte Ihren Administrator mit folgenden zusätzlichen Hinweisen:
"A webdav request to copy a file failed."
Debug info:
Error code: request_exception
Stack trace:
line 213 of /repository/nextcloud/classes/access_controlled_link_manager.php: repository_nextcloud\request_exception thrown
line 389 of /repository/nextcloud/lib.php: call to repository_nextcloud\access_controlled_link_manager->transfer_file_to_path()
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 have connect a system account in Website-Administration -> Server -> OAuth 2-Services. If I try to save the unchanged setting (icon beside the OAuth 2-Services) an error occures:
error/Could not discover end points for identity issuerNextcloud AES
Does anyone have an idea why this happen?
Cheers,
Leo