Mathew I owe you a beer (or two)!
Your are correct /dev/ttyUSB0 is indeed the USB to serial adaptor to the Vantage Vue. I followed your instructions to the letter and I now have a fully functioning v5.0.2 or WeeWX. Thank you, your help and patience is very, very much appreciated. Dave On Thursday 15 February 2024 at 22:03:02 UTC matthew wall wrote: > On Thursday, February 15, 2024 at 4:43:37 PM UTC-5 dave.m...@gmail.com > wrote: > > Feb 15 21:37:15 weewx weewxd[103822]: CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in > open > Feb 15 21:37:15 weewx weewxd[103822]: CRITICAL weewx.engine: **** > raise SerialException(msg.errno, "could not open port {}: > {}".format(self._port, msg)) > Feb 15 21:37:15 weewx weewxd[103822]: CRITICAL weewx.engine: **** > serial.serialutil.SerialException: [Errno 13] could not open port > /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0' > Feb 15 21:37:15 weewx weewxd[103822]: CRITICAL __main__: Unable to load > driver: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission > denied: '/dev/ttyUSB0' > Feb 15 21:37:15 weewx weewxd[103822]: CRITICAL __main__: **** > Exiting... > Feb 15 21:37:15 weewx systemd[1]: weewx.service: Main process exited, > code=exited, status=4/NOPERMISSION > Feb 15 21:37:15 weewx systemd[1]: weewx.service: Failed with result > 'exit-code'. > > Now unable to restart WeeWX and have rolled back to the previous version. > > Any idea what the issue is? > > > the error indicates that the weewxd process does not have permission to > read/write the USB-to-serial device. make sure that the user running > weewxd has read/write permission to /dev/ttyUSB0 (which is probably a > USB-to-serial adapter). > > for example, if user 'weewx' is running weewxd, then put the weewx user > into the dialout group then restart weewxd: > > sudo usermod -aG dialout weewx > sudo systemctl restart weewx > > see the section about reading/writing to devices in the wiki article "what > you need to know about permissions": > > > https://github.com/weewx/weewx/wiki/Understanding-permissions#readingwriting-data-to-a-device > > please let us know what works for you. there are *so* many variations > when it comes to permissions, and many different ways to make things work. > we're still trying to simplify the documentation to make permissions easier > to understand and deal with. > > m > -- 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/2c89f6bb-fc7e-45ac-95cc-cadb76eff884n%40googlegroups.com.