SDR no longer supported? :( What's gong on?!

126 views
Skip to first unread message

Kevin Key

unread,
Feb 10, 2024, 9:37:44 PM2/10/24
to weewx-user
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:~$

vince

unread,
Feb 11, 2024, 12:13:57 AM2/11/24
to weewx-user
You must be coming from a very old version…

From the release notes…

4.10.1 01/30/2023

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.



Kevin Key

unread,
Feb 11, 2024, 2:35:54 AM2/11/24
to weewx-user
Thanks. I'm going to see where - unknowingly - I may be calling that in my config...... 

Kevin Key

unread,
Feb 11, 2024, 2:42:41 AM2/11/24
to weewx-user
Well I'll be damned. Removing the references to 'rotate" fixed the problem. :)

Tom Keffer

unread,
Feb 11, 2024, 8:02:43 AM2/11/24
to weewx...@googlegroups.com
It always pays to read the Upgrade Guide. That's what it's there for.

--
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/69437ced-6925-4af3-b0e2-e5c1d7c1e151n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages