I decided to upgrade weewx when i realized i was way behind. I purchased a new rasberry pi 5 and tried installing weewx. Couldn't get it to run. Output of weewx status is below. I'm at a loss./ Help please.
× weewx.service - WeeWX
Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2025-05-26 13:30:06 MST; 52s ago
Duration: 176ms
Docs:
https://weewx.com/docs Process: 3408 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
Main PID: 3408 (code=exited, status=4)
CPU: 119ms
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL weewx.engine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL weewx.engine: **** self.open()
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL weewx.engine: **** raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL weewx.engine: **** serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL __main__: Unable to load driver: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
May 26 13:30:06 raspberrypi weewxd[3408]: CRITICAL __main__: **** Exiting...
May 26 13:30:06 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
May 26 13:30:06 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
~
~
~
~
weather-new@raspberrypi:~ $