Thanks,
I had to change permissions on the file and directory.  I see the correct 
number of records now.  Now I need to figure out how to get the Belchertown 
skin records to use the entire database. 

On Thursday, June 8, 2023 at 4:09:02 PM UTC-7 Tom Keffer wrote:

> Obviously, this is not the same database. Double check your steps. You can 
> also start weewxd, then look at the log. Perhaps it's not using the 
> database you think it is using?
>
> Your original database has some bad timestamps, probably from a bad clock. 
> It's easy enough to get rid of them. See the wiki guide *Deleting 
> unwanted records 
> <https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data#deleting-unwanted-records>*
> .
>
>
>
> On Thu, Jun 8, 2023 at 3:43 PM Patrick Mendiuk <pmen...@gmail.com> wrote:
>
>> I am trying to use an existing database with a new weeWX install.  I 
>> copied the existing database into /var/lib/weewx and restarted weeWX.  I 
>> then ran wee_debug --info and I see: 
>>
>> Archive info
>>   Database name:        weewx.sdb
>>   Table name:           archive
>>   Version               4.0
>>   Unit system:          1 (US)
>>   First good timestamp: 2023-06-07 13:00:00 PDT (1686168000)
>>   Last good timestamp:  2023-06-08 15:15:00 PDT (1686262500)
>>   Number of records:    311
>>   weewx (weewx.conf) is set to use an archive interval of 300 seconds.
>>   The station hardware was not interrogated in determining archive 
>> interval.
>>
>> On the original weeWX install I see this when I run wee_debug:
>>
>> Archive info
>>   Database name:        weewx.sdb
>>   Table name:           archive
>>   Version               2.0
>>   Unit system:          1 (US)
>>   First good timestamp: 1969-12-31 16:01:00 PST (60)
>>   Last good timestamp:  2023-06-08 15:37:00 PDT (1686263820)
>>   Number of records:    2160656
>>   weewx (weewx.conf) is set to use an archive interval of 60 seconds.
>>   The station hardware was not interrogated in determining archive 
>> interval.
>>
>> Is there a way I can convert the old database and have all the old 
>> history visible in the new weeWX install?
>>
>>
>> -- 
>> 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 weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3486b127-ef6c-498c-80d1-686cbaad4ecfn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/3486b127-ef6c-498c-80d1-686cbaad4ecfn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6ce83702-41cf-4b92-b50d-07c1c9a59c1bn%40googlegroups.com.

Reply via email to