Just installed Weewx 5 and new install of Bookworm 32 bit on Raspberry pi 4. I'm using a USB Serial interface with my Davis Vantage Vue, which has worked perfectly for the past few years.
$ sudo service weewx status
× weewx.service - WeeWX
Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-06-05 16:07:17 BST; 53s ago
Duration: 299ms
Docs:
https://weewx.com/docs Process: 1733 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
Main PID: 1733 (code=exited, status=4)
CPU: 299ms
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL weewx.engine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL weewx.engine: **** self.open()
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL weewx.engine: **** raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL weewx.engine: **** serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL __main__: Unable to load driver: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
Jun 05 16:07:17 raspberrypi weewxd[1733]: CRITICAL __main__: **** Exiting...
Jun 05 16:07:17 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
Jun 05 16:07:17 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'
Something has changed with permissions I think, but no idea what.