Hello everyone. First off, please pardon my ignorance of Linux. I was able to follow the wonderful instructions for setting up WeeWX on a RasPi running Debian Linux, but aside from what's written in the tutorials, my debugging skills are very primitive.
That said, I'm running WeeWX v3.7.1 on a RasPi model B using Debian pre-packaged install. Weather station is a Davis Vantage Pro with USB data logger. It has been running pretty much flawlessly for 3 years, generating reports every 10 minutes and uploading to a webpage. Occasionally, it'll stop updating, but restarting the RasPi always fixes it. The other day, we had a violent storm that knocked out power for 4 hours. When everything came back up, WeeWX wouldn't update no matter what I did.
What I've done:
- Checked WeeWX live connection to Vantage. Data is reporting properly every 2 seconds.
- Checked Vantage datalogger using Davis Weatherlink software. The logger has been recording data properly since the power came back on.
- Ran WeeWX reports manually. The image & text files update with a new timestamp, but no new data. The WeeWX server uptime on the HTML file also updates. Seems like the reports are generating correctly...just with no new data.
- Checked the weewx.sdb database file. The file's timestamp hasn't been updated since the power went out. This is where I think the problem is. For some reason, WeeWX is not adding new data to the database. Perhaps a corrupt database?
If that's the issue, I'm not sure what to do about repairing the database. I'd hate to lose 3 years worth of data by doing a clean re-install. And I'm reluctant to wipe the logger's memory, since I'd lose 2 days worth of data...and it's looking like the logger is working properly anyway.
Attached is a log file for a few archive cycles today. Thanks in advance for any help!!