claudecodeui/claude-data/projects/-home-node/memory/reference_meshcentral.md

16 lines
1.3 KiB
Markdown

---
name: MeshCentral install location
description: Where MeshCentral runs and how to modify its mobile/desktop UI templates
type: reference
originSessionId: 66d12046-754f-4037-aa2a-75066ed5fd47
---
MeshCentral is hosted on TrueNAS VM **meshcentral** (id 3, IP **10.0.0.235**, public hostname `mesh.wilddragon.net`).
- **VM credentials:** `zgaetano` / `pa55word` (sudo also needs `pa55word`).
- **Install path:** `/home/zgaetano/node_modules/meshcentral/` (npm-style install under zgaetano's home).
- **Config:** `/home/zgaetano/meshcentral-data/config.json` (`minify: true` so the server serves the `*-min.handlebars` variants).
- **Service:** `systemctl restart meshcentral` (runs `node /home/zgaetano/node_modules/meshcentral/meshcentral`).
- **UI templates:** `views/default-mobile.handlebars` + `views/default-mobile-min.handlebars` (mirror both, or set `minify:false`). Equivalent desktop pair: `default.handlebars` / `default-min.handlebars`. The mobile templates are chosen by `getRenderPage()` in `webserver.js` via UA detection (overrideable with `?mobile=1`).
- **Backups of pre-modified upstream templates:** suffix `.preclaude` in the same `views/` dir.
The TrueNAS host (Wooglin) doesn't have `sshpass`/`expect`, so authenticate to the VM via a dropped SSH key — `paramiko` is available on the TrueNAS host to bootstrap auth.