The officially official Devuan Forum!

You are not logged in.

#1 2024-01-08 12:21:25

Jokah
Member
Registered: 2019-01-30
Posts: 7  

Issue installing MongoDB Community Edition 7.0

In past I've fixed a solution you can find in older post to install MongoDB Community Edition up to v4.4

But now that I upgraded Devuan to Daedalus 5.0, which is based on Debian 12, mongodb 4.4 is not longer supported, according to
https://www.mongodb.com/docs/manual/installation/ I have to install MongoDB 7.0, so I followed the instruction here: https://www.mongodb.com/docs/manual/tut … on-debian/ until I got into this error

Installing new version of config file /etc/mongod.conf ...
/var/lib/dpkg/info/mongodb-org-server.postinst: 44: systemctl: not found
Restarting database: mongod failed!
invoke-rc.d: initscript mongod, action "restart" failed.
dpkg: error processing package mongodb-org-server (--configure):
installed mongodb-org-server package post-installation script subprocess returned error exit status 1

so I am stuck here and downgrade MongoDB to v4.4 wont solve since it's not longer compatible with Devuan 5.0

so I please anybody willing to help out, cause I really need MongoDB as I have db running for years and I dont want loose the datas,
thanks for understandings.

Offline

Board footer