FlightAware Discussions

Still having setup problems after days emailing with support

Hi,

I’m having real issues getting my PiAware to work.

I’ve tried different ways of installing PIAware and dump1090 including via wget and from source on github but the results of both installation attempts didn’t seemed to work correctly.

When I go to claim my Piaware page is says:

PiAware doesn’t appear to be running!

PiAware Version:
Dump1090-fa Version:
Dump978-fa Version:

CPU Temperature: C
CPU Load: %
System Uptime:

When I input piaware-status in terminal I get back:

PiAware master process (piaware) is running with pid 800.
PiAware ADS-B client (faup1090) is not running.
PiAware ADS-B UAT client (faup978) is not running (disabled by configuration settings)
PiAware mlat client (fa-mlat-client) is not running.
Local ADS-B receiver (dump1090) is running with pid 744.

readsb (pid 717) is listening for ES connections on port 30005.
faup1090 is NOT connected to the ADS-B receiver.
piaware is NOT connected to FlightAware.

Does anyone have an idea what is not working? I’m a total noob so have no idea and would love some help

Well let’s see if your ADsB dongle is present on your system.

please post the output of the command
lsusb

this will show the connected USB devices. without the dongle connected the software will report an error

Also describe your set-up, what type of hardware are you using, did you use the image based set-up or the package based set-up ?
What os version are you running ?
Command
cat /etc/os-release

Thankyou for trying to help:)

pi@raspberrypi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 003: ID 0bda:2832 Realtek Semiconductor Corp. RTL2832U DVB-T
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The Prostick isn’t listed but it is plugged in.

I have a Raspberry Pi 4B running Raspberry OS attached to a USB mouse, bluetooth keyboard, official PI 7inch LCD in plastic case, and the Prostick Plus with 1090 antenna.

I installed Raspberry OS using NOOBS and then did a package install of PiAware and dump1090.

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 11 (bullseye)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/
SUPPORT_URL=“RaspbianForums - Raspbian
BUG_REPORT_URL=“RaspbianBugs - Raspbian

The Prostick is listed as device 003 so it is present.

Please follow the steps in this post.

step 5 and 6 can be skipped if you don’t have a seperate 978 Mhz Dongle

Thanks. I had already done so but just ran through it again:

pi@raspberrypi:~ $ sudo wget -O - https://abcd567a.github.io/ppa/piaware/KEY.gpg | sudo apt-key add -
–2021-12-17 16:12:14-- https://abcd567a.github.io/ppa/piaware/KEY.gpg
Resolving abcd567a.github.io (abcd567a.github.io)… 185.199.109.153, 185.199.110.153, 185.199.111.153, …
Connecting to abcd567a.github.io (abcd567a.github.io)|185.199.109.153|:443… Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
connected.
HTTP request sent, awaiting response… 200 OK
Length: 3126 (3.1K) [application/octet-stream]
Saving to: ‘STDOUT’

  •               100%[===================>]   3.05K  --.-KB/s    in 0.1s    
    

2021-12-17 16:12:16 (21.8 KB/s) - written to stdout [3126/3126]

OK
pi@raspberrypi:~ $ sudo apt update
Hit:1 Index of /debian bullseye InRelease
Hit:2 Index of /raspbian bullseye InRelease
Hit:3 http://flightaware.com/adsb/piaware/files/packages buster InRelease
Hit:4 http://flightaware.com/adsb/piaware/files/packages stretch InRelease
Hit:5 ppa ./ InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
pi@raspberrypi:~ $ sudo apt install piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
piaware is already the newest version (6.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
feeder-id is unchanged
pi@raspberrypi:~ $ sudo piaware-config allow-auto-updates yes
allow-auto-updates is unchanged
pi@raspberrypi:~ $ sudo systemctl restart piaware
pi@raspberrypi:~ $ sudo apt install dump1090-fa
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
dump1090-fa is already the newest version (6.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo reboot

I then went to the IP and it showed and active PiAware for a moment but when I clicked on the menu items at the top is went back to inactive.

I then ran piaware-status:

pi@raspberrypi:~ $ piaware-status
PiAware master process (piaware) is running with pid 761.
PiAware ADS-B client (faup1090) is not running.
PiAware ADS-B UAT client (faup978) is not running (disabled by configuration settings)
PiAware mlat client (fa-mlat-client) is not running.
Local ADS-B receiver (dump1090) is running with pid 721.

readsb (pid 700) is listening for ES connections on port 30005.
faup1090 is NOT connected to the ADS-B receiver.
piaware is NOT connected to FlightAware.

What to do?

Can you post the output of
sudo journalctl -u dump1090-fa

this will show what is going wrong after the start of the dump1090-fa software

 

Seems faup1090 did not get instralled properly during installation of piaware, or got corrupted after installation. Try this:

sudo apt purge piaware   

sudo reboot  

sudo apt install piaware   

sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 

sudo systemctl restart piaware    

 

Ok thanks, did so:

pi@raspberrypi:~ $ sudo apt purge piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following package was automatically installed and is no longer required:
tcl-tls
Use ‘sudo apt autoremove’ to remove it.
The following packages will be REMOVED:
piaware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 11.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 195596 files and directories currently installed.)
Removing piaware (6.1) …
Processing triggers for man-db (2.9.4-2) …
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) …
(Reading database … 195142 files and directories currently installed.)
Purging configuration files for piaware (6.1) …
Processing triggers for rsyslog (8.2102.0-2) …
pi@raspberrypi:~ $ sudo apt install piaware
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
piaware
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,946 kB of archives.
After this operation, 11.6 MB of additional disk space will be used.
Get:1 ppa ./ piaware 6.1 [3,946 kB]
Fetched 3,946 kB in 8s (499 kB/s)
Selecting previously unselected package piaware.
(Reading database … 195137 files and directories currently installed.)
Preparing to unpack …/archives/piaware_6.1_armhf.deb …
Unpacking piaware (6.1) …
Setting up piaware (6.1) …
Created symlink /etc/systemd/system/default.target.wants/piaware.service → /lib/systemd/system/pi
aware.service.
Created symlink /etc/systemd/system/piaware.service.wants/generate-pirehose-cert.service → /lib/s
ystemd/system/generate-pirehose-cert.service.
Processing triggers for rsyslog (8.2102.0-2) …
Processing triggers for man-db (2.9.4-2) …
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) …
pi@raspberrypi:~ $ sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Set feeder-id to xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in /etc/piaware.conf:7
pi@raspberrypi:~ $ sudo systemctl restart piaware
pi@raspberrypi:~ $ piaware-status
PiAware master process (piaware) is running with pid 878.
PiAware ADS-B client (faup1090) is not running.
PiAware ADS-B UAT client (faup978) is not running (disabled by configuration settings)
PiAware mlat client (fa-mlat-client) is not running.
Local ADS-B receiver (dump1090) is running with pid 839.

readsb (pid 796) is listening for ES connections on port 30005.
faup1090 is NOT connected to the ADS-B receiver.
piaware is NOT connected to FlightAware.

dump1090 is NOT producing data on localhost:30005.

Your feeder ID is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (configured at /etc/piaware.conf:7)

Still not working. Also did a roboot to check if that helped but nothing showing on the web page at my Pi’s IP.

I see readsb is listening on the intended port.

Readsb

[Portmanteau of Read ADSB ]

Readsb is a Mode-S/ADSB/TIS decoder for RTLSDR, BladeRF, Modes-Beast and GNS5894 devices. As a former fork of dump1090-fa it is using that code base but development will continue as a standalone project with new name. Readsb can co-exist on the same host system with dump1090-fa, it doesn’t use or modify its resources. However both programs will not share a receiver device at the same time and in parallel.

I’d remove the readsb setup and then try to restart piaware.

1 Like

If you can’t get this working I’d suggest waiting a few days for PiAware 7 which will have prebuilt packages for bullseye

4 Likes

you’re teasing here :rofl:

OK will do. Can you please give the terminal commands as I’m just a cook not a chef at this point?

sudo apt purge readsb is the command you are looking for.
Then followed by
sudo systemctl restart piaware
piaware-status

Thanks. Did so but nothing changed.

reboot the Pi

Then issue
piaware-status and post a screen shot.
followed by
sudo journalctl -u dump1090-fa

Thinking I will start a new install of of Raspberry OS from NOOBS on a new SD and do the things above again there to make sure there are not other issues I’ve created by trying different things…

that might be a wise step as well.
If you need help after that just let us know.

1 Like

@wiedehopf
Can dump1090-fa and readsb installed and run simultaneously, or only one of the these two should be installed?

it took me days to get the Raspberry OS working the first time.

Ive reinastalled it on a new SD but cant remember how I solved some issues…

First is that the clock wont sync so I cant search for anything like this web page on the pi or install the recommended programs. Any ideas?

First login to the Pi via SSH and run
sudo raspi-config.
Set the system settings (option 1)
Set the timezone (option 5)
expand the file system (option 6)
reboot the Pi and start installing.