Update 

I stopped weewx
renamed the database to weewx.sdb.old
restarted weewx

Weewx started backfilling the new database with records. So I guess the 
problem is with a corrupt database. I have a backup taken 3 hours before 
the ups failed. Can I just copy this and restart?

I'm really sorry if I am asking a series of dumb questions. I'm getting old 
and was not good at this when I was young!!!


On Sunday, 11 December 2022 at 10:38:30 UTC+2 Robin wrote:

> Forgot to say 
>
> WeeWX v3.8.0
> Vantage Pro2 weather station
>
> On Sunday, 11 December 2022 at 10:36:52 UTC+2 Robin wrote:
>
>> We had a 12 hour power cut last night. The battery backup ran out and the 
>> RPi stopped without being shutdown.
>>
>> I reconnected to a different ups about 10 hours later. Power back on 
>> about 2 hours after this. Nodata is being collected and the web pages are 
>> not updating.
>>
>> I stopped weewx and shut the RPI down. Restart looks normal but no 
>> change. Stopped/started weewx, no change.
>>
>> I have put the syslog entry from the stop/restart below.
>>
>> Any thoughts? Weewx has run without me touching it for a couple of years 
>> and I can't remember most of what I learnt to set it up!
>>
>>
>> Dec 11 10:23:28 MWS weewx[723]: restx: WeatherCloud: service version is 
>> 0.11
>>
>> Dec 11 10:23:28 MWS weewx[723]: restx: WeatherCloud: Data will be 
>> uploaded for id=#####
>>
>> Dec 11 10:23:28 MWS weewx[723]: restx: OWM: service version is 0.7
>>
>> Dec 11 10:23:28 MWS weewx[723]: restx: OWM: Data will be uploaded for ####
>>
>> Dec 11 10:23:28 MWS weewx[723]: restx: Windy: version is 0.6
>>
>> Dec 11 10:23:29 MWS weewx[723]: restx: Windy: Data will be uploaded to 
>> https://stations.windy.com/pws/update
>>
>> Dec 11 10:23:29 MWS weewx[723]: lowBattery: No alarm set.  Missing 
>> parameter: 'Alarm'
>>
>> Dec 11 10:23:29 MWS weewx[723]: engine: Starting up weewx version 3.8.0
>>
>> Dec 11 10:23:29 MWS weewx[723]: engine: Clock error is -4.33 seconds 
>> (positive is fast)
>>
>> Dec 11 10:23:29 MWS weewx[723]: engine: Starting main packet loop.
>>
>> Dec 11 10:25:01 MWS CRON[751]: (root) CMD (/usr/bin/webcam.sh >/dev/null 
>> 2>&1)
>>
>> Dec 11 10:25:07 MWS root: Webcam image captured
>>
>> Dec 11 10:25:10 MWS root: webcam image complete
>>
>> Dec 11 10:26:11 MWS weewx[723]: cheetahgenerator: Generated 22 files for 
>> report StandardReport in 54.55 seconds
>>
>> Dec 11 10:26:20 MWS weewx[723]: imagegenerator: Generated 12 images for 
>> StandardReport in 8.99 seconds
>>
>> Dec 11 10:26:21 MWS weewx[723]: copygenerator: copied 13 files to 
>> /var/www/weewx
>>
>> Dec 11 10:26:27 MWS weewx[723]: historygenerator.pyc: Generated 8 tables 
>> in 5.68 seconds
>>
>> Dec 11 10:26:29 MWS weewx[723]: cheetahgenerator: Generated 2 files for 
>> report HTMLPages in 8.42 seconds
>>
>> Dec 11 10:26:29 MWS weewx[723]: copygenerator: copied 3 files to 
>> /var/www/weewx/Bootstrap
>>
>> Dec 11 10:26:31 MWS weewx[723]: rsyncupload: rsync'd 53 files (734,285 
>> bytes) in 1.64 seconds
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/886d2da8-6bb9-4e2e-ae0a-bf25b0ba0ce2n%40googlegroups.com.

Reply via email to