FlightAirMap - watching Your live Data next Level

Runs on every platform - Windows, Linux, Mac - install now super-easy - see Howto below
Boeing 787 Dreamliner above lake Chiemsee/Bavaria heading south over the Alps:


setup starts with a fresh raspbian stretch-lite image:

sudo raspi-config
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php7.0-common php7.0-cgi php7.0-mysql php7.0-sqlite php7.0-curl php7.0 php7.0-xml php7.0-zip php7.0-gd php7.0-json
sudo apt-get install mysql-server mysql-client
sudo mysql -u root -p (leave password empty)
	update mysql.user set password=password('YOUR_DB_PASSWORD') where user='root';
	update mysql.user set plugin='' where user='root';
	flush privileges;
sudo mysql -u root -p (use password you entered above)
	create database flightairmap;
	ctrl + z
sudo apt-get install build-essential debhelper librtlsdr-dev libusb-1.0-0-dev pkg-config tcl8.5-dev autoconf python3-dev python-virtualenv libz-dev git tclx8.4 tcllib tcl-tls itcl3 htop
mkdir dump1090-mutability
cd dump1090-mutability/
git clone https://github.com/mutability/dump1090.git
cd dump1090/
dpkg-buildpackage -b
cd ..
sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb
cd ~
git clone https://github.com/flightaware/dump1090.git
sudo cp -r dump1090/public_html  /usr/share/dump1090-mutability/public_html
cd /usr/share/dump1090-mutability
sudo mv html original-html
sudo mv public_html html
cd html
sudo mv index.html gmap.html
sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
sudo dpkg-reconfigure dump1090-mutability
sudo shutdown -r now
sudo apt-get install lighttpd
sudo lighty-enable-mod dump1090
sudo lighty-enable-mod fastcgi
sudo lighty-enable-mod fastcgi-php
sudo service lighttpd force-reload
sudo nano /etc/php/7.0/cgi/php.ini
	-> set max_execution_time to 0 within php.ini
sudo shutdown -r now
cd /var/www/html
sudo git clone --depth=1 http://github.com/ysurac/flightairmap
sudo chmod 666 flightairmap/require/settings.php
sudo chmod 777 flightairmap/install/tmp
sudo chmod 777 flightairmap/data
sudo chmod 777 flightairmap/images/airlines
sudo cp /var/www/html/flightairmap/install/89-flightairmap-lighttpd.conf /etc/lighttpd/conf-available
sudo nano /etc/lighttpd/conf-available/89-flightairmap-lighttpd.conf (alter pathes to match your path)
sudo lighty-enable-mod flightairmap-lighttpd
sudo /etc/init.d/lighttpd force-reload
sudo shutdown -r now
sudo cp /var/www/html/flightairmap/install/init/flightairmap.service.systemd /etc/systemd/system/flightairmap.service
sudo nano /etc/systemd/system/flightairmap.service (alter pathes to match your path)
sudo chmod 644 /etc/systemd/system/flightairmap.service
sudo systemctl enable flightairmap.service
sudo crontab -e (add the below 3 lines to crontab)
	# run flightairmap daemons
	0 2 * * * /usr/bin/php /var/www/html/flightairmap/scripts/update_db.php > /dev/null
	#@reboot sleep 10 && /usr/bin/php /var/www/html/flightairmap/scripts/daemon-spotter.php > /dev/null
sudo shutdown -r now

=> run installer in browser

I am trying to install on RPI and ubuntu following the official guide as well as the step by step described here but i always end up with this:

It seems that i’m missing something. Can someone give me hint? Chrome developer tools shows this:

whats in flightairmap/require/settings.php variable $globalURL set?

$globalURL = ‘/flightairmap’;

and what url do you use to open flightairmap, what webserver?

I used to do the initial setup which went ok , but the portal does not work (


again what webserver - apache or lighttpd? try $globalURL = ‘’;

still lost in 3d :slight_smile:

apache2 with php 7
Tried $globalURL = ‘’; and now it works.


Hi, i am trying to install to strecth-lite image, followed your guide but installer says:

Error The directory data must be writable to scripts/update_db.php user.
The directory images/airlines must be writable for IVAO.

domefin - just ignore this

thanks for the info! :slight_smile: do i need uncomment “#@reboot sleep 10 && /usr/bin/php /var/www/html/flightairmap/scripts/daemon-spotter.php > /dev/null” ?

normally not this is just meant to be a backup method if someone fails to setup a system-service or does not want to run daemon-spotter.php as system-service.

if there is a problem with these two directories simply set them both to 777

sudo chmod 777 flightairmap/data
sudo chmod 777 flightairmap/images/airlines

Nice, special thanks to TomMuc! Running nicely on RPI 3. Do you guys know if it is possible to show distance between aircraft and receiver? I really like to see range and performance of my receiver…

message rate, distance and table of current aircrafts at the moment skyview is still the better option
have fun :slight_smile:

the developer of FlightAirMaps added a new and more comprehensive install howto for raspbian: Raspbian · Ysurac/FlightAirMap Wiki · GitHub

I followed developer’s instructions and use the script for installation. Everything went well but I don’t see any aircraft. My sbs3 (network setup) is working properly as I can see data from it in Basestation. I assume I must have made some mistake in either entering it’s IP or port. Do you know if there is any data setting file on the pi where I can check that?

I didn’t install dump1090 since I believe FlightAirMaps can fetch data directly from an SBS receiver.

flightairmap/require/settings.php you find your settings. is daemon-spotter.php running as service or cronjob?
if your stats within flightairmaps are filling with data while you do not see aircrafts - then sth. with your webserver setup is wrong.