ADS-B Receiver Project Setup Scripts

I have installed Basic Web Portal (XML only, no SQL).

Does any one know how to upgrade from basic Web Portal to Advanced Web Portal with SQL database?

Never mind, found it by trial & error

FIRST ATTEMPT - Failed



#run the installation script
cd ~/adsb-receiver
./install.sh

#Installation process started
#I said No to everything till reached option to install web portal, and said yes to it. 
#The portal installation started, checked and found all components of web portal are already installed, 
#and completed WITHOUT offering option for Advance


SECOND ATTEMPT - Success



#First emptied html folder
sudo rm -rf /var/www/html/*

#Now run the installation script 
cd ~/adsb-receiver
./install.sh

#Installation process started
#I said No to everything till reached option to install web portal, and said yes to it. 
#The portal installation started, and asked if I want to install Advanced option
#I chose SQL Lite, and it went ahead and installed the advanced option.


thanks for that helpfully information!

How does one remove a project/feeder they have installed but no longer want installed? ADSB Exchange to be exact

This is something Iā€™d be interested to know.

Dear gents,

Iā€™m new to the forum so please try to be patient ā€¦ :wink:
Iā€™m running dump1090-mutability on a Raspi1, everything runs okay.
Since a lot of weeks Iā€™m trying to improve my installation regarding distance and signal strength.
For that, I wanted to install the dump1090 tools and gamble a little with the snr.
I tried to install the dump1090 tools from Ted Sluis https://github.com/tedsluis/dump1090-tools also as from mutability itself (tried swiftbyte.com/articles/soft ā€¦ mutability).
All comes out with not having the rrd data bases created under /var/lib/collectd/rrd/localhost.
I guess itā€™s a path error.
Should I provide my collectd.conf ?
Any hints are warmly welcome.
Best regards,

JD.

INSTALLATION ON $9 BOARD ā€œC.H.I.P.ā€
Tried to install ONLY dump1090-mutability. When reached the stage to configure automatic start of dump1090-mutability, the chip crashed. Tried several time, exactly same happens:


Configuring dump1090-mutability
dump1090 can be started automatically via an init-script. Otherwise, the init-script does nothing; you must run dump1090 by hand. You can modify the options used when automatically starting dump1090 by running ā€œdpkg-reconfigure dump1090-mutabilityā€ as root, or by editing /etc/default/dump1090-mutability.

Start dump1090 automatically?


Enabling lighttpd integrationā€¦
Enabling dump1090: ok
Run /etc/init.d/lighttpd force-reload to enable changes
Restarting lighttpdā€¦
Processing triggers for systemd (215-17+deb8u5) ā€¦

ā€¦CRASHā€¦

Rebooted, and tried to run dump1090-mutability manually:

chip@chip:~$ sudo dump1090-mutability
[sudo] password for chip:
Sun Nov 20 12:50:45 2016 UTC dump1090-mutability v1.15~dev starting up.
Using sample converter: UC8, integer/table path
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
Found Rafael Micro R820T tuner
Max available gain is: 49.60 dB
Setting gain to: 49.60 dB
Gain reported by device: 49.60 dB

*5dc03cf497411a;
CRC: 000000
RSSI: -22.2 dBFS
Score: 750
Time: 181312.08us
DF:11 AA:C03CF4 IID:0 CA:5
All Call Reply
ICAO Address: C03CF4 (Mode S / ADS-B)
Air/Ground: airborne

*59a3ed7c8d77f4;
CRC: 000000
RSSI: -22.8 dBFS
Score: 750
Time: 269945.58us
DF:11 AA:A3ED7C IID:0 CA:1
All Call Reply
ICAO Address: A3ED7C (Mode S / ADS-B)

*5dc05f82c51da4;
CRC: 000000
RSSI: -18.1 dBFS
Score: 750
Time: 622513.33us
DF:11 AA:C05F82 IID:0 CA:5
All Call Reply
ICAO Address: C05F82 (Mode S / ADS-B)
Air/Ground: airborne
ā€¦
ā€¦
ā€¦30 seconds passedā€¦
ā€¦CRASHā€¦

.
.

Iā€™ve been running dump1090-mutability for awhile since I have been using the ADS-B Receiver image. Iā€™m setting up a second receiver and I noticed there are two downloads, one for dump1090-fa and one for dump1090-mutability. What is the major differences between the two dump1090s?

(1) The User Interfaces on Map are different. The Map can be made full screen, table hides, or table can be made full screen, map hides. Also when an aircraft is clicked, its details appear in a box. Please see screenshots below
(2) Method of settings/configuration is somewhat different, and in the beginning confusing for one who has used mutability for some time.
(3) There may be some inner performance/operational differences which I am not aware of, nor have felt any.

Image 1 of 2: dump1090-mutability
In the screenshots below, the mutability shows less planes than fa, because the mutability is on a system with spider+generic dvb-t (black), and fa is on FA antenna+Filter+Prostick

Image 2 of 2: dump1090-fa

They are fairly similar in performance, as far as I can tell. Most of the work is now being done on the FA version(if you look in github). I would try the FA version and see how it goes.

hi guys,
i deleted the admin in mysql db ;( ( i forgot my pass so i delete the adminā€¦)
now i cant login with /admin at the site

i have access with phpmyadmin to the db
can anyone help me please?

a reinstall with del of var/www isnt working.
i give the correct data but a new ā€œadminā€ user is after this in my db

greetings rainer

Hi ,
See page below

github.com/jprochazka/adsb-rece ā€¦ nd-Restore

After backup, I think you will have to run install.sh within the adsb-receiver directory to re-install everything and select/enable advanced features. Then open a browser and revisit
your-station-ip-address/install/
to set up the portal again.
Then you can restore your data using the guide in the wiki page above.

Iā€™ve broken this.

I thought it would be an interesting exercise to install Pi-Hole on my tracker. It worked but it badly broke my web interface and Iā€™ve discovered thatā€™s because it completely overwrote my /etc/lighttpd/lighttpd.conf file. Iā€™m getting 404 errors all over the place.

My backup regime isnā€™t in place yet and even though Iā€™ve now removed Pi-Hole I have a very badly wrong lighttpd.conf file.

Could someone post the code so I can recreate it please? I chose dump1090-mutability as install originally.

Thanks,

Keith.

Are you using the web interface with the performance graphs, system info, etc? If so, I can post mine.

Yes, thatā€™s the one.


server.modules = (
        "mod_access",
        "mod_alias",
        "mod_compress",
        "mod_redirect",
#       "mod_rewrite",
)

server.document-root        = "/var/www/html"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 80


index-file.names            = ( "index.php", "index.html", "index.lighttpd.html$
url.access-deny             = ( "~", ".inc" )


Thanks - Thatā€™s actually made it worse! Previously I was getting the web interface with 404 errors all over, now itā€™s totally failing to connect to the Pi for that interface.

/edit - OK, lighttpd isnā€™t starting now - Error in the file so checking to see what the error is.

Use the script again and only install the web interface. Reinstalling it should fix everything.


pi@tracker:/etc/lighttpd $ sudo /etc/init.d/lighttpd status
ā— lighttpd.service - Lighttpd Daemon
   Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
   Active: failed (Result: exit-code) since Sat 2016-11-26 10:46:34 GMT; 2s ago
  Process: 1787 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)

Nov 26 10:46:34 tracker lighttpd[1787]: 2016-11-26 10:46:34: (configfile.c.898) source: /etc/lighttpd/lighttpd.conf line: 18 pos: 114 invalid character in variable name
Nov 26 10:46:34 tracker lighttpd[1787]: 2016-11-26 10:46:34: (configfile.c.954) configfile parser failed at: index.lighttpd.html$
Nov 26 10:46:34 tracker lighttpd[1787]: url.access-deny             = (
Nov 26 10:46:34 tracker systemd[1]: lighttpd.service: control process exited, code=exited status=255
Nov 26 10:46:34 tracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 26 10:46:34 tracker systemd[1]: Unit lighttpd.service entered failed state.

There arenā€™t 114 characters in line 18!

That was one of the things I tried earlierā€¦ Doing it again now:


  Checking for the file upintheair.json in the dump1090 HTML folder...
  Removing conflicting redirects from the Lighttpd dump1090.conf file...
  Adding the Lighttpd portal configuration file...
  Enabling the Lighttpd fastcgi-php module...

already enabled
Run /etc/init.d/lighttpd force-reload to enable changes

  Starting Lighttpd...

....] Starting lighttpd (via systemctl): lighttpd.serviceJob for lighttpd.service failed. See 'systemctl status lighttpd.service' and 'journalctl -xn' for details.
 failed!