Wratty
(Justin)
1
My emonpi has died. Before I get going, I should set the scene. I am the least able person ever, so if you offer advice, assume you will have to tell me how to do every.single.step.line.by.line.
Components
Emoncms Core v11.3.0 | App v2.6.10 | EmonHub Config v2.1.5 | Dashboard v2.3.3 | Device v2.2.2 | Graph v2.2.3 | Network Setup v1.0.2 | WiFi v2.1.1 | Backup v2.3.2 | DemandShaper v2.2.2 | Postprocess v2.2.7 | Sync v2.1.4 | Usefulscripts v2.3.10 | Avrdude-rpi v1.0.0 | Emonhub v2.5.5 | EmonPi v2.9.5 | EmonScripts v1.6.7 | RFM2Pi v1.4.1
CPU
1 Threads(s) | 4 Core(s) | 1 Sockets(s) | Cortex-A53 | 76.80MIPS |
OS
Linux 5.10.17-v7+
Host
emonpi | emonpi | (172.17.17.11)
Date
2023-02-27 16:44:52 UTC
Uptime
16:44:52 up 16 min, 0 users, load average: 0.93, 1.73, 1.50
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
2023-02-27 16:44:51 (UTC 00:00)
Stats
Uptime: 1327 Threads: 17 Questions: 6546 Slow queries: 0 Opens: 89 Flush tables: 1 Open tables: 41 Queries per second avg: 4.932
Services
emonhub
Activating loaded activating auto-restart
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
Emonhub doesnt seem to want to start, and I get inactive in all the feeds. It was working until 43hrs ago it seems.
I have software restarted
Hard restart (power cable out for 1min)
updated to the latest full update.
Nothing seems to make it start.
Its a fairly new SD card, bought coomplete from the store.
Im at a total loss.
borpin
(Brian Orpin)
2
Hi,
Firstly what has changed? Power cut, Power spike?
Can you SSH into the emonPi?
[edit]
On the admin page, click on ‘Copy as markdown’ and paste that into a reply (no further formatting required)

Wratty
(Justin)
3
Hi. Nothing I know of, we havent had a power cut, no spike that I know of.
However, in my panic of OMG NOT MY EMONPI… I think I have fixed it… I found a back up I took when i moved onto the new SDcard and uploaded it, and that seems to have worked.
Sorry for being such a dumb***se
borpin
(Brian Orpin)
4
You might not have fixed the problem, just the symptom and you have lost all the data since then as well.
Wratty
(Justin)
5
Yeah I have lost the data. But I dont think it was collecting it anyway? I pump it up to .org so I am only missing 48hrs. Anything you would suggest to look into the cause? Or have I goosed the chance?
borpin
(Brian Orpin)
6
Next time check and see if the log partition is full (from the admin page).