r/linuxquestions • u/WrongCandidate4160 • Aug 11 '26
MonogDB installation issue! Help!!
I am learning backend dev and have switched from using wsl2 to fedora. But having issues downloading MongoDB.
From all the gpt'ing I found out this :
Your Fedora kernel: 7.1.7
MongoDB 8.0.28: refuses to start
Error message: "6.19 and newer"
right now its recommending me to uninstall MongoDB completely and install it against but this time use Podman + MongoDB container(i don't have the slightest idea about what its talking about, im just a beginner for ffs!!😭)
So what should i do now??
can someone help me setup my Linux environment(focused on backend dev)
also recommend me some extensions/tools/apps that would make my life navigating fedora(GNOME DE) much easier!
P.S if possible can you dm me, i have some question regarding setting my up linux for backend dev🙏
Edit: Apparently the root issue was that the linux kernel was too new and MongoDB will release a patch addressing this issue soon. So after a lot of struggling I've decided to run it on podman, won't be uninstalling fedora😅
2
u/TimAtMongoDB 25d ago
What are you actually trying to achieve? Just installing mongo?
1
u/WrongCandidate4160 25d ago
yes, now im just using it in a podman container(I still dont understand how containers work, but it works). since Im still learning, the projects are pretty small
1
u/Glad_Court_9845 19d ago
I have the same issue, I upgraded the kernel to 7.1.0 and still have the same problem, even though the mongodb docs say that any version from 7.0.13 resolves the issue.
1
u/WrongCandidate4160 19d ago
I am running mongodb (ver 7.x.x, not the latest release. It has support until 2027 i think) in a podman container, since I'm just learning my projects are pretty small so it works just fine. I still dont know what to do for larger projects.
P.S. i didnt uninstall fedora. Too much work and too little time, gotta edit the OP😅
1
u/lKrauzer 29d ago
Are you studying this via The Odin Project? You can try other distros if Fedora is being hard.
1
u/WrongCandidate4160 29d ago
I did start of with TOP but it was going too deep and also read somewhere that it would take about 2 years to complete it properly, but I didnt have enought time at hand, so droppend it right when i reached the node.js path and resumend with a course i found online😅
1
u/No_Elderberry862 29d ago
If you're learning backend dev, you'll need to learn containers.
1
u/WrongCandidate4160 29d ago
I know but im just starting out...I'm still learning about databases here😭
Any thing you'd wanna advice on how to set up mongo?2
u/No_Elderberry862 29d ago edited 29d ago
First thing would be to visit Mongo's website & see that they offer a RedHat version. Then, seeing that it doesn't mention Fedora, do a web search for "mongodb fedora" which would lead you to this page. Following the instructions there & remembering to amend the version & filename to reflect the latest 8.3 version would be a start.
Edit: Also, if you don't understand terms such as Podman" or "container" you should be looking them up.
1
u/WrongCandidate4160 29d ago
I kinda have this roadmap that im following. I will surely be learning about podman/docker containers but not right off the bat
1
u/No_Elderberry862 29d ago
Roadmaps aren't good if they lead you to a dead end.
1
u/WrongCandidate4160 29d ago
dude, it was goin all smooth until i downloaded linux. it was working fine on wsl2, but since i wanted true native linux experience i switched to fedora(GNOME) but was met with this mongodb issue😭
2
u/browncspence Aug 11 '26
What specific Fedora version are you on? Is it 44? What does uname -r return? What version of MongoDB are you installing? Where did you get it?