Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moosh download fails with a HTTP 404 #460

Open
chriscroome opened this issue Dec 4, 2023 · 0 comments
Open

Moosh download fails with a HTTP 404 #460

chriscroome opened this issue Dec 4, 2023 · 0 comments

Comments

@chriscroome
Copy link

  • moosh version:

    moosh -v | head -n2
    Moodle version detected: 23
    moosh version 1.13
  • moodle version: N/A

  • php version: 8.2

  • operating system: Debian

Actual behaviour

moosh download-moodle -v 4.3.0
--2023-12-04 14:51:24--  https://download.moodle.org/download.php/direct/stable43/moodle-4.3.0.tgz
Resolving download.moodle.org (download.moodle.org)... 104.22.64.81, 104.22.65.81, 172.67.26.233, ...
Connecting to download.moodle.org (download.moodle.org)|104.22.64.81|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://packaging.moodle.org/stable43/moodle-4.3.0.tgz [following]
--2023-12-04 14:51:24--  https://packaging.moodle.org/stable43/moodle-4.3.0.tgz
Resolving packaging.moodle.org (packaging.moodle.org)... 172.67.26.233, 104.22.65.81, 104.22.64.81, ...
Connecting to packaging.moodle.org (packaging.moodle.org)|172.67.26.233|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-12-04 14:51:24 ERROR 404: Not Found.

Fetching file failed

Expected behaviour

Requesting the correct URL, which is:

  • https://download.moodle.org/download.php/stable403/moodle-4.3.tgz

Not:

  • https://download.moodle.org/download.php/direct/stable43/moodle-4.3.0.tgz

Steps to reproduce

moosh download-moodle -v 4.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant