ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Install MeshCentral2 on Fedora 29 with MongoDB

    Scheduled Pinned Locked Moved IT Discussion
    meshcentral 2meshcentralfedorafedora 29guidesreal instructions
    24 Posts 7 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @JaredBusch
      last edited by

      @JaredBusch said in Install MeshCentral2 on Fedora 29 with MongoDB:

      @pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:

      @JaredBusch

      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.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @pmoncho
          last edited by

          @pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:

          @JaredBusch

          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.

          pmonchoP 1 Reply Last reply Reply Quote 0
          • pmonchoP
            pmoncho @JaredBusch
            last edited by

            @JaredBusch said in Install MeshCentral2 on Fedora 29 with MongoDB:

            @pmoncho said in Install MeshCentral2 on Fedora 29 with MongoDB:

            @JaredBusch

            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.

            1 Reply Last reply Reply Quote 0
            • B
              bnrstnr
              last edited by

              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

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @bnrstnr
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • NashBrydgesN
                  NashBrydges
                  last edited by

                  MongoDB removed from Fedora 30?

                  d9c3e0fc-8eef-4dc4-baab-6172dd30d41e-image.png

                  https://www.marksei.com/fedora-30-new-features-wheres-coreos/

                  JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @NashBrydges
                    last edited by

                    @NashBrydges said in Install MeshCentral2 on Fedora 29 with MongoDB:

                    MongoDB removed from Fedora 30?

                    Yup, we knew this.

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by JaredBusch

                      The official Mesh Central guide shows to use the MongoDB community edition.
                      http://info.meshcentral.com/downloads/MeshCentral2/MeshCentral2InstallGuide.pdf

                      3113721a-38cf-43a9-a3c2-88f2f9c9303f-image.png

                      I don't have the time to deal with this right now though.

                      NashBrydgesN 1 Reply Last reply Reply Quote 0
                      • NashBrydgesN
                        NashBrydges @JaredBusch
                        last edited by

                        @JaredBusch Thanks for this. Will give it a try.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @NashBrydges
                          last edited by

                          @NashBrydges said in Install MeshCentral2 on Fedora 29 with MongoDB:

                          MongoDB removed from Fedora 30?

                          d9c3e0fc-8eef-4dc4-baab-6172dd30d41e-image.png

                          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.

                          1 Reply Last reply Reply Quote 0
                          • NashBrydgesN
                            NashBrydges
                            last edited by

                            Followed @JaredBusch link to instructions and worked like a charm.

                            1 Reply Last reply Reply Quote 0
                            • hobbit666H
                              hobbit666
                              last edited by

                              Worked fine for me on Fedora 30.
                              Only change was the MogoDB install. I had to add a repo for it and use dnf -y install mongodb-org

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Any reason so many people are using MongoDB? How big are these installs?

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @scottalanmiller
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 2
                                  • B
                                    bnrstnr
                                    last edited by

                                    Is it possible to migrate from MongoDB to NeDB after we've been running for a while? Easier to just start over?

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @bnrstnr
                                      last edited by

                                      @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!

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @scottalanmiller
                                        last edited by

                                        @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.

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @JaredBusch
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post