MeshAgent uninstall does NOT uninstall
Key details:
Everything is updated to the lastest version, Debian Linux with GNOME, running a newer kernel. And MeshCentral 1.1.43.
When I send an uninstall command to the Linux machine, it does NOT uninstall, it instead just kills the service.
I can simply do a service meshagent start and its back... no uninstalling happenend. The directory and everything is also still there.
I propose a chain of command that have to be send to the agent but with the killing in mind, so to disown the process.
yep already aware of this
i was moving my machines from one server to another over the weekend
and every time i used the uninstall from the web ui, it stopped the service
but never actually removed it
i think it just needs to run the -fulluninstall command to fix the issue 👍
Have you thought about the fact that the MeshAgent process is running its own uninstall? Will it not kill its own uninstall once it kills everything?
xy problem I mean.
i dont know ill have to look into it as the code for the uninstall is actually a JS module built into the agent so its the meshagent repo i need to look into
I think yes:
https://github.com/Ylianst/MeshAgent/blob/master/modules/agent-installer.js
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think yes:
https://github.com/Ylianst/MeshAgent/blob/master/modules/agent-installer.js
Yep. All it does right now is a process.exit(); In case of my distro there's still the systemd service, which didn't get disabled. Hence after the next reboot the service is up again :)