Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

The wrong urls for download #36

Open
and7777 opened this issue Oct 31, 2018 · 2 comments
Open

The wrong urls for download #36

and7777 opened this issue Oct 31, 2018 · 2 comments

Comments

@and7777
Copy link

and7777 commented Oct 31, 2018

No description provided.

@jlabeit
Copy link

jlabeit commented Jan 16, 2019

I think I am having the same issue.
When executing the example script on ubuntu 18.04 the download fails with this url

https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-latest.tgz.md5

However when I specify the latest version 4.0.5 it works with the following URI.

https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.0.5.tgz.md5

Edit: Now download is available.

@adimascio
Copy link

It seems that URLs have changed again on fastdl.mongo.org. I'm not sure if there is an official documentation for those URLs. I think at least debian and osx links have changed.

adimascio pushed a commit to ToucanToco/weaverbird that referenced this issue Dec 8, 2019
[mongodb-prebuilt](https://github.com/winfinit/mongodb-prebuilt) uses
[mongodb-download](https://github.com/mongodb-js/mongodb-download) internally
to download mongodb binaries. Unfortunately, the URLs on
https://fastdl.mongodb.org used for these binaries have changed and
`mongodb-download` doesn't seem up-to-date, cf.
mongodb-js/mongodb-download#36 and
mongodb-js/mongodb-prebuilt#59
To bypass this issue, you can manually specify the download URL by setting the
`MONGODB_DL_URI` environment variable. For instance, you can use
the following command line:
`MONGODB_DL_URI=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian92-4.0.13.tgz node playground/server.js --automongo`
or
`MONGODB_DL_URI=https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-4.0.13.tgz node playground/server.js --automongo`
adimascio pushed a commit to ToucanToco/weaverbird that referenced this issue Dec 9, 2019
[mongodb-prebuilt](https://github.com/winfinit/mongodb-prebuilt) uses
[mongodb-download](https://github.com/mongodb-js/mongodb-download) internally
to download mongodb binaries. Unfortunately, the URLs on
https://fastdl.mongodb.org used for these binaries have changed and
`mongodb-download` doesn't seem up-to-date, cf.
mongodb-js/mongodb-download#36 and
mongodb-js/mongodb-prebuilt#59
To bypass this issue, you can manually specify the download URL by setting the
`MONGODB_DL_URI` environment variable. For instance, you can use
the following command line:
`MONGODB_DL_URI=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian92-4.0.13.tgz node playground/server.js --automongo`
or
`MONGODB_DL_URI=https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-4.0.13.tgz node playground/server.js --automongo`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants