Here is the log from start to one full rsync. I have debug=1. I have been looking at the source trying to find out where the mysql INSERT or REPLACE is for the 'archive' table but can't find it. I am not a Python person but I thought it would be pretty easy to find an insert -- but it wasn't.
Dec 10 12:25:44 raspberrypi weewx[17922]: engine: Initializing weewx version 3.6.2 Dec 10 12:25:44 raspberrypi weewx[17922]: engine: Using Python 2.7.3 (default, Jun 22 2016, 03:14:32) #012[GCC 4.6.3] Dec 10 12:25:44 raspberrypi weewx[17922]: engine: Platform Linux-4.1.19+-armv6l-with-debian-7.11 Dec 10 12:25:44 raspberrypi weewx[17922]: engine: pid file is /var/run/weewx.pid Dec 10 12:25:44 raspberrypi weewx[17926]: engine: Using configuration file /home/weewx/weewx.conf Dec 10 12:25:44 raspberrypi weewx[17926]: engine: Initializing engine Dec 10 12:25:44 raspberrypi weewx[17926]: engine: Loading station type Vantage (weewx.drivers.vantage) Dec 10 12:25:44 raspberrypi weewx[17926]: vantage: driver version is 3.0.9 Dec 10 12:25:44 raspberrypi weewx[17926]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 5.00 Dec 10 12:25:45 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:25:45 raspberrypi weewx[17926]: vantage: _setup; hardware type is 17 Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdTimeSynch Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdTimeSynch Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdConvert Dec 10 12:25:45 raspberrypi weewx[17926]: engine: StdConvert target unit is 0x1 Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdConvert Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdCalibrate Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdCalibrate Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdQC Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdQC Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Loading service weewx.wxservices.StdWXCalculate Dec 10 12:25:45 raspberrypi weewx[17926]: 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 Dec 10 12:25:45 raspberrypi weewx[17926]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Finished loading service weewx.wxservices.StdWXCalculate Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdArchive Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Archive will use data binding wx_binding Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Record generation will be attempted in 'hardware' Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Using archive interval of 300 seconds (specified by hardware) Dec 10 12:25:45 raspberrypi weewx[17926]: engine: Use LOOP data in hi/low calculations: 1 Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Using binding 'wx_binding' to database 'weewx' Dec 10 12:25:46 raspberrypi weewx[17926]: manager: Starting backfill of daily summaries Dec 10 12:25:46 raspberrypi weewx[17926]: manager: Daily summaries up to date Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdArchive Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.restx.StdStationRegistry Dec 10 12:25:46 raspberrypi weewx[17926]: restx: StationRegistry: Registration not requested. Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.restx.StdStationRegistry Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.restx.StdWunderground Dec 10 12:25:46 raspberrypi weewx[17926]: restx: Wunderground-PWS: Data for station KCATHOUS54 will be posted Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.restx.StdWunderground Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.restx.StdPWSweather Dec 10 12:25:46 raspberrypi weewx[17926]: restx: PWSweather: Posting not enabled. Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.restx.StdPWSweather Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.restx.StdCWOP Dec 10 12:25:46 raspberrypi weewx[17926]: restx: CWOP: Posting not enabled. Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.restx.StdCWOP Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.restx.StdWOW Dec 10 12:25:46 raspberrypi weewx[17926]: restx: WOW: Posting not enabled. Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.restx.StdWOW Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.restx.StdAWEKAS Dec 10 12:25:46 raspberrypi weewx[17926]: restx: AWEKAS: Posting not enabled. Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.restx.StdAWEKAS Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdPrint Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdPrint Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Loading service weewx.engine.StdReport Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Finished loading service weewx.engine.StdReport Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Starting up weewx version 3.6.2 Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Clock error is 0.66 seconds (positive is fast) Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: Getting archive packets since 2016-12-09 09:10:00 PST (1481303400) Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: Retrieving 0 page(s); starting index= 0 Dec 10 12:25:46 raspberrypi weewx[17926]: engine: Starting main packet loop. Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: Requesting 200 LOOP packets. Dec 10 12:25:46 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:30:17 raspberrypi weewx[17926]: vantage: Getting archive packets since 2016-12-09 09:10:00 PST (1481303400) Dec 10 12:30:17 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:30:17 raspberrypi weewx[17926]: vantage: Retrieving 0 page(s); starting index= 0 Dec 10 12:30:17 raspberrypi weewx[17926]: vantage: Requesting 200 LOOP packets. Dec 10 12:30:17 raspberrypi weewx[17926]: reportengine: Running reports for latest time in the database. Dec 10 12:30:17 raspberrypi weewx[17926]: reportengine: Running report StandardReport Dec 10 12:30:17 raspberrypi weewx[17926]: vantage: gentle wake up of console successful Dec 10 12:30:17 raspberrypi weewx[17926]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport Dec 10 12:30:18 raspberrypi weewx[17926]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] Dec 10 12:30:52 raspberrypi weewx[17926]: cheetahgenerator: Generated 13 files for report StandardReport in 34.43 seconds Dec 10 12:30:57 raspberrypi weewx[17926]: genimages: Generated 12 images for StandardReport in 4.86 seconds Dec 10 12:30:58 raspberrypi weewx[17926]: reportengine: copied 14 files to /home/weewx/public_html Dec 10 12:30:58 raspberrypi weewx[17926]: reportengine: Running report RSYNC Dec 10 12:30:58 raspberrypi weewx[17926]: reportengine: Found configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC Dec 10 12:31:00 raspberrypi weewx[17926]: rsyncupload: rsync'd 39 files (168278 bytes) in 1.94 seconds On Saturday, December 10, 2016 at 8:48:52 AM UTC-8, Barton Phillips wrote: > > I may not have posted this right the first time so here goes again. > > My weather station has been working for years but a couple of days ago > it started to freeze after running several hours. When I looked at the > database the last entry was not updating. I was running 3.1.2 so I upgraded > to 3.6.2 but the same thing happens. I tried changing from sqlite to mysql > but still no help. What can I do to debug this problem? Do you think it > might be something wrong with the console? When I do 'wee_device > --clear-memory' it starts working again but within a day it freezes. The > 'Weewx > uptime: ' changes every 5 minutes so I know that the files are being > updated but the image times don't change and the date and time at the top > is frozen. > Any help would be appreciated. > > When I run weewxd from the command line I see the dateTime updating every > 2 seconds but if I look at the logfile the "Getting archive packets since > 2016-12-09 09:15:00 PST (1481303700)" does not change. In this case it is > stuck at 09:15:00 PST. > > I can't think of anything I might have done to cause the change from > running OK to freeze. > > -- > Sent From my Good Old Desktop PC. > > Barton Phillips > Granby Rotary Club > http://www.granbyrotary.org > Applitec Inc. > http://www.applitec.com > Personal > http://www.bartonphillips.com > -- 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.
