Documentationv2.4.2

NodeSentinel documentation

Updates

Update the dashboard and agents safely, migrate configuration and preserve existing history.

Before every update

  1. Review the release notes on GitHub.
  2. Back up the dashboard state directory, including settings.json and both SQLite databases.
  3. For Docker, check the project name and the dashboard-state volume in use.
  4. Update one representative agent first or test in a staging instance.

Docker Compose

bash
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 -d

Prefer a fixed release tag for production deployments. If you retain the existing Compose project name, the existing history and password are reused.

Native installation

bash
cd /opt/nodesentinel
git pull --ff-only
go build -o bin/nodesentinel ./cmd/nodesentinel
sudo systemctl restart nodesentinel.service
sudo systemctl restart nodesentinel-agent.service

A 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; older HOMELAB_* 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_NAME to 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 push and point the agent to the appropriate wss:// address.