FlightAware Discussions

Updating all services (f.eg. FlightAware PiAware) on receiver ADSB from FlightRadar image

Hi. I have got a ADSB receiver on Raspberry Pi. At the beginning (about a year ago) I have intalled FlightRadar image. The file is called “pi24-2.2.0.img”. Log looks this way"

[quote]pi@raspberrypi:~ $ sudo fr24feed status
2021-09-19 16:42:39 | ______ _ _ _ _ _ _____ ___
2021-09-19 16:42:39 | | || |() | | | | | | / __ \ / |
2021-09-19 16:42:39 | | |
| | _ __ _ | |
_ | |_ _ __ __ _ | | __ _ _ ' / /' / /| | 2021-09-19 16:42:39 | | _| | || | / _ || ’ \ | || '|/ _ | / _ | / _` || '| / / / /| |
2021-09-19 16:42:39 | | | | || || (
| || | | || |_ | | | (| || (| || (| || | ./ /
__ |
2021-09-19 16:42:39 | _| |||| _, ||| || _||| _,| _,| _,||| ___/ |/
2021-09-19 16:42:39 | / |
2021-09-19 16:42:39 | |
/
2021-09-19 16:42:39 | [main][i]FR24 Feeder/Decoder
2021-09-19 16:42:39 | [main][i]Version: 1.0.28-1/generic
2021-09-19 16:42:39 | [main][i]Built on Jun 24 2021 10:10:13 (HEAD-e4ffbaf.git/Linux/static_armel)
2021-09-19 16:42:39 | [main][i]Running on: pi24-raspbian10[/quote]

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

[quote]pi@raspberrypi:~ $ apt-cache policy dump1090-fa
dump1090-fa:
Installed: 5.0
Candidate: 6.1
Version table:
6.1 500
500 http://flightaware.com/adsb/piaware/files/packages buster/piaware armhf Packages
*** 5.0 100
100 /var/lib/dpkg/status
pi@raspberrypi:~ $[/quote]

Just after logging in I have got something like this:
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l

Is everything current here? I am asking, because I have noticed that FlightAware PiAware isn’t updating lately. Above the flight table it shows that my version is 5.0, whereas on this website it shows I can update to ver 6.1: chemi tox ADS-B Feeder Statistics - FlightAware
In the control panel I have got chosen: Auto-update PiAware software >>> Allow. When I am trying to send commend Upgrade and restart I get a message like this:

[quote][2021-09-19 18:55 +03] performing manual update, action: piaware
[2021-09-19 18:55 +03] skipping action piaware
[2021-09-19 18:55 +03] manual update (user-initiated via their flightaware control page) requested by adept server
[2021-09-19 18:55 +03] update request complete
[2021-09-19 18:55 +03] child process 3947 exited with status EXIT 1[/quote]

Unfortunately I still have 5.0 ver., and the control panel it even shows something different: Feeder Type: PiAware (Debian Package Add-on) 4.0

How to update it all without losing data?

For information reasons I am uploading data for ADSBExchange, Radarbox, Flightradar, Flightaware, Planefinder.

Best regards.

image

 

The pi24-2.2.0.img is Buster (raspbian 10).

To Upgrade piaware, dump1090-fa and dump978-fa to ver 6.1 on Raspberry Pi running Raspbian Buster OS , execute the following commands from the command line:

(1) wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_6.1_all.deb

(2) sudo dpkg -i piaware-repository_6.1_all.deb

(3) sudo apt-get update

(4) sudo apt-get install piaware

(5) sudo apt-get install dump1090-fa

(6) sudo apt-get install dump978-fa

(7) sudo reboot

 

 

Thank you for your answer. I do not provide data on 978 MHz. Once someone told me to set it up and it stayed that way. At this stage, it would be a good idea to uninstall it and e.g. clean up the statistics. As you can see this is displayed in both Flightaware and Radarbox:


(1) To completely remove dump978-fa (i.e. remove dump978-fa and its configuration files), use purge command:

sudo apt-get purge dump978-fa   

 

(2) Only uninstalling dump978-fa wont be enough as piaware will start giving error messages that no data available at port 30978. You have to tell piaware not to look for 978 data by following command:

sudo piaware-config uat-receiver-type none  

sudo systemctl restart piaware  

 

(3) You have also to tell RB24 feeder not to look for dump978 data by editing its config file:

sudo nano /etc/rbfeeder.ini

(a) Comment out, i.e. place # at start of line dump978_enabled=true.

(b) Most likely you have configured it to get data from dump978-fa by adding another line dump978_port=30979. If so, place # at it’s start also.

Please see below;

[dump978]
#dump978_enabled=true  
#dump978_port=30979

Now Save file and restart rbfeeder to use modified config:

sudo systemctl restart rbfeeder

 

Thanks for you answer.

Using the first few commands went well and here is the result:

Unfortunately, in “/etc/rbfeeder.ini” I already have the # added before:

If it might help, I am sending some of the log below. Apart from the errors, I see that the version also might be old (v0.3.5). A quick research shows, that ver. 0.4.1 is available. I would be grateul if you could help me updating the config file to the newest version.

The logs show that rbfeeder is trying to connect to “127.0.0.1:28380”. Thie port 28380 belongs to RB24’s dump978-rb, but as you have not installed (or installed then removed) dump978-rb, you are getting this error message.

With a # at start of following line should tell rbfeeder to stop trying to connect to dump978-rb, but it seems this is not sufficient.

[dump978]
#dump978_enabled=true

Let us try another more positive command. In above line change true to false and also remove # from start of line so it becomes like this.

[dump978]
dump978_enabled=false

Save file then restart rbfeeder

sudo systemctl restart rbfeeder

Now check the starus:

sudo systemctl status rbfeeder

Is it still complaining it csnno connect to port 28380?

 

 

Now it looks as it shows below:

As everything is set properly now, is it possible to have it set on the websites so that Uat978 would not show up in the statistics at all?

I would be super grateful if you could send the procedure to update RBFeeder from ver.0.3.5. to the newest one.

Is it possible for the plugins to update by themselves?

To get rid of dump978 error message, and to install latest version of rbfeeder, the best way is to remove existing rbfeeder by purge command, and then reinstall it.

Before purging it, open file rbfeeder.ini and copy-paste your sharing key from it to notepad and save notepad.

cat /etc/rbfeeder.ini

Now do following:

(1) Completely remove rbfeeder and its configuration, and dump978-rb and its configuration by giving following 5 commands:

sudo apt-get purge rbfeeder  

sudo rm /etc/rbfeeder.ini   

sudo apt-get purge dump978-rb   

sudo rm /etc/default/dump978-rb  

sudo reboot

(2) After reboot, install latest version of rbfeeder

sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"

IMPORTANT:
During installation it will ask:
(1) Do want to install dump978-rb. Say no to it.
(2) Do you want to keep current configuration. Say no to it.

After installation is completed, give following command to set key

sudo rbfeeder --setkey xxxxxx
(replace xxxxxxx by sharing key you have saved in notepad)

This will generate many lines of output. Press Ctrl+c keys to break out, and give following commands:

sudo systemctl restart rbfeeder  

sudo systemctl status rbfeeder   

You will have latest version and “cannot connect to dump978” error message will no more be there.