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

Docs: Adding meshcentral server debug command #6369

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

silversword411
Copy link
Contributor

No description provided.

@si458
Copy link
Collaborator

si458 commented Sep 9, 2024

Great suggestion! Can u also add the fact its a FULL debug mode, so will spit everything out

And u can use --debug amt,web etc.. so only show certain debug messages?
Basically it's all the values from the servers trace panel

@silversword411
Copy link
Contributor Author

Basically it's all the values from the servers trace panel

The panel doesn't show any values....and --help doesn't show all those things

me@machine:~$ /usr/bin/node /meshcentral/node_modules/meshcentral --help
MeshCentral v1.1.21, remote computer management web portal.
This software is open source under Apache 2.0 license.
Details at: https://www.meshcentral.com

Run as a background service
   --install/uninstall               Install MeshCentral as a background service.
   --start/stop/restart              Control MeshCentral background service.

Run standalone, console application
   --user [username]                 Always login as [username] if account exists.
   --port [number]                   Web server port number.
   --redirport [number]              Creates an additional HTTP server to redirect users to the HTTPS server.
   --exactports                      Server must run with correct ports or exit.
   --noagentupdate                   Server will not update mesh agent native binaries.
   --nedbtodb                        Transfer all NeDB records into current database.
   --listuserids                     Show a list of a user identifiers in the database.
   --cert [name], (country), (org)   Create a web server certificate with [name] server name.
                                     country and organization can optionally be set.

Server recovery commands, use only when MeshCentral is offline.
   --createaccount [userid]          Create a new user account.
   --resetaccount [userid]           Unlock an account, disable 2FA and set a new account password.
   --adminaccount [userid]           Promote account to site administrator.

Where are all the commands you can use?

...you aren't telling me
https://github.com/silversword411/MeshCentral/blob/master/meshcentral.js#L142-L143

that json values are just args passed to the meshcentral....are you??!?!?!?!?!

@si458
Copy link
Collaborator

si458 commented Sep 9, 2024

Sorry, I was talking about the web ui my server trace page when u click tracing and select what u want to look at!
These are all the debug values that's usable with the --debug option
Screenshot_20240909_212134_Firefox

But yes, it's also a good idea these should really be added to the --help option too!

@Ylianst
Copy link
Owner

Ylianst commented Sep 15, 2024

I am accept this and add more documentation.

@Ylianst Ylianst merged commit 4d5ec6c into Ylianst:master Sep 15, 2024
3 checks passed
@Ylianst
Copy link
Owner

Ylianst commented Sep 15, 2024

Done (Link)

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

Successfully merging this pull request may close these issues.

3 participants