Troubleshooting

Common symptoms

Symptom Likely cause
Node cannot ping or route to any other tailnet peer --tun=userspace-networking is set in /etc/default/tailscaled. Remove it (section 3.1)
A client’s traffic to the main site’s LAN breaks after IP forwarding is enabled, SSH stays up The node still advertises a subnet route. Clear it with sudo tailscale up --reset --advertise-routes= (section 3.1)
Node drops off the tailnet after months Key expiry was not disabled in the admin console
pip refuses with “externally-managed-environment” Missing --break-system-packages (section 3.2)
A service starts, then dies immediately /etc/energy-node/config.json or mqtt.pw is missing or unreadable for group energynode. Services refuse to start without it on purpose
Services run an old version of the shared package The wheel was installed for a different interpreter than the unit’s /usr/bin/python3; reinstall and systemctl restart the services
Devices show as unavailable in Home Assistant, no errors in the log Check that the bridge actually connected to the broker. The bridges only log paho’s internal callback exceptions because enable_logger() is on
Dashboard reachable but admin login rejected Admin sessions require HTTPS. Use the Caddy endpoint instead of port 8080
Occasional freezes or throttling on a Pi 1 Power supply. Watch the node’s own undervoltage sensor

Diagnosing with the installer

The desktop installer reads the node’s state and explains what it finds. See Diagnosing a node.

Home Assistant integrations

Written for Energy Node v0.9.0.

Edit on GitHub