finally with lots of help from the developer i managed to install FlightAirMaps. there were some little things (osx safari browser, needed settings in apache and php etc.) that took a while until all was running.
but now i have to say i’m deeply impressed what this application has to offer, how it looks and how it works even on older tablets.
for those who can’t wait and want to install now - here the main things you have to be aware of:
you need to install all required php modules
in php.ini set max-execution-time from ‘30’ to ‘0’
activate mod-rewrite in apache webserver
do not use safari for install i’d recommend google crome at least for setup
when running daemon-spotter.php via crontab @reboot use ‘sleep 10 &&’ before calling the script
don’t get impatient while install you see often just a turning wheel in browser - on a raspi2 it can take up to 20 minutes until all data is written to database
if you do a fresh install better use stretch with php7 - because php7 is at least 3 times faster then php5
I have downloaded the whole zip file of it from github,but kept it…it’s very difficult to install i found.Can you lead me step by step to install it.I use chrome…it’s not a software,it’s like running server.
Could you elaborate a little more please? What is your setup. I know you’re working on a mysql data collection project and this database is one of the options (although postgres with PostGis seems more likely?). You mention a raspberry but such database engines seem a fast track to fry a pi? I’m very curious. Good topic!
sorry - the application is still beta status and there is no way to lead through the whole process on all the possible different systems with different setups.
here is the link to github raspbian install howto from developer - if you take care of the things i pointed out in the starting post you have a good chance to end up with a running system. Raspbian · Ysurac/FlightAirMap Wiki · GitHub
first i was just looking for a nicer way to display aircrafts on a map. flightawares skyview looks ok but has several downsides and totally fails on ipad/iphone. i tried to tell them all the bugs and issues but an email to flightaware never got a reply - and on github i found no way to post issues for dump1090-fa. virtualradarserver is a nice application - but looks somewhat aged, isn’t updated for more than a year, runs natively only on windows and all data aggregation i anyhow do with dump1090 in net-only mode and my script with mysql.
so - flightairmaps is the most advanced web-interface i’m aware of, runs perfect even on 3 year old tablets but moreover is an application with lot more capabilities (see website).
running mysql on a raspi is no big deal - what a problem could be is to write much to the sd-card. solutions here: write not too much data or use a external harddrive or install the database on a different machine or make a backup copy of your sd-card and if one time the sd-card died simply buy a new one
the easiest way is to use a second raspberry - but of course you can use your actual feeder (don’t forget making a backup). the only thing you have to be aware then is that there is already a webserver (lighttpd) running on port 80 - so you have to config the needed apache to e.g. port 8080. flightairmaps at the moment does not run on lighttpd because their mod_rewrite needs differnt .htaccess rewrite rules.
Thanks Tom! Second raspberry and mysql it is. I have two pidrives (one with a USB stick and one with an external drive). That eliminates the risk of frying the SD card but it’s also incredibly slow). It might be worth giving it a try though.
two days ago i asked the developer of FlightAirMaps to add an option for aircraft.json feed - now he did and updated to master on github with .json option. advantage: much less cpu-load for the raspi, all mlat (inclusive anonymized) displayed without need of not unproblematic tinkering mlat-forward to port 30003 etc.
in addition he maybe rewrites the .htaccess files to work with ligttpd so maybe install of secondary webserver (apache) will not be needed in future
ok - so here are the 100 lines to success setup flightairmaps and Dump1090 MySQL Database Script - E-Mail-Alert Lat/Lon/Alt/Hex/Flight-Filter → read my start post → look into this howto from developer → see what i did starting with a fresh raspbian stretch. if this is your fa-feeder you need to install piaware in addition. dont forget to set apache to port 8080 because lighttpd/dump1090 already uses port 80:
make user settings in radar.php, run flightairmaps installer and add radar.php and daemon-spotter.php to cron (@reboot sleep 10 && …) or preferable set them up as system-services - reboot raspi - that’s it
Well, looks like this is all geared towards running on the Pi vs a windows base installation. I am not good with coding and what have you so looks like this project is out of my scope as I have not found any reasonable how tos and such. Looks like cool software. But looks for now VRS still decent for me.
this is just how to install on raspberry. running on windows is no big deal. install apache webserver, install php, install mysql - do the needed settings and then run flightairmaps installer from chrome browser window …