re the version of weewx, I did "sudo apt update; sudo apt upgrade; sudo apt 
install weewx" and I get the response that 5.0.1 is the current version.  I 
looked in /etc/apt/sources.d, and the file weewx.list contains only one 
commented out line:

# deb [arch=all] http://weewx.com/apt/python3 buster main # disabled on 
upgrade to jammy

I'm now on Linux 24.04.1 LTS, which is, I think, jammy.  Should I have a 
different repository list?

Re the port problem, I've changed the wifilogger port to 2222 (instead of 
22222), and set debug to 1 and port 2222 in weewx.conf.  Still no joy.  
Here's the log with debug.

2024-10-14T18:25:40.108787-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Initializing weewxd version 5.0.1
2024-10-14T18:25:40.110003-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
2024-10-14T18:25:40.121078-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Using Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
2024-10-14T18:25:40.121308-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Located at /usr/bin/python3
2024-10-14T18:25:40.122800-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Platform Linux-5.15.0-122-generic-x86_64-with-glibc2.39
2024-10-14T18:25:40.123611-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Locale: 'en_US.UTF-8'
2024-10-14T18:25:40.124478-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Entry path: /usr/share/weewx/weewxd.py
2024-10-14T18:25:40.125329-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: WEEWX_ROOT: /etc/weewx
2024-10-14T18:25:40.126199-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Configuration file: /etc/weewx/weewx.conf
2024-10-14T18:25:40.127036-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: User module: /etc/weewx/bin/user
2024-10-14T18:25:40.127989-07:00 ubu-mini-weather weewxd[941]: INFO 
__main__: Debug: 1
2024-10-14T18:25:40.128951-07:00 ubu-mini-weather weewxd[941]: DEBUG 
__main__: Initializing engine
2024-10-14T18:25:40.136337-07:00 ubu-mini-weather weewxd[941]: INFO 
weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-10-14T18:25:40.291519-07:00 ubu-mini-weather weewxd[941]: DEBUG 
weewx.drivers.vantage: Driver version is 3.6.2
2024-10-14T18:25:40.300207-07:00 ubu-mini-weather weewxd[941]: DEBUG 
weewx.drivers.vantage: Option loop_request=2
2024-10-14T18:25:40.301295-07:00 ubu-mini-weather weewxd[941]: ERROR 
weewx.drivers.vantage: Socket error while opening port 2222 to ethernet 
host 192.168.198.91.
2024-10-14T18:25:40.302074-07:00 ubu-mini-weather weewxd[941]: ERROR 
weewx.engine: Import of driver failed: [Errno 101] Network is unreachable 
(<class 'weewx.WeeWxIOError'>)
2024-10-14T18:25:40.309610-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****  Traceback (most recent call last):
2024-10-14T18:25:40.310587-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", 
line 354, in openPort
2024-10-14T18:25:40.311404-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****      self.socket.connect((self.host, self.port))
2024-10-14T18:25:40.312183-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****  OSError: [Errno 101] Network is unreachable
2024-10-14T18:25:40.312794-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****  
2024-10-14T18:25:40.313291-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****  During handling of the above exception, another 
exception occurred:
2024-10-14T18:25:40.313738-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****  
2024-10-14T18:25:40.314173-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****  Traceback (most recent call last):
2024-10-14T18:25:40.314724-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 
115, in setupStation
2024-10-14T18:25:40.316118-07:00 ubu-mini-weather weewxd[941]: CRITICAL 
weewx.engine:     ****      self.console = loader_function(config_dict, 
self)

I tried to telnet to the new port, and get the following:
$ telnet 192.168.198.91:2222
Server lookup failure:  192.168.198.91:2222:telnet, Name or service not 
known

I think that is a message from the logger, but I'm not certain.

BTW, I'm using my old conf file, which still says it's version 4.8.  
Doesn't seem like that should be thr problem, but...
On Monday, October 14, 2024 at 4:58:52 PM UTC-7 Tom Keffer wrote:

> Being able to browse to the logger doesn't really prove much. Port 80 is a 
> very common port to leave open. Port 22222, not so common.
>
> Try telnet to port 22222 as the same user that's running weewxd. I don't 
> know what user that is (debug=1 would tell you), but if you upgraded to 
> v5.0.1, it's likely to be user 'weewx'.
>
> Which makes me realize we didn't address your other problem: not upgrading 
> to v5.1.0. I have not seen that before. Can you try apt update and upgrade 
> again?
>
> -tk
>
>
> On Mon, Oct 14, 2024 at 4:44 PM 'loonsailor' via weewx-user <
> weewx...@googlegroups.com> wrote:
>
>> I've confirmed that the computer can reach the station by doing so from 
>> the browser.  WifiLogger has an html interface, and I can see it and 
>> interact with it from the same computer that's running weewx.
>>
>> -- 
>> 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/91164721-a326-4044-bbd1-45b0f6056923n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/91164721-a326-4044-bbd1-45b0f6056923n%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/f5dc9df1-e4a5-4a19-baa2-f4dc0ad5573fn%40googlegroups.com.

Reply via email to