Hi Ted, It looks like a case of corrupted logger memory. Have a read through the corrupt station memory <http://weewx.com/docs/usersguide.htm#html_generated_but_not_updated> section in the User's Guide. Note the link further down about dumping the logger memory, this may help prevent loss of data (but it may not).
Gary On Saturday, 25 March 2017 22:21:48 UTC+10, Ted Northrup wrote: > > Hi Gary, > A million thanks for taking a look at this stubborn problem. I have > attached the abbreviated log per your instructions. I think weewx and > vantage are both sensitive to time. Is it possible that the database's time > is out of adjustment? And I noticed that the number of pages retrieved > keeps going up and up (vantage: Retrieving 284 page(s)). I have also > attached a GREP screenshot. I think it says I have only one instance > running. > I have temporary renamed index.html in the weewx directory and stopped the > service so my neighbors won't think the system is running. I also did an > "ls /dev/ttyUSB0" and that port did show up. And as stated previously, I > ran weewx from the command line and data from the VantagePro did stream on > the screen. > > Again, many thanks, > Ted Northrup > > On Friday, March 24, 2017 at 6:45:00 PM UTC-4, gjr80 wrote: >> >> Hi, >> >> The issue is with weeWX not with anything else, once we get that sorted >> WU should come back up, and I suspect Apache is running fine as well. >> Towards the end of the log extract you had some communications issues with >> your station and as a result weeWX has not been receiving any data from the >> station, weeWX continues to generate reports every minute but since there >> is no new data the report is the same as the last one. There is a lot of >> activity in your log extract covering several stop/starts of weeWX so lets >> go back a bit. Edit weewx.conf, set debug=1 then save weewx.conf. Now >> stop then start weeWX. After a few minutes take a log extract from when >> weeWX was just started until a few report cycles have completed. It's >> important to capture all of the log from startup. Post that extract and >> let's have a look. >> >> Just to be safe you might also want to have a look to see if any remnants >> are hanging around from previous weeWX instances, from the command line type >> >> $ ps -aux|grep weewx >> >> If weeWX is running that should show one line with something like >> >> /usr/bin/python /home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid >> /home/weewx/weewx.conf >> >> at the end. If there are more lines that have '/usr/bin/python >> /home/weewx/bin/weewxd' at the end then there may be more than one >> instance of weeWX running and they will need to be closed. Post the output >> from the ps-aux command so we can see. >> >> Gary >> >> On Saturday, 25 March 2017 02:10:51 UTC+10, Ted Northrup wrote: >>> >>> When I did my first backup of my SD card, Weewx stopped updating weather >>> data on the index.html file with the VantagePro2 info. I checked to make >>> sure the RPi was getting the data, so I ran Weewx manually. The data from >>> the weather station scrolled on my Putty screen, so the USB port is >>> working. Weewx is continueing to update weewx uptime portion of the page. >>> But the date/time/weather data does not change. It appears that it is not >>> sending updates to Weather Underground either. In reviewing the bottom of >>> the attached log I saw the error about hardware archive interval not >>> matching weewx' internal. I changed that to 60 and restarted the weewx >>> service. No change in the screen. >>> You can see this stalled page at www.queensoaks.org/weewx. >>> I have restarted the Apache2 and weewx services several times and >>> rebooted the RPi twice. No luck! Hope you experts can see something in >>> the extended log attached. The folks in our condo building have come to >>> depend on this service. >>> >>> Ted Northrup >>> >> -- 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.
