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

    MeshCentral - Unable to update

    IT Discussion
    meshcentral update
    6
    23
    2.1k
    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.
    • pmonchoP
      pmoncho
      last edited by pmoncho

      Ubuntu 18.10 on vultr

      Setup MeshCentral with mongodb using the the Increased Security Install on 4.8 of Users guide.
      So far all is working fine except for updating.

      Following the instructions for updating manually is not working wondering if anyone else has run into this same issue.

      mesh1:~$ sudo systemctl stop meshcentral.service
      mesh1:~$ cd /opt/meshcentral
      mesh1::/opt/meshcentral$ sudo npm install
      npm WARN saveError ENOENT: no such file or directory, open '/opt/meshcentral/pac
      kage.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/meshcentral/packag
      e.json'
      npm WARN meshcentral No description
      npm WARN meshcentral No repository field.
      npm WARN meshcentral No README data
      npm WARN meshcentral No license field.
      
      up to date in 1.794s
      mesh1::/opt/meshcentral$ sudo chown -R meshcentral:meshcentral /opt/meshcentral
      mesh1:/opt/meshcentral$ sudo systemctl start meshcentral.service
      mesh1:/opt/meshcentral$
      

      In MeshCentral, I check server version and this is what I get.
      73b291fc-da6c-4e39-99e0-ffa1e80cfeea-image.png

      There is a /opt/meshcentral/package-lock.json and wondering if that is stopping the upgrade.

      Any clues?

      1 Reply Last reply Reply Quote 0
      • FATeknollogeeF
        FATeknollogee
        last edited by

        I kinda have a similar issue.
        If I do the update via the GUI, it just never updates...it goes through the motions, disconnects. Next time you login the current version shows the same thing & never changes.

        If I update manually, via terminal, that works. But when I check the version (using the GUI) it says there's an update available?

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

          @FATeknollogee

          How do I find the current version from the prompt?

          FATeknollogeeF 1 Reply Last reply Reply Quote 0
          • FATeknollogeeF
            FATeknollogee @pmoncho
            last edited by

            @pmoncho said in MeshCentral - Unable to update:

            @FATeknollogee

            How do I find the current version from the prompt?

            Hmm, I completely forgot to try that & verify the running version!!

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

              @FATeknollogee

              I've been looking through the Installers and User Guide's and poking around inside a few files to see if I can find the version. No luck yet.

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

                Non-MongoDB install here. Update went smoothly.

                DustinB3403D pmonchoP 2 Replies Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @scottalanmiller
                  last edited by

                  @scottalanmiller said in MeshCentral - Unable to update:

                  Non-MongoDB install here. Update went smoothly.

                  Didn't mongoDB just change their license too, to something so practically insane that using MongoDB for even free and open source projects makes it worthless to consider?

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

                    @DustinB3403 said in MeshCentral - Unable to update:

                    @scottalanmiller said in MeshCentral - Unable to update:

                    Non-MongoDB install here. Update went smoothly.

                    Didn't mongoDB just change their license too, to something so practically insane that using MongoDB for even free and open source projects makes it worthless to consider?

                    Nope. They just made it only make sense for open source projects.

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

                      @scottalanmiller

                      Thanks, I will keep digging.

                      1 Reply Last reply Reply Quote 0
                      • C
                        Curtis
                        last edited by Curtis

                        Any guides for installing MeshCentral?

                        I looked under:
                        https://mangolassi.it/tags/meshcentral

                        I didn't see anything.

                        scottalanmillerS pmonchoP 2 Replies Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Curtis
                          last edited by

                          @Curtis none written yet.

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

                            @Curtis

                            I was hoping I could (finally) contribute one but that is now shot to shit!

                            DustinB3403D 1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403 @pmoncho
                              last edited by

                              @pmoncho why is it shot?

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

                                @DustinB3403

                                Well, I cannot figure out how to update and I tried to get Let's Encrypt setup but that is blowing up with errors also.

                                May not be totally shot just delayed. 🙂

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

                                  @pmoncho said in MeshCentral - Unable to update:

                                  @DustinB3403

                                  Well, I cannot figure out how to update and I tried to get Let's Encrypt setup but that is blowing up with errors also.

                                  May not be totally shot just delayed. 🙂

                                  What errors?

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

                                    I would get the following after enabling the letsencrypt setting.
                                    This is from syslog.

                                    Jan  4 16:12:42 host_mesh1 systemd[1]: Stopping MeshCentral Server...
                                    Jan  4 16:12:42 host_mesh1 systemd[1]: Stopped MeshCentral Server.
                                    Jan  4 16:12:49 host_mesh1 systemd[1]: Started MeshCentral Server.
                                    Jan  4 16:12:50 host_mesh1 node[10024]: Installing greenlock...
                                    Jan  4 16:12:51 host_mesh1 node[10024]: ERROR: Unable to install missing package
                                     'greenlock', make sure npm is installed.
                                    Jan  4 16:13:02 host_mesh1 systemd[1]: meshcentral.service: Service RestartSec=1
                                    0s expired, scheduling restart.
                                    Jan  4 16:13:02 host_mesh1 systemd[1]: meshcentral.service: Scheduled restart jo
                                    b, restart counter is at 1.
                                    Jan  4 16:13:02 host_mesh1 systemd[1]: Stopped MeshCentral Server.
                                    

                                    I'm contemplating installing again without the increased security or MongoDB and go from there.

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

                                      @pmoncho Oh, I saw this happen. I got around it by firing it off manually, it installed what was needed, then it could go back to running automatically.

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

                                        @scottalanmiller

                                        Are you saying you just installed greenlock on its own or ran the letsencrypt part on its own?

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

                                          @pmoncho said in MeshCentral - Unable to update:

                                          @scottalanmiller

                                          Are you saying you just installed greenlock on its own or ran the letsencrypt part on its own?

                                          Neither. I just ran MechCentral manually, rather than with the systemctl script. It takes care of everything on its own otherwise. You can see it install GreenLock when you do that.

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

                                            @scottalanmiller

                                            I installed generic instance of MC without secure install and with NeDB.

                                            It still doesn't update properly but running it manually like you did, it did install the greenlock and le-acme-core.

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