emonPi hangs and stops logging

At http://emonpi.local/emoncms/input/view
I see no blue or red blocks. All the Inputs are present and correct, I see none that are not updating, I see no weird values, I see no duplications.

/var/log/emoncms.log

2018-03-21 07:51:32.957|ERROR|phpmqtt_input.php|exception 'Mosquitto\Exception' in /var/www/emoncms/scripts/phpmqtt_input.php:125
Stack trace:
#0 /var/www/emoncms/scripts/phpmqtt_input.php(125): Mosquitto\Client->connect('localhost', 1883, 5)
#1 {main}
2018-03-21 07:51:32.976|WARN|phpmqtt_input.php|Not connected, retrying connection
2018-03-21 07:51:38.002|WARN|phpmqtt_input.php|Not connected, retrying connection
2018-03-21 07:51:38.004|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
2018-03-21 07:51:46.866|WARN|phpmqtt_input.php|Not connected, retrying connection
2018-03-21 07:51:46.889|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
2018-03-22 12:10:35.390|WARN|phpmqtt_input.php|Not connected, retrying connection
2018-03-22 12:10:35.415|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0

/$ sudo systemctl status feedwriter

/$ sudo systemctl status feedwriter
feedwriter.service - LSB: feedwriter script daemon
Loaded: loaded (/etc/init.d/feedwriter)
Active: active (running) since Wed 2018-03-21 07:51:33 UTC; 1 day 4h ago
Process: 1663 ExecStart=/etc/init.d/feedwriter start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/feedwriter.service
           └─1851 /usr/bin/php -f /var/www/emoncms/scripts/feedwriter.php

Mar 21 07:17:22 emonpi feedwriter[1663]: Log is turned off
Mar 21 07:17:22 emonpi feedwriter[1663]: Starting RPI
Mar 21 07:51:33 emonpi systemd[1]: Started LSB: feedwriter script daemon.

/$ df -h

/$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.4G  2.0G  1.2G  63% /
devtmpfs        481M     0  481M   0% /dev
tmpfs           486M     0  486M   0% /dev/shm
tmpfs           486M   19M  467M   4% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           486M     0  486M   0% /sys/fs/cgroup
tmpfs            40M  6.6M   34M  17% /var/lib/openhab
tmpfs           1.0M  4.0K 1020K   1% /var/lib/dhcpcd5
tmpfs           1.0M  4.0K 1020K   1% /var/lib/dhcp
tmpfs            50M  5.3M   45M  11% /var/log
tmpfs            30M   36K   30M   1% /tmp
/dev/mmcblk0p1   60M   22M   39M  37% /boot
/dev/mmcblk0p3  969M   97M  823M  11% /home/pi/data

/$ sudo systemctl status mqtt_input

/$ sudo systemctl status mqtt_input
mqtt_input.service - Emoncms MQTT Input Script
Loaded: loaded (/etc/systemd/system/mqtt_input.service; enabled)
Active: active (running) since Wed 2018-03-21 07:51:44 UTC; 1 day 4h ago
Docs: https://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md
Main PID: 1993 (php)
CGroup: /system.slice/mqtt_input.service
           └─1993 /usr/bin/php /var/www/emoncms/scripts/phpmqtt_input.php

Mar 21 07:51:44 emonpi systemd[1]: Started Emoncms MQTT Input Script.
/$ sudo systemctl stop mqtt_input
/$ sudo systemctl start mqtt_input

Did you go through the setup process? Although some of the config will come across, I’d expect some of the system configurations to need updating.

I am going to send this message and then check to see…