I actually tried to diagnose the logger problem with WeatherLink
without success. wee_device to the rescue finally.

On Sun, May 21, 2017 at 4:36 PM, gjr80 <[email protected]> wrote:
> Yes, I should have read the log properly.
>
> May 21 15:50:16 wxpi weewx[1388]: vantage: DMPAFT complete: page timestamp
> 2017-05-12 18:05:00 PDT (1494637500) less than final timestamp 2017-05-21
> 15:15:00 PDT (1495404900)
>
> This one is quite different the original issue and is clearly a corrupt
> logger issue.
>
> Gary
>
> On Monday, 22 May 2017 09:31:05 UTC+10, tds wrote:
>>
>> I did and the problem remained. I end up stop the Vantage logger and
>> cleared its memory. It seemed working fine now.
>>
>>
>> On Sun, May 21, 2017 at 4:13 PM, gjr80 <[email protected]> wrote:
>> > Did you explicitly do a rebuild with wee_database ? If not please do a
>> > rebuild with wee_database.
>> >
>> > Gary
>> >
>> >
>> > On Monday, 22 May 2017 08:57:54 UTC+10, tds wrote:
>> >>
>> >> But it appears the problem I had initially (i.e., no record insertion
>> >> by
>> >> the manager) remains:
>> >>
>> >> May 21 15:50:14 wxpi weewx[1388]: vantage: Getting archive packets
>> >> since
>> >> 2017-05-21 15:15:00 PDT (1495404900)
>> >> May 21 15:50:14 wxpi weewx[1388]: vantage: gentle wake up of console
>> >> successful
>> >> May 21 15:50:16 wxpi weewx[1388]: vantage: Retrieving 513 page(s);
>> >> starting index= 1
>> >> May 21 15:50:16 wxpi weewx[1388]: vantage: DMPAFT complete: page
>> >> timestamp
>> >> 2017-05-12 18:05:00 PDT (1494637500) less than final timestamp
>> >> 2017-05-21
>> >> 15:15:00 PDT (1495404900)
>> >> May 21 15:50:16 wxpi weewx[1388]: vantage: Catch up complete.
>> >> May 21 15:50:16 wxpi weewx[1388]: reportengine: Running reports for
>> >> latest
>> >> time in the database.
>> >> May 21 15:50:16 wxpi weewx[1388]: vantage: Requesting 200 LOOP packets.
>> >> May 21 15:50:16 wxpi weewx[1388]: reportengine: Running report
>> >> StandardReport
>> >> May 21 15:50:16 wxpi weewx[1388]: vantage: gentle wake up of console
>> >> successful
>> >> May 21 15:50:16 wxpi weewx[1388]: reportengine: Found configuration
>> >> file
>> >> /etc/weewx/skins/Standard/skin.conf for report StandardReport
>> >> May 21 15:50:16 wxpi weewx[1388]: cheetahgenerator: using search list
>> >> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>> >> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>> >> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
>> >> May 21 15:50:16 wxpi weewx[1388]: manager: Daily summary version is 1.0
>> >> May 21 15:50:18 wxpi weewx[1388]: manager: Daily summary version is 1.0
>> >> May 21 15:50:19 wxpi weewx[1388]: reportengine: Running report FTP
>> >> May 21 15:50:19 wxpi weewx[1388]: reportengine: Found configuration
>> >> file
>> >> /etc/weewx/skins/Ftp/skin.conf for report FTP
>> >> May 21 15:50:19 wxpi weewx[1388]: ftpgenerator: FTP upload not
>> >> requested.
>> >> Skipped.
>> >> May 21 15:50:19 wxpi weewx[1388]: reportengine: Running report RSYNC
>> >> May 21 15:50:19 wxpi weewx[1388]: reportengine: Found configuration
>> >> file
>> >> /etc/weewx/skins/Rsync/skin.conf for report RSYNC
>> >>
>> >>
>> >> On Sunday, May 21, 2017 at 3:46:31 PM UTC-7, tds wrote:
>> >>>
>> >>> Thanks, Gary. I discovered the wee_import utility and back ported the
>> >>> data from Wunderground to Weewx and it also fixed my problem at the
>> >>> same
>> >>> time, as it rebuilds the daily summary too.
>> >>>
>> >>> On Sunday, May 21, 2017 at 3:28:12 PM UTC-7, gjr80 wrote:
>> >>>>
>> >>>> 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 a topic in the
>> > Google Groups "weewx-user" group.
>> > To unsubscribe from this topic, visit
>> > https://groups.google.com/d/topic/weewx-user/k74VJN33EAE/unsubscribe.
>> > To unsubscribe from this group and all its topics, send an email to
>> > [email protected].
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/k74VJN33EAE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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