And it still doesn't work? Ok, you've got me stumped. 1. Show more of the log, not just what a service 'status' command shows. It may show clues farther upstream.
2. What happens if you try the *Establishing connectivity <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#establishing-connectivity>* test listed in the Wiki? Make sure you stop weewx first. -tk On Wed, Apr 21, 2021 at 5:14 PM Dave McCreath <[email protected]> wrote: > Tom > > > > Hi. > > > > Yep, mine is the same as yours: > > > > [ 4689.183852] cp210x ttyUSB0: cp210x converter now disconnected from > ttyUSB0 > > [ 4689.183939] cp210x 1-1.4:1.0: device disconnected > > [ 4689.633565] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd > > [ 4692.803586] usb 1-1.4: new full-speed USB device number 6 using xhci_hcd > > [ 4692.938998] usb 1-1.4: New USB device found, idVendor=10c4, > idProduct=ea60, bcdDevice= 1.00 > > [ 4692.939011] usb 1-1.4: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > > [ 4692.939021] usb 1-1.4: Product: CP2102 USB to UART Bridge Controller > > [ 4692.939031] usb 1-1.4: Manufacturer: Silicon Labs > > [ 4692.939040] usb 1-1.4: SerialNumber: 0001 > > [ 4692.946665] cp210x 1-1.4:1.0: cp210x converter detected > > [ 4692.952907] usb 1-1.4: cp210x converter now attached to ttyUSB0 > > [ 4693.217302] usb 1-1.4: USB disconnect, device number 6 > > [ 4693.217689] cp210x ttyUSB0: cp210x converter now disconnected from > ttyUSB0 > > [ 4693.217742] cp210x 1-1.4:1.0: device disconnected > > [ 4693.513548] usb 1-1.4: new full-speed USB device number 7 using xhci_hcd > > [ 4693.648964] usb 1-1.4: New USB device found, idVendor=10c4, > idProduct=ea60, bcdDevice= 1.00 > > [ 4693.648972] usb 1-1.4: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > > [ 4693.648979] usb 1-1.4: Product: CP2102 USB to UART Bridge Controller > > [ 4693.648986] usb 1-1.4: Manufacturer: Silicon Labs > > [ 4693.648992] usb 1-1.4: SerialNumber: 0001 > > [ 4693.652553] cp210x 1-1.4:1.0: cp210x converter detected > > [ 4693.657075] usb 1-1.4: cp210x converter now attached to ttyUSB0 > > pi@raspberrypi:~ $ > > > > Regards > > > > Dave > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Tom Keffer > *Sent:* 22 April 2021 01:07 > *To:* weewx-user <[email protected]> > *Subject:* Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue > > > > Do you have a device /dev/ttyUSB0? That's normally where a Vantage shows > up in the device directory, but not always. > > > > The most reliable way to find out where the Vantage ended up is to unplug > it, plug it in again, then type 'dmesg'. This will look something like: > > > > *dmesg* > > [14818.699217] usb 2-2.1: USB disconnect, device number 4 > [14818.699660] pl2303 ttyUSB0: pl2303 converter now disconnected from > ttyUSB0 > [14818.699710] pl2303 2-2.1:1.0: device disconnected > [14820.731608] usb 2-2.1: new full-speed USB device number 10 using > xhci_hcd > [14820.844750] usb 2-2.1: New USB device found, idVendor=05ad, > idProduct=0fba, bcdDevice= 3.00 > [14820.844756] usb 2-2.1: New USB device strings: Mfr=1, Product=2, > SerialNumber=0 > [14820.844759] usb 2-2.1: Product: USB-Serial Controller > [14820.844761] usb 2-2.1: Manufacturer: Prolific Technology Inc. > [14820.852720] pl2303 2-2.1:1.0: pl2303 converter detected > [14820.856368] usb 2-2.1: pl2303 converter now attached to ttyUSB0 > > > > In my case, the serial-to-usb converter showed up at /dev/ttyUSB0, but > your results may differ. > > > > -tk > > > > On Wed, Apr 21, 2021 at 4:34 PM Dave McCreath <[email protected]> > wrote: > > 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 > <https://groups.google.com/d/msgid/weewx-user/27e48fc1-8ea2-44c7-bdaa-73cfb1c15dcen%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/8CM2mGJ4eh8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zECZ4Z%3DFCUUjoGFqJAgVkMg-WAiD6YpV2RXo69uMtAv7%2BA%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zECZ4Z%3DFCUUjoGFqJAgVkMg-WAiD6YpV2RXo69uMtAv7%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > -- > 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/005e01d7370c%2481fce9d0%2485f6bd70%24%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/005e01d7370c%2481fce9d0%2485f6bd70%24%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEBazc%3DxY6aYLy3TfaXJUcO%3D%3D9jFytxfveW3gFP%2B5fGG-g%40mail.gmail.com.
