Closed Noor-Ansari closed 6 months ago
please do not ignore the issue templates
Mongod instance closed with code "127"
is not the full error, please provide more of the error / debug logs.
There have been issues about this error before, see #480.
Also see Supported Systems: Ubuntu.
Also note that mongodb-memory-server 6 is quite old, currently it is on major 9
(6.9.6
is from 2021-03-08 and does not support ubuntu higher than 1804 - which github ci deprecated & removed)
I upgraded the package to version 8. and we are running it on ubuntu 22, now I am getting this error.
StdoutInstanceError: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.10
StdoutInstanceError: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.10
(this error looks slightly off on the library version) this means you are trying to run a binary for a older ubuntu version on a newer, but are missing the mentioned packages, see #732
there are only binaries for 2204 since mongodb 6.0.4, the default binary for 8.x is 5.0.x, which will use the ubuntu 2004 binary, so you can either upgrade to mongodb-memory-server 9 for the default binary of 6.x, or maually set the version
We have encountered an issue with our Ubuntu 22 operating system regarding the upgrade to mongo-memory-server-9, which necessitates the use of a binary version 6.x. However, our current binary version is 4.x, and we are unable to utilize any other binary. Are there any potential solutions or workarounds available to address this issue?
if you really need to use a older binary version which does not have native builds, you will need to install the missing packages (which ubuntu does not provide themself anymore), for example see #480. OR use a older ubuntu version (though note that github ci may not provide them anymore, i think the lowest currently supported is ubuntu 2004)
Marking the Issue as stale, it will be closed in 7 days if no more activity is seen
Closing the Issue because it is marked as stale
Hello,
I am encountering an error in my CI pipeline. Previously, the pipeline was functioning flawlessly. The only alteration made was switching the CI operating system from CentOS to Ubuntu, after which this issue arose.
If the problem is indeed related to the change in the operating system, I would appreciate guidance on how to rectify it.
Thank you.
"mongodb-memory-server": "^6.9.2" node : 16