Hi to all,
I'm Sergio from Italy, I've started to build my own customized home monitoring system.
For starting my setup consists in a RasperryPI Emonbase with RFM12PI running Emoncms, Emontx (2nd unit ordered) and EmonGLCD.
I have configured Raspberry to log data locally on SD card and mirror data to my Emoncms.org account.
The system is up since two weeks of smooth working... but...
Today, after a power break (sorry, the ups for Emonbase will come shortly), I have noticed that the last two days of data are missing on Raspberry, but on Emoncms.org are ok.
After some investigation I've noticed that the Raspberry lose data if reboot. It's weird...
Moreover, now if I try to alter dashboard, rename inputs, feeds or so, after reboot every altered settings will be lose.
Seems like the MySql database is set in read-only mode. (I've checked the protection switch on SDcard, is unlocked)
Anyone can help me?
Thank you in advance. ;)
Sergio
Re: Emoncms on Raspberry stop to log data after power failure - lose data after reboot
I won't be of much help,here, but just to make it clear, apart from the power failure, you always do software reboot (sudo reboot or such), right ?
Re: Emoncms on Raspberry stop to log data after power failure - lose data after reboot
sudo reboot of course
Re: Emoncms on Raspberry stop to log data after power failure - lose data after reboot
Is the data being cached by the controller and not written out immediately to the SD card? I cannot believe it has cached two day's worth of data, though.
Re: Emoncms on Raspberry stop to log data after power failure - lose data after reboot
Is it only the database ?
What happens if you create a file on the SD card, then reboot ?