# Cannot find aircraft.json

**URL:** https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670
**Category:** ADS-B Flight Tracking
**Created:** [July 20, 2019, 5:02pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670 "2019-07-20T17:02:02Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sileck](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/sileck/32/44896_2.png) [@sileck](https://discussions.flightaware.com/u/sileck)
#### Post date: [July 20, 2019, 5:02pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/1 "2019-07-20T17:02:02Z")

</div>

Hi guys,

I am completely new to tracking with an ADS-B receiver.

To run a project, I need the aircraft.json file. Unfortunately I cannot find this file. I do run a raspberry pi with dump1090, which has been already installed. I do not feed any flight tracking website with my received ADS-B data.

As far as I know, the file should be located at /var/run/dump1090-fa/  
It happens that there is no such folder…

The address :8080/data/aircraft.json doesn’t help either.

Do I have to configure the program dump1090 to create this file? Or do you have any other idea, how I can find the aircraft.json file?

Thank you very much in advance.

---

<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: [July 20, 2019, 5:12pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/2 "2019-07-20T17:12:51Z")

</div>

> [@sileck](#):
>
> I do run a raspberry pi with dump1090,

Do you use dump1090 or dump1090-fa?  
How did you install it?

Check:  
[http://pi/dump1090/data/aircraft.json](http://pi/dump1090/data/aircraft.json)  
[http://pi/dump1090-fa/data/aircraft.json](http://pi/dump1090-fa/data/aircraft.json)

---

<div class="post-metadata">

### Author: ![sileck](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/sileck/32/44896_2.png) [@sileck](https://discussions.flightaware.com/u/sileck)
#### Post date: [July 20, 2019, 6:22pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/3 "2019-07-20T18:22:50Z")

</div>

I use dump1090. It was already installed on the device. My professor borrowed me the Pi.

There is no data folder…  
Only the following folders are included in the dump1090 folder:

- .git  
-pthreads  
-public\_html  
-rtlsdr  
-testfiles  
-tools

Maybe I should reinstall the program…

---

<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: [July 20, 2019, 6:43pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/4 "2019-07-20T18:43:58Z")

</div>

> [@sileck](#):
>
> Maybe I should reinstall the program…

The problem is that you are using a different version of the program.

`git remote -v`

This will tell you which program is being used.

Have you checked these folders:  
`/run/dump1090`  
`/run/dump1090-mutability`

You can also check the command line, post the output of this:

```auto
pgrep -a dump1090

```

Somewhere in that output should be an argument named `--json-dir`, this is where the aircraft.json will be.

---

<div class="post-metadata">

### Author: ![sileck](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/sileck/32/44896_2.png) [@sileck](https://discussions.flightaware.com/u/sileck)
#### Post date: [July 20, 2019, 6:49pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/5 "2019-07-20T18:49:37Z")

</div>

first of all, thank you for your help

> [@wiedehopf](#):
>
> The problem is that you are using a different version of the program.
> 
> `git remote -v`
> 
> This will tell you which program is being used.

I think, I have a bigger problem…  
_fatal: no git-repository_

> [@wiedehopf](#):
>
> Have you checked these folders:  
> `/run/dump1090`  
> `/run/dump1090-mutability`

I don’t have these folders…  
There is only a file “dump1090.pid” in the run folder, nothing else which refers to dump1090

> [@wiedehopf](#):
>
> You can also check the command line, post the output of this:
> 
> ```auto
> pgrep -a dump1090
> 
> ```
> 
> Somewhere in that output should be an argument named `--json-dir` , this is where the aircraft.json will be.

Outcome:  
314 ./dump1090 --quite --gain -10 --net --net-beast

---

<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: [July 20, 2019, 6:51pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/6 "2019-07-20T18:51:23Z")

</div>

> [@sileck](#):
>
> 314 ./dump1090 --quite --gain -10 --net --net-beast

Do you have another sd-card?

Put the piaware sd-card image on it if you don’t need the specific dump1090 version provided on the RPi.

Alternatively you can change the command line parameters and add --json-dir if that dump1090 version supports it.

dump1090 --help should give you the options.

---

<div class="post-metadata">

### Author: ![sileck](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/sileck/32/44896_2.png) [@sileck](https://discussions.flightaware.com/u/sileck)
#### Post date: [July 21, 2019, 9:13am UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/7 "2019-07-21T09:13:18Z")

</div>

> [@wiedehopf](#):
>
> Alternatively you can change the command line parameters and add --json-dir if that dump1090 version supports it.

That seems to be the problem. json is not supported. --help shows no options for implementing --json. Adding it manually doesn’t work.

I’ll try another SD card with dump1090-fa this evening. Or I speak to my professor this week to deinstall the current version and install dump1090-fa.

---

<div class="post-metadata">

### Author: ![caius](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/caius/32/113839_2.png) [@caius](https://discussions.flightaware.com/u/caius)
#### Post date: [July 21, 2019, 11:48am UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/8 "2019-07-21T11:48:10Z")

</div>

Sounds like a very old version of dump1090. I think it use to use a file called data.json and aircraft.json was added later.

---

<div class="post-metadata">

### Author: ![sileck](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/sileck/32/44896_2.png) [@sileck](https://discussions.flightaware.com/u/sileck)
#### Post date: [July 26, 2019, 12:57pm UTC](https://discussions.flightaware.com/t/cannot-find-aircraft-json/52670/9 "2019-07-26T12:57:26Z")

</div>

Got it. Indeed, it was an old version. Got dump109-fa now and it works

thank you everybody
