question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Support for "Debian 10"

See original GitHub issue

Versions

  • Wanted System: Debian 10
  • Architecture: x86_64

Detection

console.log(“Platform”, os.platform()); Platform linux console.log(“Arch”, os.arch()); Arch x64

Extra

it is node:latest Docker image there is debian 10, there is no server version 4 for debion 10 server version 4 makes an error

2021-10-04T10:56:35.142Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "/root/.cache/mongodb-binaries/mongod-x64-debian-4.0.25"
2021-10-04T10:56:35.142Z MongoMS:DryMongoBinary locateBinary: found binary at "/root/.cache/mongodb-binaries/mongod-x64-debian-4.0.25"
2021-10-04T10:56:35.142Z MongoMS:MongoBinary getPath: Mongod binary path: "/root/.cache/mongodb-binaries/mongod-x64-debian-4.0.25"
2021-10-04T10:56:35.142Z MongoMS:MongoInstance Mongo[35247]: start: Starting Processes
2021-10-04T10:56:35.143Z MongoMS:MongoInstance Mongo[35247]: _launchMongod: Launching Mongod Process
2021-10-04T10:56:35.143Z MongoMS:MongoInstance Mongo[35247]: prepareCommandArgs
2021-10-04T10:56:35.143Z MongoMS:MongoInstance Mongo[35247]: prepareCommandArgs: final argument array:["--port","35247","--dbpath","/tmp/mongo-mem--31-m1cT1H9hhBjl","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"]
2021-10-04T10:56:35.183Z MongoMS:MongoInstance Mongo[35247]: _launchKiller: Launching Killer Process (parent: 31, child: 45)
2021-10-04T10:56:35.222Z MongoMS:MongoInstance Mongo[35247]: stderrHandler: ""/root/.cache/mongodb-binaries/mongod-x64-debian-4.0.25: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /root/.cache/mongodb-binaries/mongod-x64-debian-4.0.25)
""
2021-10-04T10:56:35.222Z MongoMS:MongoInstance Mongo[35247]: closeHandler: Mongod instance closed with an non-0 (or non 12 on windows) code!
2021-10-04T10:56:35.222Z MongoMS:MongoInstance Mongo[35247]: closeHandler: "1" "null"

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
hasezoeycommented, Oct 6, 2021

there is no version 4.0.25 in the community download page for debian 10.

because it seems to have already be superseded by 4.0.27, and that download page will only show the latest version for a release, but can still be found in https://dl.mongodb.org/dl/linux

MongoMS:MongoBinaryDownloadUrl getDebianVersionString: requested version "4.0.25" not available for osrelease "10", using "92" +0ms

i forgot that for debian10 there are no releases below mongodb 4.2, and using the version for debian 9.2 (92) seems to use / expect libcurl3

so you have 3 options:

  • install libcurl3 (which is incompatible with libcurl4) or
  • use docker image for debian 92 or
  • upgrade to use a mongodb version above 4.2 (with settings config options VERSION, this can be set in the package.json, environment variables or as binaryOption at runtime (though it will need to be downloaded at runtime with that))

see #554 for when this gets fixed (to not use binary for debian 92) see #555 for when the default version for mongodb will get set to a 5.x release

0reactions
hasezoeycommented, Oct 13, 2021

closing, because this can (on 7.x) only be fixed with the mentioned workaround in https://github.com/nodkz/mongodb-memory-server/issues/552#issuecomment-937237296

for 8.x, the default version will be increased, see #555

Read more comments on GitHub >

github_iconTop Results From Across the Web

LTS - Debian Wiki
Debian Long Term Support (LTS) is a project to extend the lifetime of all Debian stable releases to (at least) 5 years. Debian...
Read more >
Add support for debian >=10 to bootstrap.py #800 - GitHub
Add support for debian >=10 to bootstrap.py #800. Open. jochym wants to merge 6 commits into jupyterhub: ...
Read more >
30 Things to Do After Installing Debian 10 | Average Linux User
1. Fix CD-ROM error · 2. Switch to the fastest repository mirror · 3. Add contrib and non-free repositories · 4. Switch to...
Read more >
Initial Server Setup with Debian 10 - DigitalOcean
ssh root@ your_server_ip · adduser sammy · usermod -aG sudo sammy · apt update; apt install ufw · ufw app list · ufw...
Read more >
How to install Debian 10. - YouTube
In this video, I am going to show how to install Debian 10.# Debian #linux #tutorial #opensourcehttps://brave.com/rib240 - Please use this ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found