The logs I attached from my previous post are from a 5.0 installation. My one point is that I sue the openSUSE normal installation update via YaST but the config file is still showing version 4.10.2.
~> weewxd --version 5.0.0 shows the current running version. Also, I see debug enabled: 2024-01-17T21:18:28.763125-05:00 linux-3wjh weewxd[31248]: INFO __main__: Initializing weewxd version 5.0.0 2024-01-17T21:18:28.763396-05:00 linux-3wjh weewxd[31248]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf 2024-01-17T21:18:28.763495-05:00 linux-3wjh weewxd[31248]: INFO __main__: Using Python 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC] 2024-01-17T21:18:28.763590-05:00 linux-3wjh weewxd[31248]: INFO __main__: Located at /usr/bin/python3 2024-01-17T21:18:28.773695-05:00 linux-3wjh weewxd[31248]: INFO __main__: Platform Linux-5.14.21-150500.55.39-default-x86_64-with-glibc2.3.4 2024-01-17T21:18:28.773884-05:00 linux-3wjh weewxd[31248]: INFO __main__: Locale: 'en_US.UTF-8' 2024-01-17T21:18:28.774001-05:00 linux-3wjh weewxd[31248]: INFO __main__: Entry path: /usr/share/weewx/weewxd.py 2024-01-17T21:18:28.774104-05:00 linux-3wjh weewxd[31248]: INFO __main__: WEEWX_ROOT: / 2024-01-17T21:18:28.774196-05:00 linux-3wjh weewxd[31248]: INFO __main__: Configuration file: /etc/weewx/weewx.conf 2024-01-17T21:18:28.774289-05:00 linux-3wjh weewxd[31248]: INFO __main__: User module: /etc/weewx/bin/user 2024-01-17T21:18:28.774790-05:00 linux-3wjh weewxd[31248]: INFO __main__: Debug: 1 but I do not see any debug level entries when I run sudo journalctl -r -u weewx Reverting back to 4.10.2, then running that command with debug=1, I do see entries: Jan 17 23:01:49 linux-3wjh python3[17385]: weewx[17385] DEBUG __main__: **** _recv = self.socket.recv(_N) So, what config file is 5.0.0 using on openSUSE Leap 15.5? On Thursday, January 18, 2024 at 1:02:58 AM UTC-5 vince wrote: > Files seem to be in /var/www/html/weewx for 4.10.2 but you are not > providing enough logs to see where they are being written to for v5. > > Try "sudo journalctl -xe -n 200 -u weewx" with v5 running. Hit 'q' since > you'll be in a pager. > > Basically I'm looking for the reportengine lines. Mine looks like this > (your path will differ but hopefully it's /var/www/html/weewx for v5 as > well) > Jan 17 21:50:23 pi4 weewxd[11819]: INFO weewx.cheetahgenerator: Generated > 12 files for report Belchertown in 4.35 seconds > Jan 17 21:50:23 pi4 weewxd[11819]: INFO weewx.reportengine: Copied 3 files > to /home/pi/weewx-data/public_html/vp2/belchertown > > > On Wednesday, January 17, 2024 at 7:10:16 PM UTC-8 Jim Wilkerson wrote: > >> Set debug=1 in /etc/weewx/weewx.conf >> >> (2) reports, 21:30 and 22:00 EST >> >> Attached are the requested outputs. >> >> The database appears to have been updated in the same place: >> >> /var/lib/weewx # ls -l >> total 22452 >> -rw-r--r-- 1 root root 22990848 Jan 17 22:00 weewx.sdb >> >> >> On Wednesday, January 17, 2024 at 9:01:43 PM UTC-5 vince wrote: >> >>> Jim please set debug=1 and restart weewx. For logs you might try to do >>> ‘sudo journalctl -u weewx -n 200’ so we see the last 200 lines and not a >>> truncated log,. We need to see your reports actually run and where they are >>> being written to. My wild guess is your v5 is writing to a different place >>> than your v4 does. >>> >>> On Wednesday, January 17, 2024 at 5:49:58 PM UTC-8 gjr80 wrote: >>> >>>> Unfortunately the log extracts you have provided lack detail and are >>>> truncated and consequently of not much help. Please try again noting the >>>> advice in the *How to get a good, useful log* section >>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log> >>>> >>>> of the *Help! Posting to weewx user* wiki page >>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>. >>>> Make sure your log extract covers the full WeeWX startup and at least two >>>> archive intervals of activity. >>>> >>>> Gary >>>> >>> On Thursday 18 January 2024 at 11:20:05 UTC+10 [email protected] wrote: >>>> >>>>> After an update of Weewx 4.10.2 to 5.0, the data on the web page >>>>> >>>>> http://<local IP>/weewx/index.html >>>>> >>>>> no longer refreshes. >>>>> >>>>> Summary data: >>>>> >>>>> uname -a >>>>> Linux linux-3wjh 5.14.21-150500.55.39-default #1 SMP PREEMPT_DYNAMIC >>>>> Tue Dec 5 10:06:35 UTC 2023 (2e4092e) x86_64 x86_64 x86_64 GNU/Linux >>>>> >>>>> openSUSE Leap 15.5 >>>>> >>>>> ~> weewxd --version >>>>> 5.0.0 >>>>> >>>>> ~> python3 --version >>>>> Python 3.6.15 >>>>> >>>>> systemctl status weewx >>>>> ● weewx.service - WeeWX >>>>> Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; >>>>> vendor preset: disabled) >>>>> Active: active (running) since Wed 2024-01-17 19:21:18 EST; 16min >>>>> ago >>>>> Docs: https://weewx.com/docs >>>>> Main PID: 9772 (python3) >>>>> Tasks: 1 (limit: 4915) >>>>> CGroup: /system.slice/weewx.service >>>>> └─ 9772 python3 /usr/share/weewx/weewxd.py >>>>> /etc/weewx/weewx.conf >>>>> >>>>> Weewx shows to be running OK as seen in the attached logs file. >>>>> >>>>> If I roll back to 4.10.2, the web page refreshes as normal. >>>>> >>>>> >>>>> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/82f04230-c521-4d6b-8916-e8b502683e35n%40googlegroups.com.
