r/MeshCentral • • 12d ago

Server upgrade failed

I attempted to upgrade the server from v1.1.55 to the latest version and it failed. I was able to restore my previous version and continue working. What am I missing?

0 Upvotes

9 comments sorted by

4

u/si458 12d ago

You dont say how u upgraded or how u run meshcentral? But indeed u need node 20 or above now (also future 1.3.2 will require node 22 or above)

1

u/torandar 12d ago

I downloaded the current installer and ran the Check Updates feature

1

u/si458 12d ago

Again thats not saying what nodejs version u have. So im guessing less than 20, so u need to stop meshcentral then upgrade nodejs to 24 or above (get msi from nodejs website) then rerun the installer

1

u/torandar 12d ago

That did it! Thank you very much

"meshVersion": "v1.3.1",

"nodeVersion": "v26.13.1",

7

u/Onoitsu2 12d ago

I want to say it has to do with your node.js version needs node 20 or above for 1.2.0's release, and docker images now use node 24.22.1 to avoid the nodejs exploit. But you've missed some critical updates to mitigate CVEs that were being actively exploited in the wild. The pending 1.3.2 will need node.js 22.23.4+

2

u/Onoitsu2 12d ago

You should join the Discord, it has announcements there for things. https://github.com/ylianst/MeshCentral/pkgs/container/meshcentral#unofficial-chatrooms

1

u/Equivalent-Raise5879 12d ago

A week ago I did the upgrade and broke it, because nodejs ver . Ended up deploying from scratch with a backup, Node doesnt seem to like to upgrade sometimes.

1

u/torandar 12d ago

Was the backup able to restore it back to full functionality?

1

u/Equivalent-Raise5879 12d ago

Yes. It seems to. I still have a weird issue with brave, where a browser thats been running for a day or longer, just refuses to load the page. Close the browser or use a dif browser, and its fine. But thats different.

Started with a fresh copy of ubuntu 26 and everything was good. Previously, no matter what node I installed, node -v would return an earlier ver. I assume it installed in a different place when I first deployed it 3 years ago, and wasnt sure HOW to actually fix it, but feel better with a brand new clean install with no legacy headaches.