tl;dr: After configuring my WeeWx 5.4 instance to generate reports, updates to Meteotemplate are behaving very strangely, and running a report takes forever (three days and counting).

I'm running WeeWx 5.4.0, installed via apt on Debian 13.5 in a virtual machine provisioned with 4 cores of a Xeon E-2224 and 4 GB RAM.  It's connected to a Vantage Pro 2 console via USB.

As of about a week ago, everything was working fine.  WeeWx was logging data to Weather Underground, WeatherCloud, PWSWeather, and my Meteotemplate installation on a remote VPS.  It was storing its data in a MySQL database, also on that remote VPS.  The archive table goes back to 2015, about 5M rows.  Meteotemplate gave a nice, responsive web page, with live updates from my weather station, and while it wasn't well-maintained, it did the job.

About a week ago, I learned that Meteotemplate would be discontinued entirely, the domain registration would lapse, the forum would go away, and there'd be no support resources left.  As a result, I decided to look into using WeeWx to generate the web display.  I installed the New Belchertown and Me.teo skins, and that's where I started having trouble.

I first noticed that generating the reports (specifically, the Me.teo report) was taking a very long time.  Surely part of that would result from having to build daily JSON for every day of 11 years, but it still seemed that running for days and still not finishing wasn't right.  And I figured that having the database on a remote host would slow it down, so I stopped WeeWx, downloaded a database dump from that server, and recreated the weewx database locally.  I then updated weewx.conf to connect to localhost and restarted.  And the result is, well, no change that I can tell. After restarting WeeWx, I did `weectl report run Me.teo`, and that's been running for three days so far--and the last daily .json file it's created is for 2016-06-14, over 10 years ago. I'll return to this issue in a moment.

The second issue I'm noticing is that updates are being pushed to Meteotemplate--and only to Meteotemplate--very badly out of order.  See this snippet from the log:

Jun 27 09:05:37 wxbox weewxd[3096]: INFO weewx.restx: PWSWeather: Published record 2026-06-27 06:59:00 EDT (1782557940) Jun 27 09:05:37 wxbox weewxd[3096]: INFO weewx.restx: Meteotemplate: Published record 2026-06-25 11:26:07 EDT (1782401167) Jun 27 09:05:37 wxbox weewxd[3096]: INFO weewx.restx: Meteotemplate: Published record 2026-06-26 06:05:07 EDT (1782468307) Jun 27 09:05:37 wxbox weewxd[3096]: INFO weewx.restx: Meteotemplate: Published record 2026-06-27 01:52:59 EDT (1782539579) Jun 27 09:05:37 wxbox weewxd[3096]: INFO weewx.restx: Meteotemplate: Published record 2026-06-24 19:02:06 EDT (1782342126) Jun 27 09:06:34 wxbox weewxd[3096]: INFO weewx.restx: Wunderground-RF: Published record 2026-06-27 09:05:15 EDT (1782565515)

Four updates sent at the same time, for four different times on three different days.  I don't see any errors or other indications as to why this is happening.

I'm suspecting a database-related problem, though I'm not sure why it would be happening.  The VM stats for the system running WeeWx are showing an average of about 50% CPU usage over the last day, and htop is showing over a dozen mariadb processes, with the first eight or so each listed as consuming about 20% CPU.  RAM doesn't seem to be a problem; the system's pretty steady at 1.5 GB used.

The Meteotemplate logging issue made me suspect I somehow had another weewx process running, but `ps -aux | grep weewx` indicates that isn't the case--the only output (other than the grep itself) is the main weewx process, and the weectl report run one.

Here are logs after restarting weewx:

Jun 27 10:46:19 wxbox systemd[1]: Started weewx.service - WeeWX.
░░ Subject: A start job for unit weewx.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit weewx.service has finished successfully.
░░
░░ The job identifier is 4693.
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Initializing weewxd version 5.4.0 Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Using Python: 3.13.5 (main, May  5 2026, 21:05:52) [GCC 14.2.0] Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Located at:  /usr/bin/python3 Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Platform:  Linux-6.12.94+deb13-amd64-x86_64-with-glibc2.41
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Locale:  'en_US.UTF-8'
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Entry path:  /usr/share/weewx/weewxd.py
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: WEEWX_ROOT:  /etc/weewx
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Config file:  /etc/weewx/weewx.conf Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: User module:  /etc/weewx/bin/user
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Debug:   0
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: User:  weewx
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Group:   weewx
Jun 27 10:46:19 wxbox weewxd[12049]: INFO __main__: Groups:  dialout weewx
Jun 27 10:46:19 wxbox weewxd[12049]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)

Jun 27 10:46:20 wxbox weewxd[12049]: INFO weewx.engine: StdConvert target unit is 0x1 Jun 27 10:46:20 wxbox weewxd[12049]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.engine: Archive will use data binding wx_binding Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.engine: Record generation will be attempted in 'hardware' Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the sta> Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.engine: Using archive interval of 60 seconds (specified by hardware) Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: StationRegistry: Registration not requested. Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: Wunderground-RF: Data for station KGARICHM14 will be posted Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: PWSWeather: Data for station KGARICHM14 will be posted Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: CWOP: Posting not enabled. Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: WOW: Posting not enabled. Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: WOW-BE: Posting not enabled. Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.restx: AWEKAS: Posting not enabled. Jun 27 10:48:04 wxbox weewxd[12049]: INFO user.wcloud: service version is 0.13 Jun 27 10:48:04 wxbox weewxd[12049]: INFO user.wcloud: Data will be uploaded for id=ff2b03be10f24998 Jun 27 10:48:04 wxbox weewxd[12049]: INFO user.meteotemplate: service version is 0.10 Jun 27 10:48:04 wxbox weewxd[12049]: INFO user.meteotemplate: Data will be uploaded to https://wx.familybrown.org/template/api.php Jun 27 10:48:04 wxbox weewxd[12049]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available Jun 27 10:48:04 wxbox weewxd[12049]: INFO __main__: Starting up weewx version 5.4.0 Jun 27 10:48:05 wxbox weewxd[12049]: INFO weewx.engine: Clock error is -1.39 seconds (positive is fast) Jun 27 10:48:05 wxbox weewxd[12049]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx' Jun 27 10:48:05 wxbox weewxd[12049]: INFO weewx.manager: Starting backfill of daily summaries Jun 27 10:48:05 wxbox weewxd[12049]: INFO weewx.manager: Daily summaries up to date Jun 27 10:48:35 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:44:00 EDT (1782571440) to database 'weewx' Jun 27 10:48:37 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:44:00 EDT (1782571440) to daily summary in 'wee> Jun 27 10:48:37 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:45:00 EDT (1782571500) to database 'weewx' Jun 27 10:48:39 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:45:00 EDT (1782571500) to daily summary in 'wee> Jun 27 10:48:39 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:46:00 EDT (1782571560) to database 'weewx' Jun 27 10:48:41 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:46:00 EDT (1782571560) to daily summary in 'wee> Jun 27 10:48:45 wxbox weewxd[12049]: ERROR weewx.drivers.vantage: DMPAFT try #1; error: Timeout in get_data_with_crc16 Jun 27 10:48:45 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:47:00 EDT (1782571620) to database 'weewx' Jun 27 10:48:47 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:47:00 EDT (1782571620) to daily summary in 'wee> Jun 27 10:48:47 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:48:00 EDT (1782571680) to database 'weewx' Jun 27 10:48:49 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:48:00 EDT (1782571680) to daily summary in 'wee> Jun 27 10:48:49 wxbox weewxd[12049]: INFO weewx.engine: Starting main packet loop. Jun 27 10:49:22 wxbox weewxd[12049]: INFO weewx.restx: Meteotemplate: Published record 2026-06-27 10:48:50 EDT (1782571730) Jun 27 10:49:22 wxbox weewxd[12049]: INFO weewx.restx: Wunderground-RF: Published record 2026-06-27 10:48:50 EDT (1782571730) Jun 27 10:49:25 wxbox weewxd[12049]: INFO weewx.restx: PWSWeather: Published record 2026-06-27 10:44:00 EDT (1782571440) Jun 27 10:49:42 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:49:00 EDT (1782571740) to database 'weewx' Jun 27 10:49:46 wxbox weewxd[12049]: INFO weewx.manager: Added record 2026-06-27 10:49:00 EDT (1782571740) to daily summary in 'wee> Jun 27 10:50:07 wxbox weewxd[12049]: INFO weewx.restx: Meteotemplate: Published record 2026-06-27 10:48:50 EDT (1782571730) Jun 27 10:50:08 wxbox weewxd[12049]: INFO weewx.restx: Wunderground-RF: Published record 2026-06-27 10:49:16 EDT (1782571756)


--
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/d77048d3-c11f-4ec0-b969-730753501f3e%40gmail.com.

Reply via email to