You are not logged in.
Pages: 1
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.
I followed the procedure from https://www.devuan.org/os/documentation … o-daedalus
an issue arise after the reboot step, the next step is apt-get dist-upgrade, but while doing so I get
Err:1 http://deb.devuan.org/merged daedalus InRelease
Temporary failure in name resolution
and its not temporary it just doesn't work anymore
I could solve it, I found and used this init: https://github.com/mongodb/mongo/blob/m … ian/init.d
I tryed the procedure you suggested, I've installed mongodb-org-unstable-server-4.3.6-1.el6.x86_64.rpm and I tryed use the mongod inside
/tmp/etc/init.d/mongod and placed it in /etc/init.d, but its not working, some edit are needed but I am not really good at it, some stuff I seen that indeed seems wrong for devuan but as i don't know redhat I dunno in which matter it should be changed.. for example:
# chkconfig: 35 85 15
# description: Mongo is a scalable, document-oriented database.
# processname: mongod
# config: /etc/mongod.conf
. /etc/rc.d/init.d/functions <----- this line
# All variables set before this point can be overridden by users, by
# setting them directly in the SYSCONFIG file. Use this to explicitly
# override these values, at your own risk.
SYSCONFIG="/etc/sysconfig/mongod"
if [ -f "$SYSCONFIG" ]; then
. "$SYSCONFIG"
fi
this procedure also won't work either, and there could be more, but I don't know how to fix it propery, sorry.
Hi, I need to install MongoDB Community Edition, so I've tryed to follow the instruction provided here : https://docs.mongodb.com/manual/tutoria … on-debian/
actually everything installed flawless, until I try to install the service (the docs even mention that both systemd and system V init) are supported so I went stright forward with doing: service mongod start and I get "mongod: unrecognized service", any clue how to solve this? anybody ever tryed to install and run successfully MongoDB? (I am on Devuan 3.0)
Does somebody know a safe way to migrate from Debian 10 to Devuan?
Pages: 1