m0cgf
September 2, 2020, 4:31pm
1
Just had to rebuild my Pi after 3 years of it working OK.
I used the piaware image and instructions.
Its feeding Flightaware and FR24 OK.
The thing I cannot seem to get working is the local view, ie via 192…
I have tried :8080 :80 /dump109-fa and all the extentions I can find on the web.
Any ideas of what I am missing?
sudo systemctl status dump1090-fa
● dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-09-02 16:09:02 BST; 1h 17min ago
Docs: PiAware - ADS-B and MLAT Receiver - FlightAware
Main PID: 450 (dump1090-fa)
Tasks: 3 (limit: 2068)
CGroup: /system.slice/dump1090-fa.service
└─450 /usr/bin/dump1090-fa --device-index 0 --gain -10 --ppm 0 --max-range 360 --fix --net --net-heart
Sep 02 16:09:02 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 02 16:09:02 raspberrypi dump1090-fa[450]: Wed Sep 2 16:09:02 2020 BST dump1090-fa 3.8.1 starting up.
Sep 02 16:09:02 raspberrypi dump1090-fa[450]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00
Sep 02 16:09:02 raspberrypi dump1090-fa[450]: Found Rafael Micro R820T tuner
Sep 02 16:09:03 raspberrypi dump1090-fa[450]: rtlsdr: enabling tuner AGC
Sep 02 16:09:06 raspberrypi dump1090-fa[450]: Allocating 4 zero-copy buffers
obj
September 2, 2020, 4:45pm
2
What happens when you try to view it?
That is not the piaware sdcard image, based on the hostname.
m0cgf
September 2, 2020, 5:07pm
3
Thanks for the quick reply, I’ve tried so many sudo this and that to get it work I’ve probably reinstalled piaware, dump1090 and fr24 3 times!
When I type in 192…in a web browser it just says cannot connect. If I do http://192.168 …:30005/ then I get the wingdings type output.
m0cgf
September 2, 2020, 5:27pm
5
could be this then
pi@raspberrypi:~ $ sudo journalctl --no-pager -u lighttpd
– Logs begin at Wed 2020-09-02 16:08:57 BST, end at Wed 2020-09-02 18:26:15 BST. –
Sep 02 16:09:02 raspberrypi systemd[1]: Starting Lighttpd Daemon…
Sep 02 16:09:19 raspberrypi lighttpd[455]: Duplicate config variable in conditional 0 global: server.stat-cache-engine
Sep 02 16:09:19 raspberrypi lighttpd[455]: 2020-09-02 16:09:02: (configfile.c.1289) source: /etc/lighttpd/conf-enabled/89-dump1090.conf line: 19 pos: 1 parser failed somehow near here: (EOL)
Sep 02 16:09:19 raspberrypi lighttpd[455]: 2020-09-02 16:09:02: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 47 pos: 15 parser failed somehow near here: (EOL)
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:20 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1.
Sep 02 16:09:20 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Sep 02 16:09:20 raspberrypi systemd[1]: Starting Lighttpd Daemon…
Sep 02 16:09:20 raspberrypi lighttpd[669]: Duplicate config variable in conditional 0 global: server.stat-cache-engine
Sep 02 16:09:20 raspberrypi lighttpd[669]: 2020-09-02 16:09:20: (configfile.c.1289) source: /etc/lighttpd/conf-enabled/89-dump1090.conf line: 19 pos: 1 parser failed somehow near here: (EOL)
Sep 02 16:09:20 raspberrypi lighttpd[669]: 2020-09-02 16:09:20: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 47 pos: 15 parser failed somehow near here: (EOL)
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:20 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
Sep 02 16:09:20 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2.
Sep 02 16:09:20 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Sep 02 16:09:20 raspberrypi systemd[1]: Starting Lighttpd Daemon…
Sep 02 16:09:21 raspberrypi lighttpd[677]: Duplicate config variable in conditional 0 global: server.stat-cache-engine
Sep 02 16:09:21 raspberrypi lighttpd[677]: 2020-09-02 16:09:20: (configfile.c.1289) source: /etc/lighttpd/conf-enabled/89-dump1090.conf line: 19 pos: 1 parser failed somehow near here: (EOL)
Sep 02 16:09:21 raspberrypi lighttpd[677]: 2020-09-02 16:09:20: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 47 pos: 15 parser failed somehow near here: (EOL)
Sep 02 16:09:21 raspberrypi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 02 16:09:21 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:21 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 02 16:09:21 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
Sep 02 16:09:21 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3.
Sep 02 16:09:21 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Sep 02 16:09:21 raspberrypi systemd[1]: Starting Lighttpd Daemon…
Sep 02 16:09:21 raspberrypi lighttpd[698]: Duplicate config variable in conditional 0 global: server.stat-cache-engine
Sep 02 16:09:21 raspberrypi lighttpd[698]: 2020-09-02 16:09:21: (configfile.c.1289) source: /etc/lighttpd/conf-enabled/89-dump1090.conf line: 19 pos: 1 parser failed somehow near here: (EOL)
Sep 02 16:09:21 raspberrypi lighttpd[698]: 2020-09-02 16:09:21: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 47 pos: 15 parser failed somehow near here: (EOL)
Sep 02 16:09:21 raspberrypi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 02 16:09:21 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:21 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4.
Sep 02 16:09:22 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Sep 02 16:09:22 raspberrypi systemd[1]: Starting Lighttpd Daemon…
Sep 02 16:09:22 raspberrypi lighttpd[715]: Duplicate config variable in conditional 0 global: server.stat-cache-engine
Sep 02 16:09:22 raspberrypi lighttpd[715]: 2020-09-02 16:09:22: (configfile.c.1289) source: /etc/lighttpd/conf-enabled/89-dump1090.conf line: 19 pos: 1 parser failed somehow near here: (EOL)
Sep 02 16:09:22 raspberrypi lighttpd[715]: 2020-09-02 16:09:22: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 47 pos: 15 parser failed somehow near here: (EOL)
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:22 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Sep 02 16:09:22 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Sep 02 16:09:22 raspberrypi systemd[1]: Starting Lighttpd Daemon…
Sep 02 16:09:22 raspberrypi lighttpd[741]: Duplicate config variable in conditional 0 global: server.stat-cache-engine
Sep 02 16:09:22 raspberrypi lighttpd[741]: 2020-09-02 16:09:22: (configfile.c.1289) source: /etc/lighttpd/conf-enabled/89-dump1090.conf line: 19 pos: 1 parser failed somehow near here: (EOL)
Sep 02 16:09:22 raspberrypi lighttpd[741]: 2020-09-02 16:09:22: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 47 pos: 15 parser failed somehow near here: (EOL)
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 02 16:09:22 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:22 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 02 16:09:23 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
Sep 02 16:09:23 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 6.
Sep 02 16:09:23 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
Sep 02 16:09:23 raspberrypi systemd[1]: lighttpd.service: Start request repeated too quickly.
Sep 02 16:09:23 raspberrypi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Sep 02 16:09:23 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
pi@raspberrypi:~ $ ls /etc/lighttpd/conf-enabled
88-dump1090-fa-statcache.conf 89-dump1090-fa.conf 90-javascript-alias.conf
89-dump1090.conf 89-skyaware978.conf
/etc/lighttpd/conf-available/89-skyaware978.conf: 24: server.modules += ( “mod_setenv” )
/etc/lighttpd/conf-available/89-dump1090-fa.conf: 24: server.modules += ( “mod_setenv” )
obj
September 2, 2020, 6:03pm
6
Looks like you have an obsolete dump1090 package installed.
Without an accurate description of what you installed it’s going to be hard to help.
As a starting point please try the piaware sdcard image without changes and see if that works.
m0cgf
September 2, 2020, 6:04pm
7
ta will reload it all later and try again.
Just checked I used piaware-sd-card-3.8.1.img
Are you sure? As obj mentioned your device host name is “raspberrypi” which is then not the Piaware image.
Normally this is a Raspberry image with the Paiaware and dump1090-fa addon package
sudo rm /etc/lighttpd/conf-enabled/89-dump1090.conf
sudo apt remove -y dump1090-mutability
sudo apt remove -y dump1090
sudo reboot
That will likely fix it.
If you ever start new with a Raspbian image, this gives a few pointers:
Raspbian Lite: ADS B receiver · wiedehopf/adsb-wiki Wiki · GitHub
Main thing: Decide on ONE dump1090 / decoder package … only install that.
Don’t select DVB-T if installing FR24.
Use network mode if installing RB24.
Those two are the top offenders of installing their own dump1090 and then not providing data on 30005.
m0cgf
September 2, 2020, 9:10pm
11
all sorted on the reinstall, but I clicked by mistake the claim new flightware site, so it set i up on that and not my old one. Is there anway to merge?
system
Closed
September 2, 2021, 9:41pm
13
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.