I added a hardware clock to fix the not posting data problem. It appears I may have a problem. Here is the log. I manually killed power at 18:40:41
Oct 11 18:40:22 zk30 weewx[1513]: copygenerator: copied 0 files to /home/weewx/weewx/html Oct 11 18:40:29 zk30 weewx[1513]: cheetahgenerator: Generated 10 files for report forecast in 7.51 seconds Oct 11 18:40:29 zk30 weewx[1513]: copygenerator: copied 0 files to /home/weewx/weewx/html/forecast Oct 11 18:40:41 zk30 weewx[1513]: ftpgenerator: ftp'd 38 files in 11.73 seconds Nov 3 11:16:48 zk30 weewx[361]: engine: Initializing weewx version 3.7.1 Nov 3 11:16:48 zk30 weewx[361]: engine: Using Python 2.7.13 (default, Jan 19 2017, 14:48:08) #012[GCC 6.3.0 20170124] Nov 3 11:16:48 zk30 weewx[361]: engine: Platform Linux-4.9.35-v7+-armv7l-with-debian-9.1 Nov 3 11:16:48 zk30 weewx[361]: engine: Locale is 'en_US.UTF-8' Nov 3 11:16:48 zk30 weewx[361]: engine: pid file is /home/weewx/weewx/run/weewx.pid Nov 3 11:16:48 zk30 weewx[287]: Starting weewx weather system: weewx. Nov 3 11:16:48 zk30 weewx[672]: engine: Using configuration file /home/weewx/weewx/conf/weewx.conf Nov 3 11:16:48 zk30 weewx[672]: engine: Loading station type Vantage (weewx.drivers.vantage) Nov 3 11:16:48 zk30 weewx[672]: engine: StdConvert target unit is 0x1 Nov 3 11:16:48 zk30 weewx[672]: 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 Nov 3 11:16:48 zk30 weewx[672]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Nov 3 11:16:48 zk30 weewx[672]: engine: Archive will use data binding wx_binding Nov 3 11:16:48 zk30 weewx[672]: engine: Record generation will be attempted in 'hardware' Nov 3 11:16:48 zk30 weewx[672]: engine: Using archive interval of 300 seconds (specified by hardware) Nov 3 11:16:48 zk30 weewx[672]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Nov 3 11:16:48 zk30 weewx[672]: manager: Starting backfill of daily summaries Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: Zambretti: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: Zambretti: interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: NWS: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: NWS: interval=10800 max_age=604800 lid=COZ036 foid=BOU Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: WU: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: WU: API key (api_key) is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: WU: forecast will not be run Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: OWM: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: OWM: API key (api_key) is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: OWM: forecast will not be run Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: UKMO: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: UKMO: API key (api_key) is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: UKMO: location is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: UKMO: forecast will not be run Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: Aeris: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: Aeris: client identifier (client_id) is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: Aeris: client secret (client_secret) is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: Aeris: forecast will not be run Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: WWO: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: WWO: API key (api_key) is not specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: WWO: forecast will not be run Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: XTide: forecast version 3.2.6 Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: XTide: location (location) has not been specified Nov 3 11:16:49 zk30 weewx[672]: forecast: MainThread: XTide: forecast will not be run Nov 3 11:16:50 zk30 weewx[672]: restx: StationRegistry: Station will be registered. Nov 3 11:16:50 zk30 weewx[672]: restx: Wunderground-PWS: Data for station XXXXXXX will be posted Nov 3 11:16:50 zk30 weewx[672]: restx: PWSWeather: Data for station XXXXXXXwill be posted Nov 3 11:16:50 zk30 weewx[672]: restx: CWOP: Data for station XXXXXXXwill be posted Nov 3 11:16:50 zk30 weewx[672]: restx: WOW: Data for station XXXXXXXwill be posted Nov 3 11:16:50 zk30 weewx[672]: restx: AWEKAS: Data will be uploaded for user XXXXXXX Nov 3 11:16:50 zk30 weewx[672]: engine: Starting up weewx version 3.7.1 Nov 3 11:16:50 zk30 weewx[672]: engine: Clock error is 29575557.87 seconds (positive is fast) Nov 3 11:16:50 zk30 weewx[672]: vantage: Clock set to 2016-11-03 11:16:50 MDT (1478193410) Nov 3 11:16:51 zk30 weewx[672]: engine: Starting main packet loop. Nov 3 11:16:55 zk30 weewx[672]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead Oct 11 18:42:58 zk30 weewx[672]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead Oct 11 18:42:58 zk30 weewx[672]: engine: garbage collected 14 objects Oct 11 18:42:59 zk30 weewx[672]: engine: Clock error is -29575558.33 seconds (positive is fast) Oct 11 18:42:59 zk30 weewx[672]: vantage: Clock set to 2017-10-11 18:43:00 MDT (1507768980) Oct 11 18:43:00 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:00 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:00 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:00 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:01 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:02 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:02 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:02 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:02 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:02 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:02 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:03 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:08 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:10 zk30 weewx[672]: cheetahgenerator: Generated 16 files for report StandardReport in 11.48 seconds Oct 11 18:43:11 zk30 weewx[672]: imagegenerator: Generated 12 images for StandardReport in 1.43 seconds Oct 11 18:43:12 zk30 weewx[672]: copygenerator: copied 92 files to /home/weewx/weewx/html Oct 11 18:43:12 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:16 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:21 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:24 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:27 zk30 weewx[672]: cheetahgenerator: Generated 10 files for report forecast in 15.16 seconds Oct 11 18:43:27 zk30 weewx[672]: copygenerator: copied 87 files to /home/weewx/weewx/html/forecast Oct 11 18:43:28 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:28 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:29 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:30 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:31 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:32 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:33 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:34 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running Oct 11 18:43:35 zk30 weewx[672]: engine: Launch of report thread aborted: existing report thread still running On Wednesday, October 11, 2017 at 3:05:33 PM UTC-6, Oscar wrote: > > Lost power the other day. When power came back on, the error "launch of > report thread aborted: existing report thread still running." was being > written to the log file every couple of seconds. I restarted weewx and the > issue was resolved. As a test, I disconnected power and the same issue > occurred. I did a 'ps -ef | grep weewx' and one entry of weewxd was > displayed. Is there an issue with an old PID file being read? > > weewx version 3.7.1 > raspberry pi2 > 1,236,526 records in archive table > > Thanks, > Oscar > > > > -- 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.
