raspberry pi

raspberry pi

The Raspberry Pi called Weatherpi, has been out of action the last few days. Turned out there were some power issues and in some fashion the database was corrupted with a bad datetimestamp in the future and nothing would upload after that.
After a lot of troubleshooting, including wiping the weather pi and reinstalling the Jessie Raspbian distribution and weewx package, and power cycling the davis vantage vue weather station receiver, the system is finally up and running again.

The last action seems to have been the decisive one, deleting the database file at /var/lib/weewx/weewx.sdb
The exact steps were something like this:
weather station receiver remained up and running
sudo service weewx stop
sudo rm /var/lib/weewx/weewx.sdb
sudo service weewx start
presto! up and running, creating local data and web files, uploading to the weather underground as well.

The raspberry pi is now also connected to a UPS (uninterruptible power supply) and hopefully will not have any more issues.