To check which user weewx is running as, try "ps aux | grep weewx | grep -v grep" and look at the output. It should say something like: weewx 4977 7.8 0.7 117336 30056 ? Ssl 18:28 0:00 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Your numbers in the middle of your output will vary but the first column should say 'weewx' and the command starting with 'python3' above should look the same in your output. These lines got me wondering... 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 <======* Agree with Tom about trying to telnet to 22222 as a first test but please do so as an unprivileged user, not as root. I did a quick test here on a ubuntu 24.04.1LTS system and I 'could' access an unprivileged port from a dpkg installation of weewx 5.1.0 just fine. In my test I accessed a similar unprivileged port 45000 which is the ecowitt gateway port, and the weewx user was not in any special groups or anything. FWIW - you might try adding user 'weewx' to group 'netdev' just in case, but that shouldn't be necessary. Try Tom's telnet test first. 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 < > [email protected]> 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 [email protected]. >> > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/67d0cfb2-2f51-496b-acd8-b37a2e56eaa6n%40googlegroups.com.
