wheeto
(Tony W)
1
Hello,
At about 0100 in the morning a few days ago my emonpi stopped logging data. The time of day suggests it wasn’t something I did / knocked etc. Disk space etc all looks fine, and a reboot hasn’t fixed the issue. Any suggestions?
Server Information
Server Information
Services
-
emonhub :- Active Running
-
emoncms_mqtt :- Active Running
-
feedwriter :- Active Running - sleep 300s 0 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 11.0.5
-
Git :-
-
Components :- Emoncms Core v11.0.5 | App v2.5.1 | EmonHub Config v2.1.1 | Dashboard v2.2.2 | Device v2.1.7 | Graph v2.1.6 | Network Setup v1.0.2 | WiFi v2.1.1 | Backup v2.3.2 | DemandShaper v2.2.2 | Postprocess v2.2.4 | Sync v2.1.3 | Usefulscripts v2.3.9 | EmonScripts v1.4.1 | RFM2Pi v1.4.1 | Avrdude-rpi v1.0.0 | Emonhub v2.3.2 | EmonPi v2.9.5
Server
-
CPU :- 1 Threads(s) | 4 Core(s) | 1 Sockets(s) | Cortex-A53 | 76.80MIPS |
-
OS :- Linux 5.10.17-v7+
-
Host :- emonpi | emonpi | (10.16.0.176)
-
Date :- 2022-10-22 09:56:48 BST
-
Uptime :- 09:56:48 up 1:06, 0 users, load average: 0.25, 0.11, 0.03
Memory
-
RAM :- Used: 17.64%
-
Total :- 924.21 MB
-
Used :- 163.07 MB
-
Free :- 761.14 MB
-
Swap :- Used: 0.00%
-
Total :- 100 MB
-
Used :- 0 B
-
Free :- 100 MB
Disk
- **** :- - / :- Used: 49.40%
-
Total :- 4.07 GB
-
Used :- 2.01 GB
-
Free :- 1.86 GB
-
Read Load :- n/a
-
Write Load :- n/a
-
Load Time :- n/a
-
/var/opt/emoncms :- Used: 0.79%
-
Total :- 9.84 GB
-
Used :- 79.99 MB
-
Free :- 9.26 GB
-
Read Load :- n/a
-
Write Load :- n/a
-
Load Time :- n/a
-
/boot :- Used: 19.23%
-
Total :- 252.05 MB
-
Used :- 48.46 MB
-
Free :- 203.58 MB
-
Read Load :- n/a
-
Write Load :- n/a
-
Load Time :- n/a
-
/var/log :- Used: 6.59%
-
Total :- 50 MB
-
Used :- 3.3 MB
-
Free :- 46.7 MB
-
Read Load :- n/a
-
Write Load :- n/a
-
Load Time :- n/a
HTTP
-
Server :- Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80
MySQL
-
Version :- 5.5.5-10.3.29-MariaDB-0+deb10u1
-
Host :- 127.0.0.1 (127.0.0.1)
-
Date :- 2022-10-22 09:56:47 (UTC 01:00)
-
Stats :- Uptime: 4004 Threads: 12 Questions: 405 Slow queries: 0 Opens: 47 Flush tables: 1 Open tables: 40 Queries per second avg: 0.101
Redis
-
Version :-
-
Redis Server :- 5.0.3
-
PHP Redis :- 5.3.4
-
Host :- localhost:6379
-
Size :- 240 keys (754.52K)
-
Uptime :- 0 days
MQTT Server
-
Version :- Mosquitto 1.5.7
-
Host :- localhost:1883 (127.0.0.1)
PHP
-
Version :- 7.3.29-1~deb10u1 (Zend Version 3.3.29)
-
Run user :- User: www-data Group: www-data video Script Owner: pi
-
Modules :- apache2handlercalendar Core ctype curl date dom v20031129exif fileinfo filter ftp gd gettext hash iconv json v1.7.0libxml mbstring mosquitto v0.4.0mysqli mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $openssl pcre PDO pdo_mysql Phar posix readline redis v5.3.4Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib
Pi
-
Model :- Raspberry Pi 3 Model B Rev 1.2 - 1GB (Sony UK)
-
Serial num. :- 88F0AA12
-
CPU Temperature :- 42.93°C
-
GPU Temperature :- 42.9°C
-
emonpiRelease :- emonSD-21Jul21
-
File-system :- read-write
Client Information
Client Information
HTTP
-
Browser :- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
-
Language :- en-GB,en-US;q=0.9,en;q=0.8
Window
Screen
-
Resolution :- 3840 x 2160
[Image needed a blank line above - Moderator (RW)]
borpin
(Brian Orpin)
3
Is it just an EmonPi from the shop, noting added or removed?
Can you please post a portion of the emonhub (menu option on LHS), please?
[edit]
Have you run an update or anything else happened such as a power cut, lightning?
wheeto
(Tony W)
4
Hello! Thanks for the reply. Whilst a reboot didn’t work, a shutdown, power pull, restart seems to have done the trick, so it seems it was not an issue with the Pi side.
Just for info, no - no updates, no power issues (and the 5v transformer is on an online (so pure sine wave) UPS) and nothing else I can think of.
Is there any data I can provide you to help troubleshoot for other users, or shall I consider this “closed” unless it happens again?
Cheers again,
borpin
(Brian Orpin)
5
Unless you pull the logs (there should be a weeks worth I think in the logs folder) it is pretty difficult to dig any deeper. Probably just one of those things.
Yes, complete removal of power does sometimes reset things completely.
wheeto
(Tony W)
6
I’ve just scp’d the /var/log dir and am happy to send if you think you’d learn anything from it?
borpin
(Brian Orpin)
7
Sorry, no I haven’t got the time to scan for a random error 