# Adding FR24

**URL:** <https://discussions.flightaware.com/t/adding-fr24/70143>\
**Category:** ADS-B Flight Tracking\
**Created:** [October 19, 2020, 3:24pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143 "2020-10-19T15:24:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 3:24pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/1 "2020-10-19T15:24:26Z")

</div>

Sorry I have terrible luck in getting searches to work to find what I wamt. A brief power outage toasted m SD card and had to start from scratch today. My systems hadnt been touch for a very longer time it was working so well. My last backup was from 2017,

Anyways the last fr24 github thing I used from someone no longer exists I would like to put it back on was working great up till yesterday when the power outage toasted the old card.

Thanks for your help in getting me to the solution quciker

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 3:29pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/2 "2020-10-19T15:29:12Z")

</div>

I have a short writeup on how to do an alternative install that doesn’t include their auto-update and some other stuff i didn’t like, see the bottom of this:  
[Raspbian Lite: ADS B receiver · wiedehopf/adsb-wiki Wiki · GitHub](https://github.com/wiedehopf/adsb-wiki/wiki/Raspbian-Lite:-ADS-B-receiver)

Also has proper logging via the journal.

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 3:30pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/3 "2020-10-19T15:30:54Z")

</div>

Thanks as always for your help… been a bih help in the past

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 3:55pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/4 "2020-10-19T15:55:12Z")

</div>

I get this error after setup  
Job for fr24feed.service failed because the control process exited with error code.  
See “systemctl status fr24feed.service” and “journalctl -xe” for details.

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 4:13pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/5 "2020-10-19T16:13:39Z")

</div>

> [@strmchaasr](#):
>
> I get this error after setup

Well check the logs as described on that page as well.

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 4:41pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/6 "2020-10-19T16:41:25Z")

</div>

## Oct 19 16:41:02 piaware systemd[1]: fr24feed.service: Control process exited, co – Subject: Unit process exited – Defined-By: systemd – Support: [Debian -- User Support](https://www.debian.org/support)

## – An ExecStartPre= process belonging to unit fr24feed.service has exited.

## – The process’ exit code is ‘exited’ and its exit status is 217. Oct 19 16:41:02 piaware systemd[1]: fr24feed.service: Failed with result 'exit-c – Subject: Unit failed – Defined-By: systemd – Support: [Debian -- User Support](https://www.debian.org/support)

## – The unit fr24feed.service has entered the ‘failed’ state with result 'exit-co Oct 19 16:41:02 piaware systemd[1]: Failed to start Flightradar24 Decoder & Feed – Subject: A start job for unit fr24feed.service has failed – Defined-By: systemd – Support: [Debian -- User Support](https://www.debian.org/support)

## – A start job for unit fr24feed.service has finished with a failure.

– The job identifier is 41871 and the job result is failed.

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:06pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/7 "2020-10-19T17:06:40Z")

</div>

thanks for the help just doesnt work…oh well

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 5:07pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/8 "2020-10-19T17:07:27Z")

</div>

Let’s check something:

```auto
file /bin/rm
/bin/rm -f /dev/shm/decoder.txt || echo wat
grep Pre /etc/systemd/system/fr24feed.service

```

It really should work, what system are you running?  
You started from a fresh Rasbpian Buster or from a new piaware sd-card image?

Or did you use your 2017 image?

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:10pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/9 "2020-10-19T17:10:30Z")

</div>

fresh piaware image seemed fast way to get flight aware back up

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 5:12pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/10 "2020-10-19T17:12:23Z")

</div>

And the output for the commands?  
You can put the output in a code section:  
```  
output  
```

Like this, then it will display nicer.

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:13pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/11 "2020-10-19T17:13:15Z")

</div>

pi@piaware:~ $ grep Pre /etc/systemd/system/fr24feed.service  
ExecStartPre=/bin/rm -f /dev/shm/decoder.txt  
pi@piaware:~ $ file /bin/rm  
/bin/rm: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=9a5398e8e92d94fb65da09c1a553a4e5ef5fdbbd, stripped  
pi@piaware:~ $ /bin/rm -f /dev/shm/decoder.txt || echo wat  
/bin/rm: cannot remove ‘/dev/shm/decoder.txt’: Operation not permitted  
wat  
pi@piaware:~ $ grep Pre /etc/systemd/system/fr24feed.service  
ExecStartPre=/bin/rm -f /dev/shm/decoder.txt

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:14pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/12 "2020-10-19T17:14:13Z")

</div>

sorry dont know what code section is

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 5:16pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/13 "2020-10-19T17:16:49Z")

</div>

> [@strmchaasr](#):
>
> dont know what code section is

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

Anyhow … let’s check this:

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

```

forgot the sudo.

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:22pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/15 "2020-10-19T17:22:42Z")

</div>

i get nothing after that last line

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

pi@piaware:~ $

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:25pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/16 "2020-10-19T17:25:48Z")

</div>

your script appears to install it in a tmp location

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 5:28pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/17 "2020-10-19T17:28:56Z")

</div>

> [@strmchaasr](#):
>
> i get nothing after that last line

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

```auto
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):

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

```

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:33pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/18 "2020-10-19T17:33:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 5:39pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/19 "2020-10-19T17:39:55Z")

</div>

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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![strmchaasr](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/strmchaasr/32/113820_2.png) [@strmchaasr](https://discussions.flightaware.com/u/strmchaasr)\
**Post date:** [October 19, 2020, 5:42pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/20 "2020-10-19T17:42:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wiedehopf](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/wiedehopf/32/114045_2.png) [@wiedehopf](https://discussions.flightaware.com/u/wiedehopf)\
**Post date:** [October 19, 2020, 5:43pm UTC](https://discussions.flightaware.com/t/adding-fr24/70143/21 "2020-10-19T17:43:01Z")

</div>

> [@strmchaasr](#):
>
> ,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.

[Next page](https://discussions.flightaware.com/t/adding-fr24/70143.md?page=2)
