-
Notifications
You must be signed in to change notification settings - Fork 603
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
removal of device nodes using meshctrl #4753
Comments
Your right. I had not noticed this, working on adding that now. |
Added "removedevice" to meshctrl.js, will be in MeshCentral v1.0.98. |
Sorry to reopen, but im trying to remove all offline from one group, but i think meshctrl is waiting for uninstall, because removedevice return 'ok' but dont remove the device from group/meshcentral |
whats the command/exmaple you are using? |
/srv/meshc/node_modules/meshcentral/meshctrl.js --url wss://mesh.xxxxxxx:443 RemoveDevice --loginuser xxxxxxxxx --loginpass xxxxxxxxx --id 'Y9UVQggLEoMSEpB2pmvY@EKoe7iYnXVYUVLwSuySVup3AOMSaHZyjGQlJFK5DnNi' return "ok" |
are you running the command from the meshcentral server itself or remotely? |
it self, i think the command is correct, because i can listdevices and any other command, but, removedevice wont remove, just return ok |
never used the meshctrl but yeh just tried it and its the same here! |
@tiagogbarbosa found the bug for you! doing a PR soon to fix for you WORKAROUND: if using the normal domain send |
Ty!!! *closed |
I have not found a way to actually remove a device through meshctrl.js after issuing an uninstall command and have not found another workaround other than doing it from inside the meshcentral ui.
Can this be added to meshctrl?
The text was updated successfully, but these errors were encountered: