Old thread, but I have experienced this twice past month. I have been using emoncms on an RPI3b+ without any issues whatsoever from January to November 2019. I think it has been rebooted once, maybe. Then I swithced to a new Emonpi (bought in 2019). After about one or two weeks something suddenly crashed during the night, making it impossible to log into it (some overflow error appeared). I rebooted it by using the button on the emonpi to shut it down, then cycle power and everything looked good when it rebooted. Now, one week and a few hours after the first incident, it happened again yesterday morning. Same procedure with shutdown/reboot/power cycle and now ok.
During the problem period, data becomes garbled. The CT data are restored, since they are logged using Iotawatt, which will hold the data and fill up the emoncms db once up and running again. But - the calculated data becomes garbled for the period between the crash and reboot. For example. power calculations become very high and this obviously disturbs the statistics.
My primary concern is however that the entire setup is unstable. I am away in periods, and cannot rely on physically be there to recycle power every 7 days…
Is there any way to track down the root cause (I am a real newbie to linux/RPI)? Is this error known?
#### 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 | 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.14.71-v7+ Host emonpi | emonpi | (xx.xx.xx.xx) Date 2019-12-02 09:30:40 CET Uptime 09:30:40 up 14:54, 1 user, load average: 0.35, 0.17, 0.12 #### HTTP Server Apache/2.4.25 (Raspbian) HTTP/1.1 CGI/1.1 80 #### MYSQL Version 5.5.5-10.1.23-MariaDB-9+deb9u1 Host localhost:6379 (127.0.0.1) Date 2019-12-02 09:30:40 (UTC 01:00) Stats Uptime: 53746 Threads: 2 Questions: 55840 Slow queries: 0 Opens: 27 Flush tables: 1 Open tables: 21 Queries per second avg: 1.038 #### REDIS Version Redis Server 3.2.6 PHP Redis 4.1.1 Host localhost:XXXX Size 427 keys (824.08K)Flush Uptime 0 days #### PI Model Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK) RebootShutdown Serial num. 56D9027C Temperature 51.54°C - 51.5°C emonpiRelease emonSD-30Oct18 File-system **read-write**