MeshCentral - Unable to update
-
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?
-
How do I find the current version from the prompt?
-
@pmoncho said in MeshCentral - Unable to update:
How do I find the current version from the prompt?
Hmm, I completely forgot to try that & verify the running version!!
-
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.
-
Non-MongoDB install here. Update went smoothly.
-
@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?
-
@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.
-
Thanks, I will keep digging.
-
Any guides for installing MeshCentral?
I looked under:
https://mangolassi.it/tags/meshcentralI didn't see anything.
-
@Curtis none written yet.
-
I was hoping I could (finally) contribute one but that is now shot to shit!
-
@pmoncho why is it shot?
-
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.
-
@pmoncho said in MeshCentral - Unable to update:
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?
-
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.
-
@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.
-
Are you saying you just installed greenlock on its own or ran the letsencrypt part on its own?
-
@pmoncho said in MeshCentral - Unable to update:
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.
-
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.
-
@pmoncho said in MeshCentral - Unable to update:
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.
You only need to do that when you are "updating" with new code. It's not the updating that does it, it's the changing of features in the config file. Had you rebooted, it would have done the same thing. It just happened to be an attempt to update that triggered the restart that caught the issue.