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

Default mongo version (4.0.14) not available for download anymore #448

Closed
Systerr opened this issue Feb 26, 2021 · 6 comments · Fixed by BetaHuhn/qrgen#161
Closed

Default mongo version (4.0.14) not available for download anymore #448

Systerr opened this issue Feb 26, 2021 · 6 comments · Fixed by BetaHuhn/qrgen#161
Labels
bug Module: Version-String Generation This problem is because of the Version-String Generation (MongoBinaryDownloadUrl) released on @beta released Pull Request released | Issue is fixed

Comments

@Systerr
Copy link

Systerr commented Feb 26, 2021

Versions

  • NodeJS: 14.15.0
  • mongodb-memory-server-*: 6.9.3
  • mongodb: 4.0.14 (project default)
  • mongoose: 0.0.0
  • system: gitlab-ci (node:14-buster)

package: mongo-memory-server

What is the Problem?

[email protected] postinstall /node_modules/mongodb-memory-server
node ./postinstall.js
mongodb-memory-server: checking MongoDB binaries cache...
failed to download/install MongoDB binaries. The error: Error: Status Code is 403 (MongoDB's 404)
This means that the requested version-platform combination doesn't exist
Used Url: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian10-4.0.14.tgz"

Code Example

npm i mongodb-memory-server

Do you know why it happenes?

Looks like version 4.0.14 removed from CDN. Default version (4.0.14) should be updated.

I solved it in my case by setting config into npm. But default installation should works also.

@Systerr Systerr added the bug label Feb 26, 2021
@hasezoey
Copy link
Member

hasezoey commented Feb 26, 2021

already set to latest 4.0.x in beta

@hasezoey
Copy link
Member

hasezoey commented Mar 8, 2021

i took a deeper look at it now, it seems like nothing below 4.2 is available for debian10, so for everything below, debian92 should be used

workaround for now should be to use MONGOMS_VERSION=v4.2-latest

@hasezoey hasezoey added Distribution support Add / modify an (linux) distribution Module: Version-String Generation This problem is because of the Version-String Generation (MongoBinaryDownloadUrl) and removed Distribution support Add / modify an (linux) distribution labels Mar 8, 2021
@github-actions
Copy link

github-actions bot commented Mar 8, 2021

🎉 This issue has been resolved in version 7.0.0-beta.25 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Mar 8, 2021

@github-actions
Copy link

🎉 This issue has been resolved in version 7.0.0-beta.48 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jul 1, 2021

hasezoey added a commit that referenced this issue Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Module: Version-String Generation This problem is because of the Version-String Generation (MongoBinaryDownloadUrl) released on @beta released Pull Request released | Issue is fixed
Projects
None yet
2 participants