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/24c5b9b5-ee04-4953-bb57-509a08c82294n%40googlegroups.com.

Reply via email to