It always pays to read the Upgrade Guide. That's what it's there for. On Sat, Feb 10, 2024 at 11:42 PM Kevin Key <kevin...@gmail.com> wrote:
> Well I'll be damned. Removing the references to 'rotate" fixed the > problem. :) > > On Saturday, February 10, 2024 at 11:35:54 PM UTC-8 Kevin Key wrote: > >> Thanks. I'm going to see where - unknowingly - I may be calling that in >> my config...... >> >> On Saturday, February 10, 2024 at 9:13:57 PM UTC-8 vince wrote: >> >>> You must be coming from a very old version… >>> >>> From the release notes… >>> >>> 4.10.1 01/30/2023¶ >>> <https://www.weewx.com/docs/5.0/changes/#4101-01302023> >>> >>> Logging handler rotate has been removed. Its need to access privileged >>> location /var/log/weewx.log on start up would cause crashes, even if it >>> was never used. >>> >>> V5 logging docs are at https://github.com/weewx/weewx/wiki/logging >>> >>> On Saturday, February 10, 2024 at 6:37:44 PM UTC-8 Kevin Key wrote: >>> >>>> I made the mistake of upgrading weewx to the latest version. Now it >>>> won't run. >>>> >>>> kevin@linux:~$ sudo systemctl status weewx >>>> × weewx.service - WeeWX >>>> Loaded: loaded (/lib/systemd/system/weewx.service; enabled; >>>> preset: enabled) >>>> Active: failed (Result: exit-code) since Sat 2024-02-10 18:36:31 >>>> PST; 11s ago >>>> Duration: 177ms >>>> Docs: https://weewx.com/docs >>>> Process: 25355 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, >>>> status=3) >>>> Main PID: 25355 (code=exited, status=3) >>>> CPU: 153ms >>>> >>>> Feb 10 18:36:31 linux weewxd[25355]: >>>> weeutil.logger.setup(namespace.log_label, config_dict) >>>> Feb 10 18:36:31 linux weewxd[25355]: File >>>> "/usr/share/weewx/weeutil/logger.py", line 154, in setup >>>> Feb 10 18:36:31 linux weewxd[25355]: >>>> logging.config.dictConfig(log_dict) >>>> Feb 10 18:36:31 linux weewxd[25355]: File >>>> "/usr/lib/python3.11/logging/config.py", line 823, in dictConfig >>>> Feb 10 18:36:31 linux weewxd[25355]: >>>> dictConfigClass(config).configure() >>>> Feb 10 18:36:31 linux weewxd[25355]: File >>>> "/usr/lib/python3.11/logging/config.py", line 580, in configure >>>> Feb 10 18:36:31 linux weewxd[25355]: raise ValueError('Unable to >>>> configure handler ' >>>> Feb 10 18:36:31 linux weewxd[25355]: ValueError: Unable to configure >>>> handler 'rotate' >>>> Feb 10 18:36:31 linux systemd[1]: weewx.service: Main process exited, >>>> code=exited, status=3/NOTIMPLEMENTED >>>> Feb 10 18:36:31 linux systemd[1]: weewx.service: Failed with result >>>> 'exit-code'. >>>> kevin@linux:~$ >>>> >>> -- > 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/69437ced-6925-4af3-b0e2-e5c1d7c1e151n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/69437ced-6925-4af3-b0e2-e5c1d7c1e151n%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/CAPq0zEDF4xOc%2B4inQc6JwnzTw0WPsquXb1AbnGuaeoq5ii%3Ds1g%40mail.gmail.com.