Netdata Community

Periodically Netdata will not restart after a nightly update

The Netdata update script is run as part of the daily anacron jobs:

/etc/cron.daily/0anacron
....
/etc/cron.daily/netdata-updater

Periodically when I load my browser in the morning Ubuntu Firefox 84.0, I get a 'cannot connect to http://192.168.0.220:19999 and I have to restart Netdata like this:

sudo systemctl restart netdata

As an example of it not starting:

Jan  2 08:20:13 localhost systemd[1]: Starting Real time performance monitoring...
Jan  2 08:20:13 localhost systemd[1]: Started Real time performance monitoring.
Jan  2 08:20:13 localhost systemd[1]: Stopping Real time performance monitoring...
Jan  2 08:20:13 localhost systemd[1]: netdata.service: Succeeded.
Jan  2 08:20:13 localhost systemd[1]: Stopped Real time performance monitoring.

Jan  2 08:20:19 localhost systemd[1]: anacron.service: Killing process 1281893 (netdata) with signal SIGKILL.
Jan  2 08:20:19 localhost systemd[1]: anacron.service: Killing process 1281896 (netdata) with signal SIGKILL.
Jan  2 08:20:19 localhost systemd[1]: anacron.service: Killing process 1281895 (DAEMON_SPAWN) with signal SIGKILL.
Jan  2 08:20:19 localhost systemd[1]: anacron.service: Killing process 1281900 (netdata) with signal SIGKILL.

An example of it restarting correctly:

Jan  1 08:05:36 localhost systemd[1]: Stopping Real time performance monitoring...
Jan  1 08:05:37 localhost systemd[1]: apt-daily.service: Succeeded.
Jan  1 08:05:37 localhost systemd[1]: Finished Daily apt download activities.
Jan  1 08:05:38 localhost systemd[1]: netdata.service: Succeeded.
Jan  1 08:05:38 localhost systemd[1]: Stopped Real time performance monitoring.
Jan  1 08:05:43 localhost systemd[1]: Starting Real time performance monitoring...
Jan  1 08:05:43 localhost systemd[1]: Started Real time performance monitoring.

The above notations such as those at Jan 2 08:20:19 are not present when Netdata starts correctly after an update.