I'm blessed if I know why the log doesn't show anything about the crashes. The crash information I showed earlier was actually from systemctl status, after the second crash occurred (the first one reported the serial port access failure). I cannot find a way to get the same detail in the history from journalctl, and the log I am giving you is from running: sudo grep weewxd /var/log/messages >weewx0.log This may omit important detail lines, if they don't contain the string: 'weewxd'
On Wednesday, February 21, 2024 at 10:33:11 AM UTC-5 Tom Keffer wrote: > Glad it's working for you, but why were there log entries of the crt > exception the first time, but not the last? > > If a thread is exiting without telling us why, that's a bug. Looking > through the crt code, the write to the disk is protected by an exception > clause, so it should have caught the permissions error and logged it. > > > > On Tue, Feb 20, 2024 at 7:21 PM 'Peter Fletcher' via weewx-user < > weewx...@googlegroups.com> wrote: > >> That is the entire log from shortly before the update. I am guessing that >> the known bug in crt.py results in the crash not being properly reported. >> >> The good news is that I was able to figure out what was going on. I am >> using crt to produce a file that allows the display of current weather >> conditions on my HOA's website. It is written to a subfolder of its own in >> /var/www/html and uploaded to the HOA site from there by weewx. Again, it >> was the change from weewx running as root to it running as weewx that was >> causing an access privilege error. Simply deleting the old version of the >> file did not solve the problem, but assigning ownership of the relevant >> *subfolder* to weewx:weewx restored normal functionality. >> On Tuesday, February 20, 2024 at 8:50:50 PM UTC-5 Tom Keffer wrote: >> >>> That's the end of the log? Where is the crt error? >>> >>> The record timestamped 2024-02-20 20:30:00 was downloaded from the >>> logger at 20:32:22. I would expect the next record to be processed at >>> 20:35:16 or so. Did you terminate the program? Is there something later in >>> the log? >>> >>> On Tue, Feb 20, 2024 at 5:41 PM 'Peter Fletcher' via weewx-user < >>> weewx...@googlegroups.com> wrote: >>> >>>> Here is the log from before I applied the apt update, through now. This >>>> includes one reboot. The last start was after setting debug=1 in the >>>> config file. I hope that it helps you more than it does me!: >>>> >>>> Feb 20 18:20:19 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: >>>> Generated 7 files for report SeasonsReport in 2.52 seconds >>>> Feb 20 18:20:21 bullseyepi weewxd[447]: INFO weewx.imagegenerator: >>>> Generated 16 images for report SeasonsReport in 1.47 seconds >>>> Feb 20 18:20:21 bullseyepi weewxd[447]: INFO weewx.reportengine: Copied >>>> 0 files to /var/www/html/weewx >>>> Feb 20 18:20:23 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: >>>> Generated 8 files for report PublicReport in 2.19 seconds >>>> Feb 20 18:20:24 bullseyepi weewxd[447]: INFO weewx.imagegenerator: >>>> Generated 16 images for report PublicReport in 1.39 seconds >>>> Feb 20 18:20:24 bullseyepi weewxd[447]: INFO weewx.reportengine: Copied >>>> 0 files to /var/www/html/weewx2 >>>> Feb 20 18:20:25 bullseyepi weewxd[447]: INFO weewx.reportengine: >>>> ftpgenerator: Ftp'd 1 files in 0.75 seconds >>>> Feb 20 18:20:35 bullseyepi weewxd[447]: INFO weewx.reportengine: >>>> ftpgenerator: Ftp'd 22 files in 10.12 seconds >>>> Feb 20 18:25:16 bullseyepi weewxd[447]: INFO weewx.manager: Added >>>> record 2024-02-20 18:25:00 EST (1708471500) to database 'weewx.sdb' >>>> Feb 20 18:25:16 bullseyepi weewxd[447]: INFO weewx.manager: Added >>>> record 2024-02-20 18:25:00 EST (1708471500) to daily summary in 'weewx.sdb' >>>> Feb 20 18:25:19 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: >>>> Generated 7 files for report SeasonsReport in 2.53 seconds >>>> Feb 20 18:25:20 bullseyepi weewxd[447]: INFO weewx.imagegenerator: >>>> Generated 16 images for report SeasonsReport in 1.41 seconds >>>> Feb 20 18:25:20 bullseyepi weewxd[447]: INFO weewx.reportengine: Copied >>>> 0 files to /var/www/html/weewx >>>> Feb 20 18:25:23 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: >>>> Generated 8 files for report PublicReport in 2.19 seconds >>>> Feb 20 18:25:24 bullseyepi weewxd[447]: INFO weewx.imagegenerator: >>>> Generated 16 images for report PublicReport in 1.40 seconds >>>> Feb 20 18:25:24 bullseyepi weewxd[447]: INFO weewx.reportengine: Copied >>>> 0 files to /var/www/html/weewx2 >>>> Feb 20 18:25:25 bullseyepi weewxd[447]: INFO weewx.reportengine: >>>> ftpgenerator: Ftp'd 1 files in 0.76 seconds >>>> Feb 20 18:25:36 bullseyepi weewxd[447]: INFO weewx.reportengine: >>>> ftpgenerator: Ftp'd 22 files in 11.08 seconds >>>> Feb 20 18:30:21 bullseyepi weewxd[447]: INFO weewx.manager: Added >>>> record 2024-02-20 18:30:00 EST (1708471800) to database 'weewx.sdb' >>>> Feb 20 18:30:21 bullseyepi weewxd[447]: INFO weewx.manager: Added >>>> record 2024-02-20 18:30:00 EST (1708471800) to daily summary in 'weewx.sdb' >>>> Feb 20 18:30:24 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: >>>> Generated 7 files for report SeasonsReport in 3.31 seconds >>>> Feb 20 18:30:26 bullseyepi weewxd[447]: INFO weewx.imagegenerator: >>>> Generated 16 images for report SeasonsReport in 1.62 seconds >>>> Feb 20 18:30:26 bullseyepi weewxd[447]: INFO weewx.reportengine: Copied >>>> 0 files to /var/www/html/weewx >>>> Feb 20 18:30:28 bullseyepi weewxd[447]: INFO weewx.cheetahgenerator: >>>> Generated 8 files for report PublicReport in 2.54 seconds >>>> Feb 20 18:30:30 bullseyepi weewxd[447]: INFO weewx.imagegenerator: >>>> Generated 16 images for report PublicReport in 1.47 seconds >>>> Feb 20 18:30:30 bullseyepi weewxd[447]: INFO weewx.reportengine: Copied >>>> 0 files to /var/www/html/weewx2 >>>> Feb 20 18:30:31 bullseyepi weewxd[447]: INFO weewx.reportengine: >>>> ftpgenerator: Ftp'd 1 files in 0.76 seconds >>>> Feb 20 18:30:41 bullseyepi weewxd[447]: INFO weewx.reportengine: >>>> ftpgenerator: Ftp'd 22 files in 10.28 seconds >>>> Feb 20 18:32:29 bullseyepi weewxd[447]: INFO __main__: Received signal >>>> TERM (15). >>>> Feb 20 18:32:29 bullseyepi weewxd[447]: INFO weewx.engine: Main loop >>>> exiting. Shutting engine down. >>>> Feb 20 18:32:29 bullseyepi weewxd[447]: INFO weewx.engine: Shutting >>>> down StdReport thread >>>> Feb 20 18:32:29 bullseyepi weewxd[447]: INFO __main__: Terminating >>>> weewx version 5.0.0 >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Initializing >>>> weewxd version 5.0.2 >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Command line: >>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Using Python >>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110] >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Located at >>>> /usr/bin/python3 >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Platform >>>> Linux-6.1.21-v7+-armv7l-with-glibc2.31 >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Locale: 'en_US' >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Entry path: >>>> /usr/share/weewx/weewxd.py >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: WEEWX_ROOT: >>>> /etc/weewx >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Configuration >>>> file: /etc/weewx/weewx.conf >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: User module: >>>> /etc/weewx/bin/user >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO __main__: Debug: 0 >>>> Feb 20 18:33:15 bullseyepi weewxd[18134]: INFO weewx.engine: Loading >>>> station type Vantage (weewx.drivers.vantage) >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Initializing >>>> weewxd version 5.0.2 >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Command line: >>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Using Python >>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110] >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Located at >>>> /usr/bin/python3 >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Platform >>>> Linux-6.1.21-v7+-armv7l-with-glibc2.31 >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Locale: 'en_US' >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Entry path: >>>> /usr/share/weewx/weewxd.py >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: WEEWX_ROOT: >>>> /etc/weewx >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Configuration >>>> file: /etc/weewx/weewx.conf >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: User module: >>>> /etc/weewx/bin/user >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO __main__: Debug: 0 >>>> Feb 20 18:37:29 bullseyepi weewxd[589]: INFO weewx.engine: Loading >>>> station type Vantage (weewx.drivers.vantage) >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Initializing >>>> weewxd version 5.0.2 >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Command line: >>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Using Python >>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110] >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Located at >>>> /usr/bin/python3 >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Platform >>>> Linux-6.1.21-v7+-armv7l-with-glibc2.31 >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Locale: 'en_US' >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Entry path: >>>> /usr/share/weewx/weewxd.py >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: WEEWX_ROOT: >>>> /etc/weewx >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Configuration >>>> file: /etc/weewx/weewx.conf >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: User module: >>>> /etc/weewx/bin/user >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO __main__: Debug: 0 >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO weewx.engine: Loading >>>> station type Vantage (weewx.drivers.vantage) >>>> Feb 20 18:48:35 bullseyepi weewxd.py: ArchTH: using /var/tmp/THNow.txt >>>> Feb 20 18:48:35 bullseyepi weewxd.py: LoopTH: using /var/tmp/THNow.txt >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO weewx.engine: StdConvert >>>> target unit is 0x1 >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO weewx.wxservices: >>>> StdWXCalculate will use data binding wx_binding >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO weewx.engine: Archive >>>> will use data binding wx_binding >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO weewx.engine: Record >>>> generation will be attempted in 'hardware' >>>> Feb 20 18:48:35 bullseyepi weewxd[3348]: INFO weewx.engine: Using >>>> archive interval of 300 seconds (specified by hardware) >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO user.crt: service version >>>> is 0.21 >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO user.crt: realtime txt >>>> output goes to /var/www/html/weewx3/realtime.txt >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO user.crt: 'None' values >>>> will be displayed as NULL >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO user.crt: zambretti >>>> forecast: False >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO user.crt: binding is loop >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.restx: >>>> StationRegistry: Station will be registered. >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.restx: >>>> Wunderground: Posting not enabled. >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.restx: PWSweather: >>>> Posting not enabled. >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.restx: CWOP: >>>> Posting not enabled. >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.restx: WOW: Posting >>>> not enabled. >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.restx: AWEKAS: >>>> Posting not enabled. >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.engine: 'pyephem' >>>> detected, extended almanac data is available >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO __main__: Starting up >>>> weewx version 5.0.2 >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.engine: Clock error >>>> is 0.23 seconds (positive is fast) >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.engine: Using >>>> binding 'wx_binding' to database 'weewx.sdb' >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.manager: Starting >>>> backfill of daily summaries >>>> Feb 20 18:48:36 bullseyepi weewxd[3348]: INFO weewx.manager: Daily >>>> summaries up to date >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.manager: Added >>>> record 2024-02-20 18:35:00 EST (1708472100) to database 'weewx.sdb' >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.manager: Added >>>> record 2024-02-20 18:35:00 EST (1708472100) to daily summary in 'weewx.sdb' >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.manager: Added >>>> record 2024-02-20 18:40:00 EST (1708472400) to database 'weewx.sdb' >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.manager: Added >>>> record 2024-02-20 18:40:00 EST (1708472400) to daily summary in 'weewx.sdb' >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.manager: Added >>>> record 2024-02-20 18:45:00 EST (1708472700) to database 'weewx.sdb' >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.manager: Added >>>> record 2024-02-20 18:45:00 EST (1708472700) to daily summary in 'weewx.sdb' >>>> Feb 20 18:48:37 bullseyepi weewxd[3348]: INFO weewx.engine: Starting >>>> main packet loop. >>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: INFO weewx.engine: Main loop >>>> exiting. Shutting engine down. >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Initializing >>>> weewxd version 5.0.2 >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Command line: >>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Using Python >>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110] >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Located at >>>> /usr/bin/python3 >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Platform >>>> Linux-6.1.21-v7+-armv7l-with-glibc2.31 >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Locale: 'en_US' >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Entry path: >>>> /usr/share/weewx/weewxd.py >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: WEEWX_ROOT: >>>> /etc/weewx >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Configuration >>>> file: /etc/weewx/weewx.conf >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: User module: >>>> /etc/weewx/bin/user >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO __main__: Debug: 1 >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO weewx.engine: Loading >>>> station type Vantage (weewx.drivers.vantage) >>>> Feb 20 20:32:15 bullseyepi weewxd.py: ArchTH: using /var/tmp/THNow.txt >>>> Feb 20 20:32:15 bullseyepi weewxd.py: LoopTH: using /var/tmp/THNow.txt >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO weewx.engine: StdConvert >>>> target unit is 0x1 >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO weewx.wxservices: >>>> StdWXCalculate will use data binding wx_binding >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO weewx.engine: Archive >>>> will use data binding wx_binding >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO weewx.engine: Record >>>> generation will be attempted in 'hardware' >>>> Feb 20 20:32:15 bullseyepi weewxd[17786]: INFO weewx.engine: Using >>>> archive interval of 300 seconds (specified by hardware) >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO user.crt: service >>>> version is 0.21 >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO user.crt: realtime txt >>>> output goes to /var/www/html/weewx3/realtime.txt >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO user.crt: 'None' values >>>> will be displayed as NULL >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO user.crt: zambretti >>>> forecast: False >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO user.crt: binding is loop >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.restx: >>>> StationRegistry: Station will be registered. >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.restx: >>>> Wunderground: Posting not enabled. >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.restx: PWSweather: >>>> Posting not enabled. >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.restx: CWOP: >>>> Posting not enabled. >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.restx: WOW: >>>> Posting not enabled. >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.restx: AWEKAS: >>>> Posting not enabled. >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.engine: 'pyephem' >>>> detected, extended almanac data is available >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO __main__: Starting up >>>> weewx version 5.0.2 >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.engine: Clock >>>> error is 0.29 seconds (positive is fast) >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.engine: Using >>>> binding 'wx_binding' to database 'weewx.sdb' >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.manager: Starting >>>> backfill of daily summaries >>>> Feb 20 20:32:16 bullseyepi weewxd[17786]: INFO weewx.manager: Daily >>>> summaries up to date >>>> Feb 20 20:32:17 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 18:50:00 EST (1708473000) to database 'weewx.sdb' >>>> Feb 20 20:32:17 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 18:50:00 EST (1708473000) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:17 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 18:55:00 EST (1708473300) to database 'weewx.sdb' >>>> Feb 20 20:32:17 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 18:55:00 EST (1708473300) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:00:00 EST (1708473600) to database 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:00:00 EST (1708473600) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:05:00 EST (1708473900) to database 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:05:00 EST (1708473900) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:10:00 EST (1708474200) to database 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:10:00 EST (1708474200) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:15:00 EST (1708474500) to database 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:15:00 EST (1708474500) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:20:00 EST (1708474800) to database 'weewx.sdb' >>>> Feb 20 20:32:18 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:20:00 EST (1708474800) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:25:00 EST (1708475100) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:25:00 EST (1708475100) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:30:00 EST (1708475400) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:30:00 EST (1708475400) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:35:00 EST (1708475700) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:35:00 EST (1708475700) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:40:00 EST (1708476000) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:40:00 EST (1708476000) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:45:00 EST (1708476300) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:45:00 EST (1708476300) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:50:00 EST (1708476600) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:50:00 EST (1708476600) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:55:00 EST (1708476900) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 19:55:00 EST (1708476900) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:00:00 EST (1708477200) to database 'weewx.sdb' >>>> Feb 20 20:32:19 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:00:00 EST (1708477200) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:05:00 EST (1708477500) to database 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:05:00 EST (1708477500) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:10:00 EST (1708477800) to database 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:10:00 EST (1708477800) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:15:00 EST (1708478100) to database 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:15:00 EST (1708478100) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:20:00 EST (1708478400) to database 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:20:00 EST (1708478400) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:25:00 EST (1708478700) to database 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:25:00 EST (1708478700) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:30:00 EST (1708479000) to database 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.manager: Added >>>> record 2024-02-20 20:30:00 EST (1708479000) to daily summary in 'weewx.sdb' >>>> Feb 20 20:32:20 bullseyepi weewxd[17786]: INFO weewx.engine: Starting >>>> main packet loop. >>>> Feb 20 20:32:22 bullseyepi weewxd[17786]: INFO weewx.engine: Main loop >>>> exiting. Shutting engine down. >>>> >>>> On Tuesday, February 20, 2024 at 7:48:58 PM UTC-5 Tom Keffer wrote: >>>> >>>>> The "AttributeError" problem is a known problem with crt. See this >>>>> thread >>>>> <https://groups.google.com/g/weewx-user/c/Zb-T43uv_jo/m/OagAfiImAQAJ> >>>>> . >>>>> >>>>> But, it is not the actual problem --- it's just a reporting problem. >>>>> For the actual problem, we will need to see more of the log. >>>>> >>>>> On Tue, Feb 20, 2024 at 4:14 PM 'Peter Fletcher' via weewx-user < >>>>> weewx...@googlegroups.com> wrote: >>>>> >>>>>> I have had weewx 4.x (apt installed) running happily on my Pi 3b for >>>>>> years. A month ago, since 5.0 seemed to be stable, I allowed the upgrade >>>>>> to >>>>>> the then current release of 5.0. Since there had been a few concerns >>>>>> raised >>>>>> about it, I did a complete image backup of the Pi before allowing the >>>>>> upgrade. This turned out not to be necessary, since the upgrade >>>>>> essentially >>>>>> 'just worked', though I did have to deal with the missing private key >>>>>> issue >>>>>> that has been discussed elsewhere. This evening, as part of a routine >>>>>> apt >>>>>> full-upgrade, , I was updated to 5.02, and the weewx installation >>>>>> appears >>>>>> to have been comprehensively clobbered. Sadly, it didn't occur to me to >>>>>> do >>>>>> an image backup before a minor update, So I don't have an easy way of >>>>>> going >>>>>> back. The initial error appeared to be an access violation to >>>>>> /dev/serial0, >>>>>> such as was described in another recent thread with this version of >>>>>> weewx, >>>>>> but changing the ownership of the serial port to weewx:weewx only >>>>>> changed >>>>>> the problem. systemctl status now reports: >>>>>> * weewx.service - WeeWX >>>>>> Loaded: loaded (/lib/systemd/system/weewx.service; enabled; >>>>>> vendor preset: enabled) >>>>>> Active: failed (Result: exit-code) since Tue 2024-02-20 18:48:39 >>>>>> EST; 31s ago >>>>>> Docs: https://weewx.com/docs >>>>>> Process: 3348 ExecStart=weewxd /etc/weewx/weewx.conf >>>>>> (code=exited, status=1/FAILURE) >>>>>> Main PID: 3348 (code=exited, status=1/FAILURE) >>>>>> CPU: 1.256s >>>>>> >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> callback(event) >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> File "/etc/weewx/bin/user/crt.py", line 540, in handle_new_loop >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> self.handle_data(event.packet) >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> File "/etc/weewx/bin/user/crt.py", line 563, in handle_data >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> weeutil.weeutil.log_traceback('crt: **** ') >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> AttributeError: module 'weeutil.weeutil' has no attribute >>>>>> 'log_traceback' >>>>>> Feb 20 18:48:39 bullseyepi weewxd[3348]: CRITICAL __main__: **** >>>>>> Exiting. >>>>>> Feb 20 18:48:39 bullseyepi systemd[1]: weewx.service: Main process >>>>>> exited, code=exited, status=1/FAILURE >>>>>> Feb 20 18:48:39 bullseyepi systemd[1]: weewx.service: Failed with >>>>>> result 'exit-code'. >>>>>> Feb 20 18:48:39 bullseyepi systemd[1]: weewx.service: Consumed 1.256s >>>>>> CPU time. >>>>>> >>>>>> What is going on? >>>>>> >>>>>> -- >>>>>> >>>>> 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 on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/9e86020c-1a88-4b0a-b47f-6133c5432b88n%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/9e86020c-1a88-4b0a-b47f-6133c5432b88n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>> 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 on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/96076e7b-357f-48a3-acb9-9a9e88093af6n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/96076e7b-357f-48a3-acb9-9a9e88093af6n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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 on the web visit >> https://groups.google.com/d/msgid/weewx-user/abf06977-25b8-40cc-b70d-7522eb9db682n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/abf06977-25b8-40cc-b70d-7522eb9db682n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/b9530545-b7bf-4fda-8dff-a62432d22978n%40googlegroups.com.