After 5.2 install, no new files are written, weewx.sdb doesn't change, seems to be running but does nothing

87 views
Skip to first unread message

messyp...@gmail.com

unread,
Nov 8, 2025, 9:15:21 PMNov 8
to weewx-user
I'm wondering if mixing weewx 5.2 with this Debian (Raspberry Pi) version just isn't ready. Can anyone help?
Raspberry Pi 4 Model B Rev 1.1
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"    NAME="Debian GNU/Linux"
VERSION="13 (trixie)"
Linux PI4B1 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
sudo dmesg | grep ttyUSB
[   34.631592] usb 1-1.2: cp210x converter now attached to ttyUSB0
 lt ttyUSB*
crw-rw-r-- 1 root weewx 188, 0 Nov  8 19:18 ttyUSB0
DEBUG IS SET TO 2
Nov 08 19:18:51 PI4B1 sudo[1405]:       pi : TTY=pts/1 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/systemctl start weewx
Nov 08 19:18:51 PI4B1 systemd[1]: Started weewx.service - WeeWX.
Nov 08 19:18:51 PI4B1 sudo[1405]: pam_unix(sudo:session): session opened for user root(uid=0) by pi(uid=1000)
Nov 08 19:18:51 PI4B1 sudo[1405]: pam_unix(sudo:session): session closed for user root
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Initializing weewxd version 5.2.0
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Using Python: 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0]
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Located at:   /usr/bin/python3
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Platform:     Linux-6.12.47+rpt-rpi-v8-aarch64-with-glibc2.41
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Locale:       'en_GB.UTF-8'
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Config file:  /etc/weewx/weewx.conf
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: User module:  /etc/weewx/bin/user
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Debug:        2
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: User:         weewx
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Group:        weewx
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Groups:       weewx
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG __main__: loop_on_init: False
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG __main__: Initializing engine
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: Loading station type Ultimeter (weewx.drivers.ultimeter)
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.drivers.ultimeter: Driver version is 0.6
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.drivers.ultimeter: Using serial port /dev/ttyUSB0
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.drivers.ultimeter: Open serial port /dev/ttyUSB0
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: StdConvert target unit is 0x1
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdQC
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.wxservices: Calculations for LOOP packets: {'pressure': 'prefer_hardware', 'altimeter': 'prefer_hardware', 'appTemp': 'prefer_hardware', 'barometer': 'prefer_hardware', 'cloudbase': 'prefer_hardware', 'dewpoint': 'prefer_hardware', 'ET': 'prefer_hardware', 'heatindex': 'prefer_hardware', 'humidex': 'prefer_hardware', 'inDewpoint': 'prefer_hardware', 'maxSolarRad': 'prefer_hardware', 'rainRate': 'prefer_hardware', 'windchill': 'prefer_hardware', 'windrun': 'prefer_hardware', 'windDir': 'software', 'windGustDir': 'software'}
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.wxservices: Calculations for archive records: {'pressure': 'prefer_hardware', 'altimeter': 'prefer_hardware', 'appTemp': 'prefer_hardware', 'barometer': 'prefer_hardware', 'cloudbase': 'prefer_hardware', 'dewpoint': 'prefer_hardware', 'ET': 'prefer_hardware', 'heatindex': 'prefer_hardware', 'humidex': 'prefer_hardware', 'inDewpoint': 'prefer_hardware', 'maxSolarRad': 'prefer_hardware', 'rainRate': 'prefer_hardware', 'windchill': 'prefer_hardware', 'windrun': 'prefer_hardware', 'windDir': 'software', 'windGustDir': 'software'}
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.manager: Daily summary version is 4.0
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: Archive will use data binding wx_binding
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: Record generation will be attempted in 'hardware'
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: StationRegistry: Registration not requested.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: Wunderground: Posting not enabled.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: PWSweather: Posting not enabled.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: CWOP: Posting not enabled.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: WOW: Posting not enabled.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdWOWBE
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: WOW-BE: Posting not enabled.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWOWBE
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.restx: AWEKAS: Posting not enabled.
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Loading service weewx.engine.StdReport
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO __main__: Starting up weewx version 5.2.0
Nov 08 19:18:52 PI4B1 weewxd[1410]: DEBUG weewx.engine: Station does not support reading the time
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.manager: Starting backfill of daily summaries
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.manager: Daily summaries up to date
Nov 08 19:18:52 PI4B1 weewxd[1410]: INFO weewx.engine: Starting main packet loop.
IF I set it back to simulator, it records data, but that's not what I want. I am using the default installed Seasons skins now. It's set to my Davis Vantage which I've had running on the previous version of Raspbian OS (Bookworm, Bullseye), and weewx 4.9.1, for several years now.
Syslog (journalctl) shows nothing that hints that it's not working, but it isn't.
Can anyone help? Thanks.

John Smith

unread,
Nov 8, 2025, 10:35:35 PMNov 8
to weewx...@googlegroups.com
There is no errors in the log you posted, make sure you have debug=1 set and let it go for a complete archive period, and instead of paste, attach a text file to the email or use a pastebin website and post a link to it.

--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/16739403-0b63-44e6-b070-0496186e76ecn%40googlegroups.com.

Messy Potamia

unread,
Nov 9, 2025, 9:58:36 AMNov 9
to weewx...@googlegroups.com
I know there's no errors that's what's frustrating. debug=2, are you
saying =1 is better than =2? But nothing is getting written to
/var/www/html/weewx. Or anywhere else.
I wish there was a wee util that tested communications out ttyUSB0 to
the Davis to see what's going on, I suspect it's not talking but not
saying anything about it.
> You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Oic6tg8l0Lk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAGTinV5MfPQVxnDVQ6QDuM4kUyyGTjzuVO4p1KKMerW%2BPkVpOw%40mail.gmail.com.

Tom Keffer

unread,
Nov 9, 2025, 10:00:10 AMNov 9
to weewx...@googlegroups.com
Wait. You're using a Davis? The log is showing an Ultimeter.

Messy Potamia

unread,
Nov 9, 2025, 10:17:33 AMNov 9
to weewx...@googlegroups.com
DOH ...
Yes I think it's running properly now. I had an ultimeter where I was
posted in Germany 2018-2023 for our house there, while the Davis was
here at home. Somehow my brain... I honestly don't know how my brain
is working lately. Thanks.
> To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAM_H3oM9CJhaw34JU49_rVkw9n6HjMY2X8bojjPZ6xyQ%40mail.gmail.com.

Messy Potamia

unread,
Nov 9, 2025, 3:11:23 PMNov 9
to weewx...@googlegroups.com
Uh oh... why in /var/lib/weewx
do I have a weewx.sdb-journal along with the weewx.sdb? The .sdb is
growing very slowly, and the sdb-journal is growing a bit faster.
FWIW, I have this:
pi@PI4B1:/var/www/html/weewx $ syslogf | grep -i retrieving
Nov 09 14:04:20 PI4B1 weewxd[6853]: DEBUG weewx.drivers.vantage:
Retrieving 13 page(s); starting index= 0
Nov 09 14:06:18 PI4B1 weewxd[6853]: DEBUG weewx.drivers.vantage:
Retrieving 12 page(s); starting index= 0
Nov 09 14:08:08 PI4B1 weewxd[6853]: DEBUG weewx.drivers.vantage:
Retrieving 11 page(s); starting index= 0
The number of pages retrieving seems to be growing smaller. Also, no
html files have been produced since I added the correct driver to
weewx.conf.
??? Thanks

Tom Keffer

unread,
Nov 9, 2025, 8:13:01 PMNov 9
to weewx...@googlegroups.com
the "-journal" file is used to ensure ACID integrity in the database. When the transaction is finally committed, it will go away.

Reply all
Reply to author
Forward
0 new messages