NodeSentinel documentation
Updates
Update the dashboard and agents safely, migrate configuration and preserve existing history.
Before every update
- Review the release notes on GitHub.
- Back up the dashboard state directory, including
settings.jsonand both SQLite databases. - For Docker, check the project name and the
dashboard-statevolume in use. - Update one representative agent first or test in a staging instance.
Docker Compose
git pull --ff-only
docker compose pull
docker compose up -d
docker compose ps
docker compose -f compose.agent.yaml pull
docker compose -f compose.agent.yaml up -dPrefer a fixed release tag for production deployments. If you retain the existing Compose project name, the existing history and password are reused.
Native installation
cd /opt/nodesentinel
git pull --ff-only
go build -o bin/nodesentinel ./cmd/nodesentinel
sudo systemctl restart nodesentinel.service
sudo systemctl restart nodesentinel-agent.serviceA UI-only update can be made by replacing a compatible frontend/index.html. Back up the previous file; the dashboard reloads the HTML file on each page request.
Post-update checks
- Dashboard login works.
- Push agents connect and send current values.
- The existing 30-day history remains visible.
- A notification test is delivered.
- Optionally enabled Docker, journal, UFW and Fail2Ban sources remain available.
Migrating older versions
NODESENTINEL_*variables are preferred; olderHOMELAB_*names work as a fallback.- Transfer older Python configuration to
nodesentinel.config.json. Python is no longer required. - When renaming a Compose project, set
COMPOSE_PROJECT_NAMEto the previous name to retain the existing volume. - Because the session cookie was renamed, you must sign in again after migration.
- For push configuration, create a named agent with mode
pushand point the agent to the appropriatewss://address.