If I got to /emoncms/input/view
I just get a loading icon in front of a blank page.
Feeds haven’t updated in 20 hours.
I noticed logs were really out of date yesterday, and a df -h
showed why, /var/logs/
is 100% full with syslog
and daemon.log
both taking up around 22MB.
If I do a sudo reboot
the Pi doesn’t always reboot all that well, and I need to pull the power, wait a bit then plug it back in again. From the start /var/log
sits at 10%, but within the hour it’s at 100%.
MQTT is running, and I’ve restarted mqtt_input
but I notice when doing status it shows:
Sep 25 12:04:44 emonpi systemd[1]: Started Emoncms MQTT Input Script.
Sep 25 12:04:45 emonpi mqtt_input[14725]: PHP Fatal error: Call to a member function fetch_object() on boolean in /var/www/emoncms/Modules/input/input_model.php on line 377
Sep 25 12:04:45 emonpi mqtt_input[14725]: Fatal error: Call to a member function fetch_object() on boolean in /var/www/emoncms/Modules/input/input_model.php on line 377
I did run an emonPi and emonBase Update yesterday, when I go to update dabatase I get the following:
Notice: Trying to get property of non-object in /var/www/emoncms/Lib/dbschemasetup.php on line 41
Along with the following updates, which never apply:
Database schema
ALTER TABLE `input` ADD `id` int(11) NOT NULL;
ALTER TABLE `input` ADD `userid` int(11) NOT NULL;
ALTER TABLE `input` ADD `name` text NOT NULL;
ALTER TABLE `input` ADD `description` text NOT NULL DEFAULT '';
ALTER TABLE `input` ADD `nodeid` text NOT NULL;
ALTER TABLE `input` ADD `processList` text NOT NULL;
ALTER TABLE `input` ADD `time` int(10) NOT NULL;
ALTER TABLE `input` ADD `value` float NOT NULL;
I did notice in the emonhub logs it had difficulty connecting to MQTT at first, then it was fine but after publishing values, RFM2PI talks of unreliable content:
2017-09-25 07:24:53,145 DEBUG MQTT Publishing: emon/emonth6/temperature 18.1
2017-09-25 07:24:53,147 DEBUG MQTT Publishing: emon/emonth6/external temperature 0
2017-09-25 07:24:53,148 DEBUG MQTT Publishing: emon/emonth6/humidity 77.3
2017-09-25 07:24:53,150 DEBUG MQTT Publishing: emon/emonth6/battery 2.4
2017-09-25 07:24:53,151 DEBUG MQTT Publishing: emon/emonth6/pulsecount 1
2017-09-25 07:24:53,152 INFO MQTT Publishing: emon/emonth6/rssi -65
2017-09-25 07:24:53,154 INFO MQTT Publishing: emonhub/rx/24/values 18.1,0,77.3,2.4,1
2017-09-25 07:24:53,156 INFO MQTT Publishing: emonhub/rx/24/rssi -65
2017-09-25 07:24:54,294 DEBUG RFM2Pi Discarding RX frame 'unreliable content'? 2 219 97 245 76 219 132 105 195 181 129 60 197 184 217 61 7 171 79 98 159 (-96)
2017-09-25 07:24:54,502 DEBUG RFM2Pi Discarding RX frame 'unreliable content'? 0 174 23 155 220 196 161 203 36 185 199 55 208 89 200 132 131 14 122 56 230 (-87)
2017-09-25 07:24:54,911 DEBUG RFM2Pi Discarding RX frame 'unreliable content'? 26 68 251 129 189 4 140 96 189 39 149 185 218 134 114 118 184 245 214 255 81 (-97)
2017-09-25 07:24:55,425 DEBUG RFM2Pi Discarding RX frame 'unreliable content'? 19 71 67 121 153 22 140 3 12 212 91 250 240 200 191 68 27 227 150 241 24 (-96)
2017-09-25 07:24:56,246 DEBUG RFM2Pi 11 NEW FRAME : OK 8 0 0 0 0 0 0 0 0 49 103 184 11 184 11 184 11 184 11 184 11 184 11 205 229 1 0 (-66)
2017-09-25 07:24:56,249 DEBUG RFM2Pi 11 Timestamp : 1506317096.25
2017-09-25 07:24:56,250 DEBUG RFM2Pi 11 From Node : 8
2017-09-25 07:24:56,253 DEBUG RFM2Pi 11 Values : [0, 0, 0, 0, 264.17, 300, 300, 300, 300, 300, 300, 124365]
2017-09-25 07:24:56,257 DEBUG RFM2Pi 11 RSSI : -66
2017-09-25 07:24:56,258 DEBUG RFM2Pi 11 Sent to channel(start)' : ToEmonCMS
2017-09-25 07:24:56,259 DEBUG RFM2Pi 11 Sent to channel(end)' : ToEmonCMS
I’m at a complete loss on how to move forward, or what the underlying issue(s) might be, any help would be gratefully appreciated!