this did the trick, thanks! was even able to get away with no data loss, amazing!
ran a --dump, verified the data was be added to the mysql db (it was), then did a --clear-memory. after restarting weewx, everything is in order. On Sunday, November 13, 2022 at 7:57:56 PM UTC-8 gjr80 wrote: > Can't say for certain as you cut the log extract before WeeWX attempted to > download any archive records, but I am guessing you have corrupt station > memory. It is not uncommon when there is a power interruption to the > station and it manifests itself as loop packets continuing to be generated > but the station will not provide and archive records. No amount of > restarting WeeWX will correct it as the problem is in the station/logger. > > I suggest you work through the Corrupt station memory section > <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#corrupt-station-memory> > > of the Troubleshooting Davis Stations wiki page. > > Gary > On Monday, 14 November 2022 at 12:22:57 UTC+10 slaterson wrote: > >> i have weewx running on linux, it's been going fine for a while (recently >> switched from wview to weewx 4.8.0). i configured weewx to write to mysql >> (localhost) which has been working just fine as well... up until yesterday. >> >> i needed to unplug the server where weewx is running, it was powered off >> for about 30 minutes. the weather station (a davis vantage pro 2) was also >> powered off during this time. upon restarting the server and power >> station, weewx reports no errors in the logs, however isn't archiving any >> data from the vantage. i tried upgrading to 4.9.1, same experience - no >> data being updated, no data being written to the database. i then tried >> pointing it to sqlite, and same, no data written. >> >> i then did a fresh install of weewx 4.9.1 to a new directory, configured, >> it and ran with the defaults. it sees the weather station, reads data from >> it's logs, however only up to the point where the server and power station >> were powered off. all data since is not read, as if it's not there. >> >> the weather station console shows the current conditions, and the output >> of weewxd when run from the command line shows the loop process getting >> updated data with every read - the output changes as the temperature >> changes, etc... >> >> here is the syslog entry when i startup weewx (this is it, i have tried >> various debug settings and nothing provides more info): >> Nov 13 17:46:31 bonobo INFO __main__: Initializing weewx version 4.9.1 >> Nov 13 17:46:31 bonobo INFO __main__: Using Python 3.10.8 (main, Nov 6 >> 2022, 16:41:24) [GCC 11.3.0] >> Nov 13 17:46:31 bonobo INFO __main__: Located at >> /usr/lib/python-exec/python3.10/python >> Nov 13 17:46:31 bonobo INFO __main__: Platform >> Linux-5.15.75-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5675_@_3.07GHz-with-glibc2.35 >> Nov 13 17:46:31 bonobo INFO __main__: Locale is >> 'LC_CTYPE=en_US.UTF-8;LC_NUMERIC=en_US.UTF-8;LC_TIME=en_US.UTF-8;LC_COLLATE=C;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8' >> Nov 13 17:46:31 bonobo INFO __main__: Using configuration file >> /home/weewx/weewx.conf >> Nov 13 17:46:31 bonobo INFO __main__: Debug is 9 >> Nov 13 17:46:31 bonobo INFO __main__: PID file is /var/run/weewx.pid >> Nov 13 17:46:31 bonobo INFO weewx.engine: Loading station type Vantage >> (weewx.drivers.vantage) >> Nov 13 17:46:31 bonobo INFO weewx.engine: StdConvert target unit is 0x1 >> Nov 13 17:46:31 bonobo INFO weewx.wxservices: StdWXCalculate will use >> data binding wx_binding >> Nov 13 17:46:31 bonobo INFO weewx.engine: Archive will use data binding >> wx_binding >> Nov 13 17:46:31 bonobo INFO weewx.engine: Record generation will be >> attempted in 'hardware' >> Nov 13 17:46:31 bonobo INFO weewx.engine: Using archive interval of 300 >> seconds (specified by hardware) >> Nov 13 17:46:31 bonobo INFO weewx.restx: StationRegistry: Registration >> not requested. >> Nov 13 17:46:31 bonobo INFO weewx.restx: Wunderground: Posting not >> enabled. >> Nov 13 17:46:31 bonobo INFO weewx.restx: PWSweather: Posting not enabled. >> Nov 13 17:46:31 bonobo INFO weewx.restx: CWOP: Posting not enabled. >> Nov 13 17:46:31 bonobo INFO weewx.restx: WOW: Posting not enabled. >> Nov 13 17:46:31 bonobo INFO weewx.restx: AWEKAS: Posting not enabled. >> Nov 13 17:46:31 bonobo INFO weewx.engine: 'pyephem' detected, extended >> almanac data is available >> Nov 13 17:46:31 bonobo INFO __main__: Starting up weewx version 4.9.1 >> Nov 13 17:46:31 bonobo INFO weewx.engine: Clock error is -0.65 seconds >> (positive is fast) >> Nov 13 17:46:31 bonobo INFO weewx.engine: Using binding 'wx_binding' to >> database 'weewx.sdb' >> Nov 13 17:46:31 bonobo INFO weewx.manager: Starting backfill of daily >> summaries >> Nov 13 17:46:31 bonobo INFO weewx.manager: Daily summaries up to date >> Nov 13 17:46:32 bonobo INFO weewx.engine: Starting main packet loop. >> >> here is example output of weewxd when run from the command line (outTemp >> changes as the outside temp changes, as do other values): >> LOOP: 2022-11-13 17:45:37 PST (1668390337) 'altimeter': 'None', >> 'appTemp': '38.56302017901965', 'barometer': '30.314', 'cloudbase': >> '1242.8075512152234', 'consBatteryVoltage': '4.82', 'dateTime': >> '1668390337', 'dayET': '0.009', 'dayRain': '0.0', 'dewpoint': >> '36.631246774653015', 'ET': 'None', 'extraAlarm1': '0', 'extraAlarm2': '0', >> 'extraAlarm3': '0', 'extraAlarm4': '0', 'extraAlarm5': '0', 'extraAlarm6': >> '0', 'extraAlarm7': '0', 'extraAlarm8': '0', 'extraHumid1': '51.0', >> 'extraTemp1': '68.0', 'forecastIcon': '6', 'forecastRule': '9', >> 'heatindex': '39.141000000000005', 'humidex': '41.4', 'inDewpoint': >> '47.9178951288807', 'inHumidity': '37.0', 'insideAlarm': '0', 'inTemp': >> '76.1', 'maxSolarRad': '0.0', 'monthET': '0.14', 'monthRain': '0.66', >> 'outHumidity': '83.0', 'outsideAlarm1': '0', 'outsideAlarm2': '0', >> 'outTemp': '41.4', 'pressure': 'None', 'radiation': '0.0', 'rain': '0.0', >> 'rainAlarm': '0', 'rainRate': '0.0', 'soilLeafAlarm1': '0', >> 'soilLeafAlarm2': '0', 'soilLeafAlarm3': '0', 'soilLeafAlarm4': '0', >> 'stormRain': '0.0', 'sunrise': '1668355620', 'sunset': '1668390180', >> 'txBatteryStatus': '0', 'usUnits': '1', 'windchill': '41.4', 'windDir': >> 'None', 'windGust': '0.0', 'windGustDir': 'None', 'windrun': 'None', >> 'windSpeed': '0.0', 'windSpeed10': '0.0', 'yearET': '16.43', 'yearRain': >> '2.09' >> >> i'm at a loss as to what is happening. it was working fine, rebooted, >> and it doesn't collect data any more. i have rebooted since moving to >> weewx and things were fine. main difference this time is the weather >> station was powered down. >> > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b2a1f29b-9ebe-4473-b0ff-fb4c5ba675fen%40googlegroups.com.