Meshcentral: Self Update FAILED

Created on 13 Feb 2021  路  11Comments  路  Source: Ylianst/MeshCentral

Hi,

We are running into a weird issue with the Windows agents of Meshcentral.
All of them have lost their desktop connectivity option, and can only be resolved by manually reinstalling agent. The problem is of course a lot of machines are remote and not directly reachable.

While the agent will show online, in the console when trying to force a agentupdate, we will get
Self Update FAILED because the downloaded agent FAILED hash check (1), URL: http:/xxxxx/meshagents?id=x
Self Update will try again in 60 seconds...

I have tried the setting in config file of "ignoreagenthashckeck":true on the server, but it doesn't seem to solve this problem.

The server version running is 0.7.68

Any ideas?
S.

Fixed - Confirm & Close bug

All 11 comments

Does the error really say http:// or does it say https? Also, if you try to download the agent using the link given in the error, does it work? Do you have a reverse proxy or some firewall that is blocking the agent download on the URL? Thanks.

It is https:// and i can download the agent via web directly. I can send you URL in a PM if you need.

Sure, my contact information is here. If you can also create a dummy account, I will give it a try. It seems like something is not allowing the agent to download correctly.

As a temporary solution, can probably restore the remote desktop by going in the device "Console" tab, hit "Agent Actions" button and clearing and setting back the "Server Default Core". However, it would be best to fix the agent download.

@Ylianst - can you speedup the #2285

@VINISHVV That will not fix this issue. If you can't download the update, doing batch update will not change anything.

@Ylianst - Manual update is working fine...
Only error with self update.

@Ylianst: I have sent you connectivity info in PM.

As per "Server Default Core" it loads recovery core, which gives you terminal, but no desktop.

After investigation I found that having the following line in the settings section of the config.json will cause this exact problem:

"agentsInRam": false

For now, just remove this line or add a "_" in front of the name, save and restart the server. That should fix it. I am looking into a better fix now.

Found the root cause a have a fix for the for the next version of MeshCentral. When "agentsInRam": false is in use, the hash of the signed and unsigned hashes are compared and so, the update fails.

Just published MeshCentral v0.7.69 with a fix for the "agentsInRam": false problem. Let me know if it works. Close this issue if it does.

Was this page helpful?
0 / 5 - 0 ratings