hi,
i have a centos 7 box without gui that has mongodb 4.4 that im trying to upgrade to mongo 5.0
currently, this is what i’ve been doing:
edit /etc/yum.repos.d/mongodb-org-5.0.repo
and the contents are:
[mongodb-org-5.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/5.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc
now when i do a
yum install mongodb*
it fails with a bunch of conflicts. so instead, i did this:
yum remove mongodb*
yum clean all
yum install mongodb-org
which looked like it installed fine but i cant find out if the data got wiped or not. how do i check this?
also, how should i be doing the upgrades if i get conflicts like these?
thanks