After a power outage today, the emonpi rebooted, but EmonHub gives me the following error:
2019-12-20 12:39:07,679 CRITICAL MainThread Error parsing config file "/etc/emonhub/emonhub.conf": Parsing failed with several errors.
First error at line 243.
The emonhub.conf line 243-252 are as follows:
[[5]]
nodename = emonPi
firmware = emonPi_RFM69CW_RF12Demo_DiscreteSampling.ino
hardware = emonpi
[[[rx]]]
names = power1,power2,power1_plus_power2,Vrms,T1,T2,T3,T4,T5,T6,pulseCount
datacodes = h, h, h, h, h, h, h, h, h, h, L
scales = 1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
units = W,W,W,V,C,C,C,C,C,C,p
All feeds from the emonpi and the two IotaWatts (which are both working fine) are either delayed in time or marked as inactive in the feed list. These are the last two entries in the emoncms log:
2019-12-20 11:35:49.772|WARN|PHPFina.php|post_bulk_prepare() timestamp=1546892260 older than feed starttime=1574030360 feedid=120
2019-12-20 11:35:49.772|WARN|PHPFina.php|post_bulk_prepare() timestamp=1546892270 older tha
I have pasted the server info below. The SD card is only a few days old, and I created an image from the Oct19 version. Rebooting did not help, I have not tried cycling power yet.
Any suggestions?
Server Information
-----------------------
Services
emonhub : Failed Failed
emoncms_mqtt : Active Running
feedwriter : Active Running - sleep 300s 63566 feed points pending write
service-runner : Active Running
emonPiLCD : Active Running
redis-server : Active Running
mosquitto : Active Running
demandshaper : Active Running
Emoncms
Version : low-write 10.1.13
Modules : Administration | App v2.0.9 | Backup v2.1.7 | EmonHub Config v2.0.4 | Dashboard v2.0.5 | DemandShaper v1.1.0 | Device v2.0.3 | EventProcesses | Feed | Graph v2.0.6 | Input | Postprocess v2.1.2 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.2
Git :
URL : https://github.com/emoncms/emoncms.git
Branch : * stable
Describe : 10.1.11-7-g90f39158
Server
OS : Linux 4.19.75-v7+
Host : emonpi | emonpi | (192.168.1.132)
Date : 2019-12-20 12:52:24 UTC
Uptime : 12:52:24 up 13 min, 0 users, load average: 0.75, 0.78, 0.54
Memory
RAM : Used: 18.65%
Total : 975.62 MB
Used : 181.99 MB
Free : 793.63 MB
Swap : Used: 0.00%
Total : 100 MB
Used : 0 B
Free : 100 MB
Write Load Period
Disk
/ : Used: 48.48%
Total : 3.92 GB
Used : 1.9 GB
Free : 1.83 GB
Write Load : 117.33 B/s (6 mins)
/var/opt/emoncms : Used: 0.88%
Total : 9.98 GB
Used : 90.29 MB
Free : 9.38 GB
Write Load : 0 B/s (6 mins)
/boot : Used: 20.55%
Total : 252.05 MB
Used : 51.79 MB
Free : 200.25 MB
Write Load : 0 B/s (6 mins)
/var/log : Used: 100.00%
Total : 50 MB
Used : 50 MB
Free : 0 B
Write Load : n/a
HTTP
Server : Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80
MySQL
Version : 5.5.5-10.3.17-MariaDB-0+deb10u1
Host : localhost:6379 (127.0.0.1)
Date : 2019-12-20 12:52:23 (UTC 00:00āā)
Stats : Uptime: 831 Threads: 13 Questions: 5329 Slow queries: 0 Opens: 49 Flush tables: 1 Open tables: 43 Queries per second avg: 6.412
Redis
Version :
Redis Server : 5.0.3
PHP Redis : 5.0.2
Host : localhost:6379
Size : 407 keys (6.70M)
Uptime : 0 days
MQTT Server
Version : Mosquitto 1.5.7
Host : localhost:1883 (127.0.0.1)
PHP
Version : 7.3.9-1~deb10u1 (Zend Version 3.3.9)
Modules : apache2handler | calendar v7.3.9-1~deb10u1 | Core v7.3.9-1~deb10u1 | ctype v7.3.9-1~deb10u1 | curl v7.3.9-1~deb10u1 | date v7.3.9-1~deb10u1 | dom v20031129 | exif v7.3.9-1~deb10u1 | fileinfo v7.3.9-1~deb10u1 | filter v7.3.9-1~deb10u1 | ftp v7.3.9-1~deb10u1 | gd v7.3.9-1~deb10u1 | gettext v7.3.9-1~deb10u1 | hash v7.3.9-1~deb10u1 | iconv v7.3.9-1~deb10u1 | json v1.7.0 | libxml v7.3.9-1~deb10u1 | mbstring v7.3.9-1~deb10u1 | mosquitto v0.4.0 | mysqli v7.3.9-1~deb10u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ | openssl v7.3.9-1~deb10u1 | pcre v7.3.9-1~deb10u1 | PDO v7.3.9-1~deb10u1 | pdo_mysql v7.3.9-1~deb10u1 | Phar v7.3.9-1~deb10u1 | posix v7.3.9-1~deb10u1 | readline v7.3.9-1~deb10u1 | redis v5.0.2 | Reflection v7.3.9-1~deb10u1 | session v7.3.9-1~deb10u1 | shmop v7.3.9-1~deb10u1 | SimpleXML v7.3.9-1~deb10u1 | sockets v7.3.9-1~deb10u1 | sodium v7.3.9-1~deb10u1 | SPL v7.3.9-1~deb10u1 | standard v7.3.9-1~deb10u1 | sysvmsg v7.3.9-1~deb10u1 | sysvsem v7.3.9-1~deb10u1 | sysvshm v7.3.9-1~deb10u1 | tokenizer v7.3.9-1~deb10u1 | wddx v7.3.9-1~deb10u1 | xml v7.3.9-1~deb10u1 | xmlreader v7.3.9-1~deb10u1 | xmlwriter v7.3.9-1~deb10u1 | xsl v7.3.9-1~deb10u1 | Zend OPcache v7.3.9-1~deb10u1 | zlib v7.3.9-1~deb10u1
Pi
Model : Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)
Serial num. : 56D9027C
Temperature : 59.07Ā°C - 59.1Ā°C
emonpiRelease : emonSD-17Oct19
File-system : read-write
Client Information
-----------------------
HTTP
Browser : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Language : nb-NO,nb;q=0.9,no;q=0.8,nn;q=0.7,en-US;q=0.6,en;q=0.5,da;q=0.4