where can i see which user starts weewxd? It worked with weewx matthew wall schrieb am Freitag, 16. Februar 2024 um 13:47:00 UTC+1:
> On Friday, February 16, 2024 at 7:43:26 AM UTC-5 geni08...@gmail.com > wrote: > > After the restore a new attempt, what is missing? > > -- Journal begins at Fri 2024-02-02 10:19:01 CET. -- > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** self.port.openPort() > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in > openPort > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** self.serial_port = serial.Serial(self.port, self.baudrate, > timeout=self.timeout) > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** File "/usr/lib/python3/dist-packages/serial/serialutil.py", line > 244, in __init__ > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** self.open() > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** File "/usr/lib/python3/dist-packages/serial/serialposix.py", line > 325, in open > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** raise SerialException(msg.errno, "could not open port {}: > {}".format(self._port, msg)) > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL weewx.engine: > **** serial.serialutil.SerialException: [Errno 13] could not open port > /dev/ttyUSB0: [Errno 13] Keine Berechtigung: '/dev/ttyUSB0' > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL __main__: Unable to > load driver: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Keine > Berechtigung: '/dev/ttyUSB0' > Feb 16 13:18:47 Wetter-Raspi4 weewxd[416320]: CRITICAL __main__: **** > Exiting... > > > 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 > > -- 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/c4cdf6d0-5d62-4aef-83dd-823fde416099n%40googlegroups.com.