Forgot to add.

Now running 4.5.1 from a backup SD card and all is currently well but does 
not look like I'll be able to update/upgrade the RPi until I figure out 
what's wrong.

Regards

Dave

On Thursday, 22 April 2021 at 00:08:18 UTC+1 Dave McCreath wrote:

> Good Evening Venerable Experts
>
> Earlier on today I updated my RPi (sudu apt-get update && sudo apt-get 
> upgrade).  On rebooting WeeWx failed to start, this was post an upgrade 
> from 4.2 to 4.5.1. (I have WeeWx added to the sources list)
>
> So, being savvy, rebooted from a backup sd card to bring the system back 
> to where it was prior to the update/upgrade and WeeWx version 4.2.
>
> I then went about updating/upgrading WeeWx from 4.2 to 4.5 (sudo apt-get 
> install weewx), that went fine, rebooted and WeeWx ran without any issues 
> post the upgrade.
>
> Next I then tried sudu apt-get update && sudo apt-get upgrade again.  Post 
> a reboot, exactly the same issue as before, WeeWx would not start:
>
> pi@raspberrypi:~ $ service weewx status
>
> ● weewx.service - LSB: weewx weather system
>
>    Loaded: loaded (/etc/init.d/weewx; generated)
>
>    Active: active (exited) since Wed 2021-04-21 23:48:06 BST; 2min 28s ago
>
>      Docs: man:systemd-sysv-generator(8)
>
>   Process: 338 ExecStart=/etc/init.d/weewx start (code=exited, 
> status=0/SUCCESS)
>
>  
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****      self.port.openPort()
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", 
> line 308, in openPort
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****      self.serial_port = serial.Serial(self.port, 
> self.baudrate, timeout=self.timeout)
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****    File 
> "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in __init__
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****      self.open()
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****    File 
> "/usr/lib/python3/dist-packages/serial/serialposix.py", line 268, in open
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****      raise SerialException(msg.errno, "could not 
> open port {}: {}".format(self._port, msg))
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> weewx.engine:     ****  serial.serialutil.SerialException: [Errno 2] could 
> not open port /dev/ttyUSB0: [Errno 2] No such file or directory: 
> '/dev/ttyUSB0'
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL __main__: 
> Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 
> 2] No such file or directory: '/dev/ttyUSB0'
>
> Apr 21 23:48:06 raspberrypi python3[611]: weewx[611] CRITICAL 
> __main__:     ****  Exiting...
>
>
> Any ideas?
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/27e48fc1-8ea2-44c7-bdaa-73cfb1c15dcen%40googlegroups.com.

Reply via email to