done that mulitple times already....and more weirdness..... index web page is good - shows correct todays date (sessions template out of box) day is good - shows todays date
week/month/year - shows date of 31.01 with simulator data. On Tuesday, January 26, 2021 at 7:10:48 AM UTC+1 gjr80 wrote: > 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 [email protected] 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 [email protected] >> wrote: >> >>> There are .html pages on the web server public directory that your seeing >>> >>> On Mon, Jan 25, 2021, 1:16 PM S R <[email protected]> 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 [email protected] >>>>> 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 [email protected] >>>>>> 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 < >>>>>>>> [email protected]> 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 [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]. >>>> >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/86e4a50b-2ff2-4840-9579-b16dd59f04dcn%40googlegroups.com.
