Did you try running weewxd manually on the command line? On Mon, 4 Mar 2024 at 01:27, Invisible Man <[email protected]> wrote:
> I found partially why: the upgrade procedure didn't pick up my > /etc/default/weewx, just did a backup and created a new one. > > WEEWX_PYTHON=python3 > WEEWX_BINDIR=/usr/share/weewx > WEEWX_CFG=/etc/weewx/weewx.conf > WEEWX_BIN=/usr/bin/weewxd > > And now it's a horror movie to debug the rest :( I wish I hadn't > upgraded... > > On Sunday, March 3, 2024 at 3:09:27 PM UTC+1 Invisible Man wrote: > >> Ok, but I have very few logs using journalctl -u weewx.service, whereas I >> used to have lots of debug logs. >> >> mars 03 14:47:39 vegan systemd[1]: Stopped LSB: weewx weather system. >> mars 03 14:47:39 vegan systemd[1]: Starting LSB: weewx weather system... >> mars 03 14:47:39 vegan systemd[1]: Started LSB: weewx weather system. >> >> And my weewx database used to be located in /home/weewx/archive/weewx.db. >> And it looks like it hasn't been updated since. Something is wrong like >> it's not using the correct configuration at all. >> >> /home/weewx/archive $ ls -lh weewx.sdb >> -rw-r--r-- 1 weewx root 119M mars 3 14:30 weewx.sdb >> >> It's 15:00. Last update to weewx.sdb is 14:30. Impossible. >> >> On Sunday, March 3, 2024 at 3:05:31 PM UTC+1 John Smith wrote: >> >>> Logs were ditched in favour of journald because the weewx v5 no longer >>> runs as root >>> >>> jounralctl -f -u weewx.service >>> >>> On Mon, 4 Mar 2024 at 01:01, Invisible Man <[email protected]> wrote: >>> >>>> I used to redirect the weewx logs which were normally going to >>>> /var/log/syslog in /var/tmp/log/weewx.log using /etc/rsyslog.d >>>> >>>> :programname,isequal,"weewx" /var/tmp/log/weewx.log >>>> :programname,isequal,"weewx" ~ >>>> >>>> I upgraded to 5.0.2, asked to keep my personal old configuration, but >>>> there are no longer any logs going to /var/tmp/log/weewx.log. >>>> There is no /var/log/weewx either. And /var/log/syslog doesn't have >>>> weewx logs. >>>> I do have logs with journalctl -u weewx. >>>> >>>> Where are my logs?? >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> 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/9d507bdb-fb53-4808-a761-10288af5d8d4n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/weewx-user/9d507bdb-fb53-4808-a761-10288af5d8d4n%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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/0ca14dff-9751-43a2-890d-faeb47502bd2n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/0ca14dff-9751-43a2-890d-faeb47502bd2n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAGTinV6kQ0r4cDQn_g%2BewMgKD2CnC7qdHipumyVzB241ePq63g%40mail.gmail.com.
