Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicating Computers #4576

Closed
vithusel opened this issue Sep 22, 2022 · 3 comments
Closed

Duplicating Computers #4576

vithusel opened this issue Sep 22, 2022 · 3 comments
Labels

Comments

@vithusel
Copy link

I created a new MeshCentral instance. Customised the agent to give it a new service name etc

I've found on the new portal the computers are duplicating and somehow the original client is also connecting to the new server.

Running uninstall agent throws this message.

uninstallagent
Command returned an exception error: systemd Service (undefined) NOT FOUND
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: systemd Service (undefined) NOT FOUND in method 'handleServerCommand()'

Is there any way i can manually remove the client completely from the computers / servers.

Connecting between the two different duplicates in terminal view takes me to two different folder paths.

root@erpnext-production:/usr/local/mesh_services/meshagent#

and

root@erpnext-production:/usr/local/mesh_services/"redacted" Services/"Redacted"ServicesAgent#

The clients are installed on Ubuntu 22.04 servers.

@vithusel vithusel added the bug label Sep 22, 2022
@silversword411
Copy link
Contributor

...I'll assume you're talking about linux agents, not windows.

If you find info, updating this will benefit all: https://ylianst.github.io/MeshCentral/meshcentral/agents/

I'd like that article to have examples of all agent types and the commands to control them all.

@dxdemetriou
Copy link
Contributor

dxdemetriou commented Sep 22, 2022

I have used this command:
sudo /usr/local/mesh_services/meshagent/[agent-name]/meshagent -fulluninstall

Through MeshCentral server, uninstalling agent not seems possible for Linux and macOS, and so I have used this command on testing

@vithusel
Copy link
Author

Got it to work.

Thank you for all your help guys!

Teaches me to change service configs mid install haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants