Hi,

Stop weeWX and rebuild your daily summaries:

wee_database --rebuild-daily

Gary



On Monday, 22 May 2017 08:13:40 UTC+10, tds wrote:
>
> I just realized that weewx had stopped inserting new records into database 
> for about a week, even though the loop data was OK (and that's why I hadn't 
> noticed the problem earlier as the RapidFire was still working). 
>
> Further examination has revealed the following message:
>
> ● weewx.service - LSB: weewx weather system
>    Loaded: loaded (/etc/init.d/weewx)
>    Active: active (exited) since Sun 2017-05-21 15:04:25 PDT; 1s ago
>   Process: 1219 ExecStop=/etc/init.d/weewx stop (code=exited, 
> status=0/SUCCESS)
>   Process: 1237 ExecStart=/etc/init.d/weewx start (code=exited, 
> status=0/SUCCESS)
>
> May 21 15:04:25 wxpi weewx[1251]: ****    File 
> "/usr/share/weewx/weewx/engine.py", line 141, in loadServices
> May 21 15:04:25 wxpi weewx[1251]: ****     
>  self.service_obj.append(weeutil.weeutil._get_object(svc)(self, 
> config_dict))
> May 21 15:04:25 wxpi weewx[1251]: ****    File 
> "/usr/share/weewx/weewx/engine.py", line 491, in __init__
> May 21 15:04:25 wxpi weewx[1251]: ****     
>  self.setup_database(config_dict)
> May 21 15:04:25 wxpi weewx[1251]: ****    File 
> "/usr/share/weewx/weewx/engine.py", line 604, in setup_database
> May 21 15:04:25 wxpi weewx[1251]: ****      _nrecs, _ndays = 
> dbmanager.backfill_day_summary() # @UnusedVariable
> May 21 15:04:25 wxpi weewx[1251]: ****    File 
> "/usr/share/weewx/weewx/manager.py", line 1411, in backfill_day_summary
> May 21 15:04:25 wxpi weewx[1251]: ****     
>  timestamp_to_string(lastRecord)))
> May 21 15:04:25 wxpi weewx[1251]: ****  ViolatedPrecondition: 
> lastUpdate(2017-05-20 23:55:00 PDT (1495349700)) > lastRecord(2017-05-15 
> 20:15:00 PDT (1494904500))
> May 21 15:04:25 wxpi weewx[1251]: ****  Exiting.
>
> What can I do to fix this problem? 
>
> DS
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to