Something to try: edit the weewx service file and change permissions back to root. The service file should be located at /lib/systemd/system/weewx.service. Comment out the User and Group lines. When you're done, it will look something like this:
[Service] ExecStart=weewxd /etc/weewx/weewx.conf StandardOutput=null StandardError=journal+console RuntimeDirectory=weewx RuntimeDirectoryMode=775 # User=weewx # Group=weewx Then restart weewxd. Let us know if that makes a difference. -tk On Wed, Feb 7, 2024 at 6:14 AM Rich Strle <r...@strle.com> wrote: > Hi Tom, it happens every time. Attached is a log of what happened when I > turned off the Pi, restarted the Pi, shut down weewx, and restarted weewx. > > I running a fresh RasberryPi Debian install. Vantage Pro2 with a > WeatherLinkIP attached to a VantagePro2 console. > > Attached is what happened with my most recent boot and the log file. > > > > On Wednesday, February 7, 2024 at 7:54:14 AM UTC-6 Tom Keffer wrote: > >> Rich, >> >> One other question: does this happen after a reboot? Or, every time? >> >> If it's only after a reboot, the problem could be that the network isn't >> ready by the time the VP2 needs it. >> >> >> On Tue, Feb 6, 2024 at 7:51 PM Rich Strle <ri...@strle.com> wrote: >> >>> I've been following the 5.0 issues. I have updated to 5.0.1 and done the >>> usermod but I'm still having issues. RaspberryPi 3 B+ My Vantage Pro is >>> connected via ethernet using the IP adaptor. I appreciate all the work >>> that's gone into this free product. >>> >>> vp2pi@rpivp2:~ $ sudo apt update >>> vp2pi@rpivp2:~ $ sudo apt install weewx >>> >>> vp2pi@rpivp2:~ $ sudo usermod -aG dialout weewx >>> >>> vp2pi@rpivp2:~ $ sudo systemctl status weewx >>> * weewx.service - WeeWX >>> Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor >>> preset: enabled) >>> Active: failed (Result: exit-code) since Tue 2024-02-06 21:19:31 >>> CST; 3min 18s ago >>> Docs: https://weewx.com/docs >>> Process: 460 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, >>> status=4) >>> Main PID: 460 (code=exited, status=4) >>> CPU: 966ms >>> >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL weewx.engine: **** >>> Vantage.__init__(self, **config_dict[DRIVER_NAME]) >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL weewx.engine: **** >>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__ >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL weewx.engine: **** >>> self.port.openPort() >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL weewx.engine: **** >>> File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in openPort >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL weewx.engine: **** >>> raise weewx.WeeWxIOError(ex) >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL weewx.engine: **** >>> weewx.WeeWxIOError: [Errno 101] Network is unreachable >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL __main__: Unable to load >>> driver: [Errno 101] Network is unreachable >>> Feb 06 21:19:31 rpivp2 weewxd[460]: CRITICAL __main__: **** >>> Exiting... >>> Feb 06 21:19:31 rpivp2 systemd[1]: weewx.service: Main process exited, >>> code=exited, status=4/NOPERMISSION >>> Feb 06 21:19:31 rpivp2 systemd[1]: weewx.service: Failed with result >>> 'exit-code'. >>> vp2pi@rpivp2:~ $ sudo usermod -aG dialout 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/2c3336ab-72b9-49bb-a602-be652a00e531n%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/2c3336ab-72b9-49bb-a602-be652a00e531n%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/e62e3dcb-fc4b-4f2a-a986-99783e3c164fn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/e62e3dcb-fc4b-4f2a-a986-99783e3c164fn%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/CAPq0zEDKqMPhEfSCYAhdkBsV0rmCYdtfZuryY%3DVFAFg6vLu9fg%40mail.gmail.com.