Install MeshCentral2 on Fedora 29 with MongoDB
-
@pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:
Like you, I had issue with updates while using MongoDB (on Ubuntu which I know you dislike). I used NeDB and all was fine. Did you try an install with NeDB and have the same issues?
I had no issues.
Assuming this goes live, I will have hundreds of sessions. It does not sound like the NeDB is designed for that.
-
@JaredBusch said in Install MeshCentral2 on Fedora 29 with MongoDB:
@pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:
Like you, I had issue with updates while using MongoDB (on Ubuntu which I know you dislike). I used NeDB and all was fine. Did you try an install with NeDB and have the same issues?
I had no issues.
Assuming this goes live, I will have hundreds of sessions. It does not sound like the NeDB is designed for that.
Correct, NeDB is really for non-production or very small scale use.
-
NeDB is basically a MongoDB compatible file driver written in JavaScript. It's just JS code, so super slow, that runs in the application threading that reads the file on disk. Perfect for testing and tiny workloads, but would use a lot of CPU and be super slow for production.
-
@pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:
Like you, I had issue with updates while using MongoDB (on Ubuntu which I know you dislike). I used NeDB and all was fine. Did you try an install with NeDB and have the same issues?
If you run this as a restricted user, it will not be able to update itself. that is normal.
-
@JaredBusch said in Install MeshCentral2 on Fedora 29 with MongoDB:
@pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:
Like you, I had issue with updates while using MongoDB (on Ubuntu which I know you dislike). I used NeDB and all was fine. Did you try an install with NeDB and have the same issues?
If you run this as a restricted user, it will not be able to update itself. that is normal.
Oh ok. I misunderstood. My bad.
-
mkdir -P /opt/meshcentral
Minor detail, but I'm guessing that this was supposed to be a lower-case
-p
?Awesome guide, as always. Thank you
-
@bnrstnr said in Install MeshCentral2 on Fedora 29 with MongoDB:
mkdir -P /opt/meshcentral
Minor detail, but I'm guessing that this was supposed to be a lower-case
-p
?Awesome guide, as always. Thank you
Yes, fixed.
-
MongoDB removed from Fedora 30?
https://www.marksei.com/fedora-30-new-features-wheres-coreos/
-
@NashBrydges said in Install MeshCentral2 on Fedora 29 with MongoDB:
MongoDB removed from Fedora 30?
Yup, we knew this.
-
The official Mesh Central guide shows to use the MongoDB community edition.
http://info.meshcentral.com/downloads/MeshCentral2/MeshCentral2InstallGuide.pdfI don't have the time to deal with this right now though.
-
@JaredBusch Thanks for this. Will give it a try.
-
@NashBrydges said in Install MeshCentral2 on Fedora 29 with MongoDB:
MongoDB removed from Fedora 30?
https://www.marksei.com/fedora-30-new-features-wheres-coreos/
MongoDB licensing makes it hard to include, and many people don't want it because it is not licensed correctly for distribution.
-
Followed @JaredBusch link to instructions and worked like a charm.
-
Worked fine for me on Fedora 30.
Only change was the MogoDB install. I had to add a repo for it and usednf -y install mongodb-org
-
Any reason so many people are using MongoDB? How big are these installs?
-
@scottalanmiller said in Install MeshCentral2 on Fedora 29 with MongoDB:
Any reason so many people are using MongoDB? How big are these installs?
Because it was the recommendation from the developer at the time.
I would not do it now based on the information recently release din the other thread.
-
Is it possible to migrate from MongoDB to NeDB after we've been running for a while? Easier to just start over?
-
@bnrstnr said in Install MeshCentral2 on Fedora 29 with MongoDB:
Is it possible to migrate from MongoDB to NeDB after we've been running for a while? Easier to just start over?
Probably, but never considered doing that!
-
@scottalanmiller said in Install MeshCentral2 on Fedora 29 with MongoDB:
@bnrstnr said in Install MeshCentral2 on Fedora 29 with MongoDB:
Is it possible to migrate from MongoDB to NeDB after we've been running for a while? Easier to just start over?
Probably, but never considered doing that!
I think @Ylian mentioned that is was possible or was going to be possible. in the main thread.. not 100% sure.
-
@JaredBusch said in Install MeshCentral2 on Fedora 29 with MongoDB:
@scottalanmiller said in Install MeshCentral2 on Fedora 29 with MongoDB:
@bnrstnr said in Install MeshCentral2 on Fedora 29 with MongoDB:
Is it possible to migrate from MongoDB to NeDB after we've been running for a while? Easier to just start over?
Probably, but never considered doing that!
I think @Ylian mentioned that is was possible or was going to be possible. in the main thread.. not 100% sure.
Should be, they share a format. I've just never ingested a backup into NeDB before.