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.
Mar 25 07:47:12 raspberrypi systemd[1]: Stopping LSB: weewx weather system... Mar 25 07:47:12 raspberrypi weewx[1189]: engine: Shutting down StdReport thread Mar 25 07:47:12 raspberrypi weewx[1189]: engine: Terminating weewx version 3.6.2 Mar 25 07:47:17 raspberrypi weewx[1243]: Stopping weewx weather system: weewx.. Mar 25 07:47:17 raspberrypi systemd[1]: Stopped LSB: weewx weather system. Mar 25 07:47:32 raspberrypi systemd[1]: Starting LSB: weewx weather system... Mar 25 07:47:33 raspberrypi weewx[1309]: engine: Initializing weewx version 3.6.2 Mar 25 07:47:33 raspberrypi weewx[1309]: engine: Using Python 2.7.9 (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] Mar 25 07:47:33 raspberrypi weewx[1309]: engine: Platform Linux-4.4.34-v7+-armv7l-with-debian-8.0 Mar 25 07:47:33 raspberrypi weewx[1309]: engine: pid file is /var/run/weewx.pid Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Using configuration file /etc/weewx/weewx.conf Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Initializing engine Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading station type Vantage (weewx.drivers.vantage) Mar 25 07:47:33 raspberrypi systemd[1]: Started LSB: weewx weather system. Mar 25 07:47:33 raspberrypi weewx[1298]: Starting weewx weather system: weewx. Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: driver version is 3.0.9 Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00 Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: _setup; hardware type is 16 Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdTimeSynch Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdTimeSynch Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdConvert Mar 25 07:47:33 raspberrypi weewx[1313]: engine: StdConvert target unit is 0x1 Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdConvert Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdCalibrate Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdCalibrate Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdQC Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdQC Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.wxservices.StdWXCalculate Mar 25 07:47:33 raspberrypi weewx[1313]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Mar 25 07:47:33 raspberrypi weewx[1313]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.wxservices.StdWXCalculate Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdArchive Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Archive will use data binding wx_binding Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Record generation will be attempted in 'hardware' Mar 25 07:47:33 raspberrypi weewx[1313]: engine: The archive interval in the configuration file (120) does not match the station hardware interval (60). Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Using archive interval of 60 seconds (specified by hardware) Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Use LOOP data in hi/low calculations: 1 Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Mar 25 07:47:33 raspberrypi weewx[1313]: manager: Starting backfill of daily summaries Mar 25 07:47:33 raspberrypi weewx[1313]: manager: Daily summaries up to date Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdArchive Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.restx.StdStationRegistry Mar 25 07:47:33 raspberrypi weewx[1313]: restx: StationRegistry: Registration not requested. Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.restx.StdStationRegistry Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.restx.StdWunderground Mar 25 07:47:33 raspberrypi weewx[1313]: restx: Wunderground-PWS: Data for station KNCCHARL265 will be posted Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.restx.StdWunderground Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.restx.StdPWSweather Mar 25 07:47:33 raspberrypi weewx[1313]: restx: PWSWeather: Data for station 36554 will be posted Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.restx.StdPWSweather Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.restx.StdCWOP Mar 25 07:47:33 raspberrypi weewx[1313]: restx: CWOP: Posting not enabled. Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.restx.StdCWOP Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.restx.StdWOW Mar 25 07:47:33 raspberrypi weewx[1313]: restx: WOW: Posting not enabled. Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.restx.StdWOW Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.restx.StdAWEKAS Mar 25 07:47:33 raspberrypi weewx[1313]: restx: AWEKAS: Posting not enabled. Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.restx.StdAWEKAS Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service user.wbug.WeatherBug Mar 25 07:47:33 raspberrypi weewx[1313]: restx: WeatherBug: service version is 0.6 Mar 25 07:47:33 raspberrypi weewx[1313]: restx: WeatherBug: Data will be uploaded for station_number=36554 publisher_id=p24958 Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service user.wbug.WeatherBug Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdPrint Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdPrint Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Loading service weewx.engine.StdReport Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Finished loading service weewx.engine.StdReport Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Starting up weewx version 3.6.2 Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:47:33 raspberrypi weewx[1313]: engine: Clock error is -0.64 seconds (positive is fast) Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: Getting archive packets since 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:47:33 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:47:34 raspberrypi weewx[1313]: vantage: Retrieving 284 page(s); starting index= 0 Mar 25 07:47:35 raspberrypi weewx[1313]: vantage: DMPAFT complete: page timestamp 2017-03-23 21:38:00 EDT (1490319480) less than final timestamp 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:47:35 raspberrypi weewx[1313]: vantage: Catch up complete. Mar 25 07:47:35 raspberrypi weewx[1313]: engine: Starting main packet loop. Mar 25 07:47:35 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:47:35 raspberrypi weewx[1313]: vantage: Requesting 200 LOOP packets. Mar 25 07:47:35 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:48:14 raspberrypi weewx[1313]: vantage: Getting archive packets since 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:48:14 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:48:16 raspberrypi weewx[1313]: vantage: Retrieving 284 page(s); starting index= 0 Mar 25 07:48:16 raspberrypi weewx[1313]: vantage: DMPAFT complete: page timestamp 2017-03-23 21:38:00 EDT (1490319480) less than final timestamp 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:48:16 raspberrypi weewx[1313]: vantage: Catch up complete. Mar 25 07:48:16 raspberrypi weewx[1313]: reportengine: Running reports for latest time in the database. Mar 25 07:48:16 raspberrypi weewx[1313]: vantage: Requesting 200 LOOP packets. Mar 25 07:48:16 raspberrypi weewx[1313]: reportengine: Running report StandardReport Mar 25 07:48:16 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport Mar 25 07:48:16 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:48:16 raspberrypi weewx[1313]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] Mar 25 07:48:23 raspberrypi weewx[1313]: cheetahgenerator: Generated 14 files for report StandardReport in 6.99 seconds Mar 25 07:48:26 raspberrypi systemd[1]: Starting Session c5 of user pi. Mar 25 07:48:26 raspberrypi systemd[1]: Started Session c5 of user pi. Mar 25 07:48:26 raspberrypi weewx[1313]: genimages: Generated 12 images for StandardReport in 3.00 seconds Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: copied 9 files to /var/www/html/weewx Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: Running report FTP Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: FTP upload not requested. Skipped. Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: Running report RSYNC Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC Mar 25 07:48:26 raspberrypi weewx[1313]: reportengine: rsync upload not requested. Skipped. Mar 25 07:49:14 raspberrypi weewx[1313]: vantage: Getting archive packets since 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:49:14 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Mar 25 07:50:44 2017 [try http://www.rsyslog.com/e/2007 ] Mar 25 07:49:14 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:49:16 raspberrypi weewx[1313]: vantage: Retrieving 285 page(s); starting index= 0 Mar 25 07:49:16 raspberrypi weewx[1313]: vantage: DMPAFT complete: page timestamp 2017-03-23 21:38:00 EDT (1490319480) less than final timestamp 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:49:16 raspberrypi weewx[1313]: vantage: Catch up complete. Mar 25 07:49:16 raspberrypi weewx[1313]: reportengine: Running reports for latest time in the database. Mar 25 07:49:16 raspberrypi weewx[1313]: vantage: Requesting 200 LOOP packets. Mar 25 07:49:16 raspberrypi weewx[1313]: reportengine: Running report StandardReport Mar 25 07:49:16 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport Mar 25 07:49:16 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:49:16 raspberrypi weewx[1313]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] Mar 25 07:49:19 raspberrypi weewx[1313]: cheetahgenerator: Generated 14 files for report StandardReport in 2.88 seconds Mar 25 07:49:21 raspberrypi weewx[1313]: genimages: Generated 12 images for StandardReport in 2.29 seconds Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: copied 0 files to /var/www/html/weewx Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: Running report FTP Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: FTP upload not requested. Skipped. Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: Running report RSYNC Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC Mar 25 07:49:21 raspberrypi weewx[1313]: reportengine: rsync upload not requested. Skipped. Mar 25 07:50:14 raspberrypi weewx[1313]: vantage: Getting archive packets since 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:50:14 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:50:16 raspberrypi weewx[1313]: vantage: Retrieving 285 page(s); starting index= 0 Mar 25 07:50:16 raspberrypi weewx[1313]: vantage: DMPAFT complete: page timestamp 2017-03-23 21:38:00 EDT (1490319480) less than final timestamp 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:50:16 raspberrypi weewx[1313]: vantage: Catch up complete. Mar 25 07:50:16 raspberrypi weewx[1313]: reportengine: Running reports for latest time in the database. Mar 25 07:50:16 raspberrypi weewx[1313]: vantage: Requesting 200 LOOP packets. Mar 25 07:50:16 raspberrypi weewx[1313]: reportengine: Running report StandardReport Mar 25 07:50:16 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport Mar 25 07:50:16 raspberrypi weewx[1313]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] Mar 25 07:50:16 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:50:19 raspberrypi weewx[1313]: cheetahgenerator: Generated 14 files for report StandardReport in 3.46 seconds Mar 25 07:50:22 raspberrypi weewx[1313]: genimages: Generated 12 images for StandardReport in 2.59 seconds Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: copied 0 files to /var/www/html/weewx Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: Running report FTP Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: FTP upload not requested. Skipped. Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: Running report RSYNC Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC Mar 25 07:50:22 raspberrypi weewx[1313]: reportengine: rsync upload not requested. Skipped. Mar 25 07:51:14 raspberrypi weewx[1313]: vantage: Getting archive packets since 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:51:14 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Mar 25 07:52:44 2017 [try http://www.rsyslog.com/e/2007 ] Mar 25 07:51:14 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:51:16 raspberrypi weewx[1313]: vantage: Retrieving 285 page(s); starting index= 0 Mar 25 07:51:16 raspberrypi weewx[1313]: vantage: DMPAFT complete: page timestamp 2017-03-23 21:38:00 EDT (1490319480) less than final timestamp 2017-03-24 07:35:00 EDT (1490355300) Mar 25 07:51:16 raspberrypi weewx[1313]: vantage: Catch up complete. Mar 25 07:51:16 raspberrypi weewx[1313]: vantage: Requesting 200 LOOP packets. Mar 25 07:51:16 raspberrypi weewx[1313]: reportengine: Running reports for latest time in the database. Mar 25 07:51:16 raspberrypi weewx[1313]: reportengine: Running report StandardReport Mar 25 07:51:16 raspberrypi weewx[1313]: vantage: gentle wake up of console successful Mar 25 07:51:16 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport Mar 25 07:51:16 raspberrypi weewx[1313]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] Mar 25 07:51:18 raspberrypi weewx[1313]: cheetahgenerator: Generated 14 files for report StandardReport in 2.76 seconds Mar 25 07:51:22 raspberrypi weewx[1313]: genimages: Generated 12 images for StandardReport in 3.20 seconds Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: copied 0 files to /var/www/html/weewx Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: Running report FTP Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: FTP upload not requested. Skipped. Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: Running report RSYNC Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC Mar 25 07:51:22 raspberrypi weewx[1313]: reportengine: rsync upload not requested. Skipped.
