(In passing, it's a good idea to set debug=1 when you're trying to obtain a log.)
I would guess that the upgrade of Ubuntu somehow changed a firewall or iptables setting, or something similar, rendering the address 192.168.198.91 unreachable from whatever computer WeeWX is running on. To double check this, you could try using telnet to see if you at least have connectivity. Without connectivity, WeeWX won't get far. -tk On Mon, Oct 14, 2024 at 4:06 PM 'loonsailor' via weewx-user < weewx-user@googlegroups.com> wrote: > I've been running weewx 4.8.0 under unbuntu linux 20.04 (I think). I > upgraded today to ubunbtu 24.04.1 LTS, and the process also moved me to > weewx 5.0.1. Now it won't run. First question is, why does "sudo apt > update; sudo apt install weewx" not get me to 5.1? But the much more > important question is, why won't it run at all? Here is the syslog. Note > that the socket that it's trying to open is to the WifiLogger2 board in my > Vantage Pro 2. Any ideas? > > Oct 14 14:32:29 ubu-mini-weather systemd[1]: Stopped Discard unused blocks > once a week. > Oct 14 14:33:18 ubu-mini-weather systemd[1]: Started Discard unused blocks > once a week. > Oct 14 14:33:19 ubu-mini-weather weewxd[833]: INFO __main__: Initializing > weewxd version 5.0.1 > Oct 14 14:33:19 ubu-mini-weather weewxd[833]: INFO __main__: Command line: > /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Using Python > 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Located at > /usr/bin/python3 > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Platform > Linux-5.15.0-122-generic-x86_64-with-glibc2.35 > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Locale: > 'en_US.UTF-8' > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Entry path: > /usr/share/weewx/weewxd.py > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: WEEWX_ROOT: > /etc/weewx > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Configuration > file: /etc/weewx/weewx.conf > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: User module: > /etc/weewx/bin/user > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO __main__: Debug: 0 > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: INFO weewx.engine: Loading > station type Vantage (weewx.drivers.vantage) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: ERROR weewx.drivers.vantage: > Socket error while opening port 22222 to ethernet host 192.168.198.91. > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: ERROR weewx.engine: Import > of driver failed: [Errno 101] Network is unreachable (<class > 'weewx.WeeWxIOError'>) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** Traceback (most recent call last): > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 354, in > openPort > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** self.socket.connect((self.host, self.port)) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** OSError: [Errno 101] Network is unreachable > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** During handling of the above exception, another exception occurred: > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** Traceback (most recent call last): > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** self.console = loader_function(config_dict, self) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** return VantageService(engine, config_dict) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in > __init__ > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** Vantage.__init__(self, **config_dict[DRIVER_NAME]) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in > __init__ > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** self.port.openPort() > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in > openPort > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** raise weewx.WeeWxIOError(ex) > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL weewx.engine: > **** weewx.WeeWxIOError: [Errno 101] Network is unreachable > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL __main__: Unable to > load driver: [Errno 101] Network is unreachable > Oct 14 14:33:20 ubu-mini-weather weewxd[833]: CRITICAL __main__: **** > Exiting... > Oct 14 14:33:20 ubu-mini-weather systemd[1]: weewx.service: Main process > exited, code=exited, status=4/NOPERMISSION > Oct 14 14:33:20 ubu-mini-weather systemd[1]: weewx.service: Failed with > result 'exit-code'. > > -- > 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/fb743fe8-0af4-41ee-ba4a-869e1c1abc8bn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/fb743fe8-0af4-41ee-ba4a-869e1c1abc8bn%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/CAPq0zECgZZoYwsNtvOUnRFEoatmX3nQn_L7XtXDcp%3DAsw%3DmOkA%40mail.gmail.com.