Set user id and Moodle version number manually - C0D3D3V/Moodle-DL GitHub Wiki
If for some reason as in Issue #105 the call to core_webservice_get_site_info
fails, the user id and version of Moodle can be manually entered into the configuration.
An entry in config.json
may look like the following:
"userid": 49408,
"version": 2021051701,
Find the user id:
You can find your user id on the profile page of Moodle. For example, 49408
is the user id if the URL of your profile looks like this: https://good.moodle.it/user/profile.php?id=49408
.
Find out the Moodle version number:
Visit the changelog page of your Moodle https://your.moodle.com/lib/upgrade.txt and see which version number is listed at the top. Then search for this version on the following page (Use [Ctrl + F]
): https://docs.moodle.org/dev/Releases and enter the number from the third column into the configuration.