Moved pi3b+ PA v5 to pi4b+ PA v6 - seeing 978 errors

Just upgraded to 6.1, but at the same time I replaced the pi3b+ with a pi4b+. Looking for assistance to make sure it is configured properly.

Details:

  • pi4b+
  • FlightAware Pro Stick Plus v1.0

This is a fresh install of piaware, following these instructions. Then moved the site ID over.

It looks like the dump978 portion is not and keeps restarting. I did the v6.1 install without the FlightAware USB receiver plugged in (it was still running on the pi3b+). Hopefully that did not cause issues.

FlightAware log items:

[2021-09-24 11:22 MST] dump978 start appears to have been successful
[2021-09-24 11:22 MST] attempting to start dump978-fa using 'systemctl --no-block restart dump978-fa.service < /dev/null'...
[2021-09-24 11:22 MST] attempting to start dump978.. 
[2021-09-24 11:22 MST] no ADS-B data program seen listening on port 30978 for 371 seconds, trying to start it...
[2021-09-24 11:22 MST] no ADS-B data program seen listening on port 30978 for 10 seconds, next check in 60s
.
.
[2021-09-24 11:24 MST] 204050 msgs recv'd from dump1090-fa (2906 in last 5m); 204050 msgs sent to FlightAware
[2021-09-24 11:24 MST] 0 msgs recv'd from dump978 (0 in last 5m); 0 msgs sent to FlightAware
[2021-09-24 11:24 MST] no ADS-B data program seen listening on port 30978 for 130 seconds, next check in 60s
[2021-09-24 11:25 MST] no ADS-B data program seen listening on port 30978 for 191 seconds, next check in 60s

pi@piaware:~ $ sudo journalctl -u dump978-fa | tail -n30

Sep 24 11:41:16 piaware dump978-fa[4581]: json-port: listening for connections on 0.0.0.0:30979
Sep 24 11:41:16 piaware dump978-fa[4581]: json-port: listening for connections on [::]:30979
Sep 24 11:41:16 piaware dump978-fa[4581]: usb_claim_interface error -6
Sep 24 11:41:16 piaware dump978-fa[4581]: Configuration error: No matching SoapySDR device found (cause: Unable to find requested RTL-SDR device.)
Sep 24 11:41:16 piaware systemd[1]: dump978-fa.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 24 11:41:16 piaware systemd[1]: dump978-fa.service: Failed with result 'exit-code'.
Sep 24 11:41:46 piaware systemd[1]: dump978-fa.service: Service RestartSec=30s expired, scheduling restart.
Sep 24 11:41:46 piaware systemd[1]: dump978-fa.service: Scheduled restart job, restart counter is at 1567.
Sep 24 11:41:46 piaware systemd[1]: Stopped dump978 ADS-B UAT receiver.
Sep 24 11:41:46 piaware systemd[1]: Started dump978 ADS-B UAT receiver.
Sep 24 11:41:46 piaware dump978-fa[6936]: raw-port: listening for connections on 0.0.0.0:30978
Sep 24 11:41:46 piaware dump978-fa[6936]: raw-port: listening for connections on [::]:30978
Sep 24 11:41:46 piaware dump978-fa[6936]: json-port: listening for connections on 0.0.0.0:30979
Sep 24 11:41:46 piaware dump978-fa[6936]: json-port: listening for connections on [::]:30979
Sep 24 11:41:46 piaware dump978-fa[6936]: usb_claim_interface error -6
Sep 24 11:41:46 piaware dump978-fa[6936]: Configuration error: No matching SoapySDR device found (cause: Unable to find requested RTL-SDR device.)
Sep 24 11:41:46 piaware systemd[1]: dump978-fa.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 24 11:41:46 piaware systemd[1]: dump978-fa.service: Failed with result 'exit-code'.
Sep 24 11:42:16 piaware systemd[1]: dump978-fa.service: Service RestartSec=30s expired, scheduling restart.
Sep 24 11:42:16 piaware systemd[1]: dump978-fa.service: Scheduled restart job, restart counter is at 1568.
Sep 24 11:42:16 piaware systemd[1]: Stopped dump978 ADS-B UAT receiver.
Sep 24 11:42:16 piaware systemd[1]: Started dump978 ADS-B UAT receiver.
Sep 24 11:42:16 piaware dump978-fa[9319]: raw-port: listening for connections on 0.0.0.0:30978
Sep 24 11:42:16 piaware dump978-fa[9319]: raw-port: listening for connections on [::]:30978
Sep 24 11:42:16 piaware dump978-fa[9319]: json-port: listening for connections on 0.0.0.0:30979
Sep 24 11:42:16 piaware dump978-fa[9319]: json-port: listening for connections on [::]:30979
Sep 24 11:42:16 piaware dump978-fa[9319]: usb_claim_interface error -6
Sep 24 11:42:16 piaware dump978-fa[9319]: Configuration error: No matching SoapySDR device found (cause: Unable to find requested RTL-SDR device.)
Sep 24 11:42:16 piaware systemd[1]: dump978-fa.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 24 11:42:16 piaware systemd[1]: dump978-fa.service: Failed with result 'exit-code'.

pi@piaware:~ $ sudo piaware-status

PiAware master process (piaware) is running with pid 28620.
PiAware ADS-B client (faup1090) is running with pid 28906.
PiAware ADS-B UAT client (faup978) is not running.
PiAware mlat client (fa-mlat-client) is running with pid 28855.
Local ADS-B receiver (dump1090-fa) is running with pid 30697.
Local ADS-B UAT receiver (dump978) is not running.

dump1090-fa (pid 30697) is listening for ES connections on port 30005.
no program appears to be listening for UAT connections on port 30978.
faup1090 is connected to the ADS-B receiver.
faup978 is NOT connected to the ADS-B UAT receiver.
piaware is connected to FlightAware.

got 'couldn't open socket: connection refused'
dump978 is NOT producing data on localhost:30978.
dump1090 is producing data on localhost:30005.

pi@piaware:~ $ SoapySDRUtil --find

######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

usb_claim_interface error -6
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3
Found device 0
  default_input = False
  default_output = False
  device_id = 1
  driver = audio
  label = default

Found device 1
  available = No
  driver = rtlsdr
  label = Generic RTL2832U :: 00001000
  manufacturer = Realtek
  product = RTL2832U
  rtl = 0
  serial = 00001000
  tuner =

 

You have a PiAware SD Card image as your command prompt pi@piaware:~ $ shows, but you followed procedure & settigs for a package install.

As you have not plugged in dump978 dongle, this is a case of “using only 1090 Mhz”. To stop piaware from continously trying to start dump978-fa, use following procedure:

Note:

The setting “using1090 only” is default setting of piaware SD Card image, but this setting was removed when you upgraded using procedure for package install. Above noted 3 commads will restore the default stting.

 

 

Looking at your stats page, you have never received a UAT plane or position.
Do you actually have a 978MHz receiver ?

(you can’t run both bands on one receiver)

1 Like

Thank you abcd567 and GeckoVN, I appreciate the help!

I realize that naming the new pi “piaware” adds confusion. The pi3b+ I just replaced was using the SD card image and the new pi4b+ is using the package install. That is just the host name.

The second point helps answer a question I have had for a while now. So, I would need a second dongle on the system to also receive 978MHz signals. That makes sense, but I was not sure previously.

I ran the commands successfully to run 1080MHz only and will review what is needed to run two receivers.

As you have confirmed that although you have package install, but have chosen hostname as “piaware” (which misguided me), to run both 1090 MHz and 978 MHz receivers, you need 2 dongles, and following steps:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.