nuramesh doctor checks the machine you are on and prints one line per check: PASS, WARN or FAIL, each
with a hint when something needs doing. It changes nothing on the machine, and without --network-checks it
connects nowhere.
Prerequisites
Section titled “Prerequisites”- NuraMesh installed (Install).
- The environment the server will run with: run
doctorin the same shell, or container, so it sees the sameNURAMESH_variables.
-
Run the checks.
Terminal window nuramesh doctorPASS python: Python 3.12.3 (needs 3.12 or newer)PASS port: 127.0.0.1:8765 is freePASS database: no NURAMESH_DATABASE_URL: runs use a local SQLite fileWARN auth_key: NURAMESH_AUTH_KEY_FILE is not set: MFA enrolment is offfix: for MFA, put a 32-byte key in a mode 0600 file and set NURAMESH_AUTH_KEY_FILE to its pathPASS docker: container runtime docker is availablePASS extras: all extras are installed: yaml, server, content, postgres, langgraph, azureWARN email: NURAMESH_SMTP_HOST is not set: email is offfix: for sign-up mails set NURAMESH_SMTP_HOST, NURAMESH_SMTP_FROM, NURAMESH_PUBLIC_URLSKIPPED email_connect: mail server connection not testedfix: not run: add --network-checks to test the mail server connectionPASS tls_proxy: no proxy and no custom CA bundle setPASS disk: 31101 MiB free here7 passed, 2 warnings, 0 failed, 1 not runYour lines will differ with your machine.
-
Also test the connections, when you want to. This connects to the database (when
NURAMESH_DATABASE_URLis set) and to the mail server.Terminal window nuramesh doctor --network-checks -
Check another address or port than the default, or get JSON for a script.
Terminal window nuramesh doctor --port 9000 --output json
What is checked
Section titled “What is checked”| Check | What it looks at |
|---|---|
python |
the Python version |
port |
whether the address and port nuramesh serve would use are free (--host, --port) |
database |
whether a database URL is set; with --network-checks, whether it connects |
auth_key |
the key file that two-step sign-in needs |
docker |
a container runtime for the sandbox |
extras |
which optional extras are installed |
email, email_connect |
the outgoing email settings; with --network-checks, the connection to the mail server |
tls_proxy |
proxy and CA bundle variables. It only reads the environment and never connects |
disk |
free disk space in the current folder |
Check it worked
Section titled “Check it worked”The last line counts the results, for example 7 passed, 2 warnings, 0 failed, 1 not run. The exit code is 1
when a check failed and 0 otherwise. A WARN is a feature that is off, not an error.
Troubleshooting
Section titled “Troubleshooting”| You see | Do this |
|---|---|
FAIL on a line |
Follow the fix: hint under it, then run doctor again |
SKIPPED |
The check needs --network-checks |
WARN auth_key |
Two-step sign-in is off until the key file is set: Turn on two-step sign-in |
WARN email |
Email is off until the SMTP settings are set: Outgoing email |
Next steps
Section titled “Next steps”- Self-host with Compose.
- Environment variables: every setting
doctorreads. - Known issues and Support.
Was this page helpful?