Upgraded MeshCentral from 1.1.10 to 1.1.14 and get Service Unavailable

The server is reachable and I can download the meshcentral RPM from https://mrmarkuz.dynu.net/mirror/mrmarkuz/7/noarch/nethserver-meshcentral-0.0.1-1.ns7.noarch.rpm

You may try to download and install locally.

Maybe it helps to clean yum cache:

yum clean all

EDIT:

@Shadowfire As regards the meshcentral update to 1.1.14, I found following entry in /var/log/messages:

Oct 25 19:48:00 server2 node: MeshCentral requires Node v11 or above, current version is v10.24.0.

It seems at least nodejs 11 is needed and I used nodejs10 for meshcentral but now epel nodejs is version 16 so I need to upgrade the module.

As a workaround you could edit the meshcentral systemd service file to use the right nodejs version 16 from epel.

Stop meshcentral:

systemctl stop meshcentral

Edit the file /etc/systemd/system/meshcentral.service at line 7:

ExecStart=/usr/bin/node /opt/meshcentral/node_modules/meshcentral/meshcentral.js

Reload systemd config:

systemctl daemon-reload

Restart and reconfigure Meshcentral:

signal-event nethserver-meshcentral-update

After a minute meshcentral should be up again…

5 Likes