deleted the entire html directory and run wee_reports and it is back with 
the simulator data... even though a db we deleted and created again

On Monday, January 25, 2021 at 11:20:26 PM UTC+1 peterq...@gmail.com wrote:

> There are .html pages on the web server public directory that your seeing
>
> On Mon, Jan 25, 2021, 1:16 PM S R <sjr4...@gmail.com> wrote:
>
>> I just deleted the .sdb and then run wee_database --create. 
>>
>> i don't see any cache data for nginx on either the ubuntu or freebsd 
>> versions i setup for testing, but they both show the same problem 
>>
>>
>> On Monday, January 25, 2021 at 10:10:47 PM UTC+1 gjr80 wrote:
>>
>>> Did you delete any previously generated reports on both your WeeWX 
>>> machine and web server?
>>>
>>> Gary
>>>
>>> On Tuesday, 26 January 2021 at 06:40:48 UTC+10 sjr4...@gmail.com wrote:
>>>
>>>> I've got the same problem. finished testing with the simulator, deleted 
>>>> the db and created again. 
>>>> cleared the browser cache on both chrome and firefox, but i goto the 
>>>> page and it shows 28.01 even though today is 25.01 and the data from when 
>>>> the simulator run
>>>>
>>>>
>>>> On Sunday, November 22, 2015 at 8:13:23 AM UTC+1 bjale...@gmail.com 
>>>> wrote:
>>>>
>>>>> Haha magic indeed!
>>>>>
>>>>> I completely overlooked the internal logger in the station itself - 
>>>>> thanks very much for that.
>>>>>
>>>>>
>>>>> On Sunday, 22 November 2015 13:15:32 UTC+13, Tom Keffer wrote:
>>>>>>
>>>>>> Magic. :-)
>>>>>>
>>>>>> Your hardware must have an onboard logger. If you truly want a fresh 
>>>>>> start, you'll have to clear it. Specific instructions depends on the 
>>>>>> make 
>>>>>> of your hardware.
>>>>>>
>>>>>> -tk
>>>>>>
>>>>>> On Sat, Nov 21, 2015 at 3:52 PM, George Alexander <bjale...@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Monday, 13 July 2015 09:28:49 UTC+12, mwall wrote:
>>>>>>>>
>>>>>>>> On Sunday, July 12, 2015 at 5:16:55 PM UTC-4, Dave Jeffries wrote:
>>>>>>>>>
>>>>>>>>> I used the setup.py method, just thought there may be a simple 
>>>>>>>>> command  to remove all the existing data.
>>>>>>>>> I guess the weewx.conf and skin.conf will be overwritten so will 
>>>>>>>>> have to take a copy first?
>>>>>>>>>
>>>>>>>>
>>>>>>>> if you do not care about any of the data in the database, then just 
>>>>>>>> stop weewx, delete the database file (/home/weewx/archive/weewx.sdb), 
>>>>>>>> then 
>>>>>>>> start weewx.
>>>>>>>>
>>>>>>>> if you want to surgically remove data from the database, do 
>>>>>>>> something like this:
>>>>>>>>
>>>>>>>>
>>>>>>>> *sqlite3 /home/weewx/archive/weewx.sdb*sqlite> *delete from 
>>>>>>>> archive where dateTime < X;*
>>>>>>>>
>>>>>>>> where X is the timestamp (unix epoch) after which you started 
>>>>>>>> collecting data from the real weather station.
>>>>>>>>
>>>>>>>> m 
>>>>>>>>
>>>>>>>
>>>>>>> After trying the "Delete weewx.sdb" method for a refresh, when I 
>>>>>>> restarted weewx, the syslog showed it happily re-populating the 
>>>>>>> database 
>>>>>>> with all my old data - where on earth did it get that from and how do I 
>>>>>>> stop it doing it again? 
>>>>>>>
>>>>>>> -- 
>>>>>>> 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.
>>>>>>> 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 weewx-user+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/b467bb52-8601-4f17-b840-992cf2339888n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/b467bb52-8601-4f17-b840-992cf2339888n%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/8a737efe-6800-4492-b2a8-3847e4f3eb2en%40googlegroups.com.

Reply via email to