Adding FR24

sorry dont know what code section is

those characters will create one
```
code / output
```

Anyhow … let’s check this:

sudo /bin/rm -f /dev/shm/decoder.txt || echo wat

forgot the sudo.

i get nothing after that last line

pi@piaware:~ $ sudo /bin/rm -f /dev/shm/decoder.txt || echo wat

pi@piaware:~ $

your script appears to install it in a tmp location

That’s how it should be.
Not sure why it’s not working then.

sudo systemctl restart fr24feed
sudo journalctl -u fr24feed | tail -n15

Let’s just try again.

And something else to try (maybe this is the issue):

sudo adduser --system --no-create-home fr24
sudo systemctl restart fr24feed
sudo journalctl -u fr24feed | tail -n15

part 1
pi@piaware:~ $ sudo systemctl restart fr24feed
Job for fr24feed.service failed because the control process exited with error code.
See “systemctl status fr24feed.service” and “journalctl -xe” for details.
pi@piaware:~ $ sudo journalctl -u fr24feed | tail -n15
Oct 19 17:32:30 piaware systemd[1]: Starting Flightradar24 Decoder & Feeder…
Oct 19 17:32:30 piaware systemd[1738]: fr24feed.service: Failed to determine user credentials: No such process
Oct 19 17:32:30 piaware systemd[1738]: fr24feed.service: Failed at step USER spawning /bin/rm: No such process
Oct 19 17:32:30 piaware systemd[1]: fr24feed.service: Control process exited, code=exited, status=217/USER
Oct 19 17:32:30 piaware systemd[1]: fr24feed.service: Failed with result ‘exit-code’.
Oct 19 17:32:30 piaware systemd[1]: Failed to start Flightradar24 Decoder & Feeder.
Oct 19 17:32:35 piaware systemd[1]: fr24feed.service: Service RestartSec=5s expired, scheduling restart.
Oct 19 17:32:35 piaware systemd[1]: fr24feed.service: Scheduled restart job, restart counter is at 470.
Oct 19 17:32:35 piaware systemd[1]: Stopped Flightradar24 Decoder & Feeder.
Oct 19 17:32:35 piaware systemd[1]: Starting Flightradar24 Decoder & Feeder…
Oct 19 17:32:35 piaware systemd[1739]: fr24feed.service: Failed to determine user credentials: No such process
Oct 19 17:32:35 piaware systemd[1739]: fr24feed.service: Failed at step USER spawning /bin/rm: No such process
Oct 19 17:32:35 piaware systemd[1]: fr24feed.service: Control process exited, code=exited, status=217/USER
Oct 19 17:32:35 piaware systemd[1]: fr24feed.service: Failed with result ‘exit-code’.
Oct 19 17:32:35 piaware systemd[1]: Failed to start Flightradar24 Decoder & Feeder.

1 Like

Ok i think i’ve figured out the error, thanks for sticking with me (the guide had a small flaw … forgot the user / group stuff).
I’ve fixed the guide and you can fix your install like this:

sudo wget -O /etc/systemd/system/fr24feed.service https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/fr24feed.service
sudo systemctl enable fr24feed
sudo adduser --system --no-create-home fr24
sudo systemctl restart fr24feed
sudo journalctl -u fr24feed -ef

That should be it.
The last command is to watch what fr24feed is doing, can be interrupted with Ctrl-C once you don’t want to watch it no more.
If there is still an error, let me know.

thanks the user group seems to have fixed…by the way should we run ,lat for FR24 which is not in your notes

Please explain, i don’t get it.

Oh mlat, i mean … answer the question as you want … so it’s not included in the notes.

sorry typo

in running FR 24 setup the first questioin it asks is do you want to enable MLAT

also is there a way to back up SD CARD while it running in my PI3

Maybe someone else can answer this.
Honestly i’d just start over … then you get fresh software as well :wink:

Yes, there are several discussions about it. in the forum.

However reading the SD card in a card reader on a PC normally takes only a few minutes. So if you have acces to the card, i would do it that way.

The network backup is more for devices which you cannot access easily for removing the card

1 Like

(1) Fresh piaware SD card image: Manual install of fr24feed, pfclient, rbfeeder, and graphs

(2) Cloning Booted RPi’s microSD card on Windows PC through Network

1 Like

Is what I did was start over with the dead SD card yesterday… found a new 32 old was a 5 year in use 16GB

Another more detailed manual method of installing FR24 on Piaware SD card image

2 Likes

Is your graph page still up. I need to get that back on

Lots of interesting things mentioned here: Raspbian Lite: ADS B receiver · wiedehopf/adsb-wiki Wiki · GitHub
Check it all :wink:

1 Like

Please see this post:

Thanks to all of you to be so willing and quick to help. Two of you have been fantastic over the last couple of years in answering questions and time dedication

1 Like

wiedehopf the script I used from you seems to have a static IP for my raspberry PI it stopped running since I rebooted my PI and and the IP number changed… I can run the setup again and change it that way