Delete the html directory again (definitely on the WeeWX machine and also 
delete the html/png files on your web server if applicable), delete the 
database and restart WeeWX. Monitor the log, confirm a new database is 
created (it will be logged) and which driver is being used. Confirm report 
generation. If you still get old simulator data in a browser it’s a browser 
cache issue or you have more than one WeeWX instance running or remnants 
from another WeeWX instance. You can also take the browser out of the 
equation and view the report output in an editor or cat it to your console.

Gary

On Tuesday, 26 January 2021 at 15:51:11 UTC+10 sjr4...@gmail.com wrote:

> 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/8e464314-11c4-4600-95b3-79088188a08en%40googlegroups.com.

Reply via email to