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

Failed. No files downloaded #364

Open
MatthewBooth opened this issue Aug 29, 2018 · 10 comments
Open

Failed. No files downloaded #364

MatthewBooth opened this issue Aug 29, 2018 · 10 comments

Comments

@MatthewBooth
Copy link

sudo msm the-world jar minecraft Downloading latest version... Checking minecraft version JSON... Done. Failed. No files were downloaded.

All from the auto installation. Permissions seem fine.

@LethalEthan
Copy link

Happened to me too, I was trying to create a test server:
Creating server directory... Done. Downloading latest version... Checking minecraft version JSON... Done. Failed. No files were downloaded.

@1337gut
Copy link

1337gut commented Sep 5, 2018

Same here. Maybe the JSON format has changed once again?

@MatthewBooth
Copy link
Author

@1337gut entirely possible. From a cursory glance over the init/msm code, it's looking for URL's with 'server' inside, but the list is: https://launchermeta.mojang.com/mc/game/version_manifest.json and doesn't include any server mentions. Just launcher versions.

@endofcake
Copy link
Contributor

I'd be happy to merge a PR fixing this, if anyone's got time.

@daleus
Copy link

daleus commented Sep 11, 2018

I tried to change the code to point to an old .json (albeit only up to 1.12.2) stored on aws, but it still failed with the same error. Line 1110. Probably me doing something daft this is first time using msm.

@Kadah
Copy link
Contributor

Kadah commented Sep 11, 2018

What it will need to do is fetch version_manifest.json, search [versions] for the one needed (ie. highest version of "release" or "snapshot") fetch the {version}.json, then pull the jar download url from [downloads][server][url].

It might also be a good idea to verify the download file against the [downloads][server][sha1].

{version}.json also has all the library downloads urls too, which might be useful (I think I had to manually download those last time I setup a new server, which was a while ago...)

If nobody else can get to this, I can give it a try later this week if I have time. I just haven't done much with complex bash in years.

@MedicD
Copy link

MedicD commented Sep 15, 2018

Same issue. Would love a fix, trying to spin one up for my son

@pflueg
Copy link
Contributor

pflueg commented Oct 2, 2018

I'd be happy to merge a PR fixing this, if anyone's got time.

This will be fixed by PR #365

@endofcake
Copy link
Contributor

I've merged the PR, and the fix should be included in 0.9.8.

@Kadah
Copy link
Contributor

Kadah commented Oct 4, 2018

Can verify it works on Ubuntu (provided universe repo is enabled for installer to be able to get jq, #366)

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

8 participants