I'm lost where you are in the process. Let's take it from the top:

1. Stop weewx

*sudo systemctl stop weewx*


2. Clear the memory of your logger

*sudo wee_device --clear-memory*


3. Delete the daily summaries. Normally this step isn't necessary, but
yours seems to have gotten messed up somehow.

*sudo wee_database --drop-daily*


4. Rebuild the daily summaries. Depending on the size of your database,
this could take a little time.

*sudo wee_database --rebuild-daily*


5. Restart weewx

*sudo systemctl start weewx*


-tk

On Mon, Jul 8, 2019 at 6:08 AM Eric Gammeter <[email protected]> wrote:

> Still at this...  Is there any way to determine the last-good db record
> and then delete everything after that in order to salvage my WX year
> history?
>
>
> root@raspberrypi:/var/lib/weewx# /etc/init.d/weewx status
> ● weewx.service - LSB: weewx weather system
>    Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
>    Active: active (exited) since Mon 2019-07-08 08:52:59 EDT; 10min ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 2872 ExecStop=/etc/init.d/weewx stop (code=exited,
> status=0/SUCCESS)
>   Process: 3049 ExecStart=/etc/init.d/weewx start (code=exited,
> status=0/SUCCESS)
>
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 142, in loadServices
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****
> self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 500, in __init__
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****
> self.setup_database(config_dict)
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 617, in setup_database
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****      _nrecs, _ndays =
> dbmanager.backfill_day_summary() # @UnusedVariable
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****    File
> "/usr/share/weewx/weewx/manager.py", line 1447, in backfill_day_summary
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****
> timestamp_to_string(lastRecord)))
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****  ViolatedPrecondition:
> lastUpdate(2036-08-06 20:22:00 EDT (2101681320)) > lastRecord(2019-07-01
> 00:00:00 EDT (1561953600))
> Jul 08 08:53:00 raspberrypi weewx[3064]:     ****  Exiting.
> root@raspberrypi:/var/lib/weewx#
>
>
>
>
>
>
>
>
>
>
> On Friday, July 5, 2019 at 3:58:01 PM UTC-4, Eric Gammeter wrote:
>>
>> Hi-  My INDEX.HTML file is being produced each half hour as it should
>> be...but the timestamp (in the file) is incorrect!  The report (attached)
>> shows it is 8/6/2036 @ 08:22:00PM.
>>
>> I can see that the reports fire off every 30 mins- and that a new
>> (correct time stamp) INDEX.HTML file is created in the /var/www/html/weewx
>> filesystem-- but that file's info is incorrect.
>>
>> I tested (with minicom) and that TEST's fine.
>>
>> I have shutdown and rebooted the VantageVue station to no avail.
>>
>> Thanks for reading!
>>
>> /Eric
>>
> --
> 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/8cfcd9af-70cc-4f05-8af2-cb4633c921a3%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/8cfcd9af-70cc-4f05-8af2-cb4633c921a3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEA19kszLAGPPjNSEgK7Cn71QZc3qMvMj4gmhNNcCyT2Mw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to