Iám trying to install the gain page from abcd567 said: 2016-07-01 08:49
Pi runs Buster lite
PHP7.3 installs fine
After the reboot the page pi-ip/dump1090/gain.php gives me error 403-forbidden
Announcement
Collapse
No announcement yet.
How to Install dump1090-mutability on RPi
Collapse
X
-
Awesome, thank you very much. I had tried the clear cache and CTRL-F5 but that didn't help.
Your github link worked perfectly. Now both interfaces are up and work smooth. Thank you very much.
Leave a comment:
-
First try refreshing the browser cache with Ctlr-F5 or just delete the browser cache.
If that doesn't help, i would recommend using this:
It provides the same old 1.15 interface plus a new one. It works in 99.9% of cases.
Otherwise you can show the result of these commands:
ls /etc/lighttpd/conf-enabled
cat /etc/os-release | grep PRETTY
pgrep -a dump1090
sudo journalctl -u lighttpd --no-pager
ls /run/dump1090-mutability/aircraft.json -l
Those should tell me where the problem is.
Leave a comment:
-
I have followed the installation description and modifications on the first page. Somehow it seems to have everything been fine, and the Raspi is feeding to the various sites, but when I browse locally to the IP-address/dump1090/gmap.html I just get an eternal waiting symbol.
dump1090.png
I have tried to undo the changes by copying back the original files but even then it didn't work. How can I trace the error to get this page working?
Leave a comment:
-
I thought that you wanted me to show again the output after the both commands you gave to me: "sudo rm /etc/lighttpd/conf-enabled/*cgi*;sudo systemctl restart lighttpd"
ipaddress/dump1090-fa/ is working!
Thank you
Leave a comment:
-
Why are you showing these? Isn't the website showing?
(lighttpd is working now.)
Leave a comment:
-
Many thanks for your help!
Probably as I'm trying to get this working...
Both commands run succesfully... first command I get:
sudo journalctl -u lighttpd --no-pager
-- Logs begin at Sat 2019-08-10 17:45:59 WEST, end at Sat 2019-08-10 21:46:08 WEST. --
ago 10 17:46:03 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:04 raspberrypi lighttpd[515]: 2019-08-10 17:46:04: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:04 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:04 raspberrypi lighttpd[586]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:04 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:04 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1.
ago 10 17:46:05 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:05 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:05 raspberrypi lighttpd[611]: 2019-08-10 17:46:05: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:05 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:05 raspberrypi lighttpd[617]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2.
ago 10 17:46:05 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:05 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:06 raspberrypi lighttpd[682]: 2019-08-10 17:46:05: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:06 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:06 raspberrypi lighttpd[703]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3.
ago 10 17:46:06 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:06 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:06 raspberrypi lighttpd[759]: 2019-08-10 17:46:06: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:06 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:07 raspberrypi lighttpd[797]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4.
ago 10 17:46:07 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:07 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:07 raspberrypi lighttpd[836]: 2019-08-10 17:46:07: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:07 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:07 raspberrypi lighttpd[857]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
ago 10 17:46:08 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Start request repeated too quickly.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:08 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
ago 10 21:42:42 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 21:42:42 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 21:43:02 raspberrypi systemd[1]: Stopping Lighttpd Daemon...
ago 10 21:43:02 raspberrypi systemd[1]: lighttpd.service: Succeeded.
ago 10 21:43:02 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 21:43:02 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 21:43:03 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 21:46:05 raspberrypi systemd[1]: Stopping Lighttpd Daemon...
ago 10 21:46:05 raspberrypi systemd[1]: lighttpd.service: Succeeded.
ago 10 21:46:05 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 21:46:05 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 21:46:05 raspberrypi systemd[1]: Started Lighttpd Daemon.
Second command... "ls /etc/lighttpd/conf-enabled" gives as output:
88-dump1090-fa-statcache.conf 89-dump1090-fa.conf 90-javascript-alias.conf
Leave a comment:
-
Seems you uninstalled something you were using before.
Anyway that makes it easy, use these commands:
sudo rm /etc/lighttpd/conf-enabled/*cgi*
sudo systemctl restart lighttpd
That should fix it.
Leave a comment:
-
Here you go...
-- Logs begin at Sat 2019-08-10 17:45:59 WEST, end at Sat 2019-08-10 21:19:58 WEST. --
ago 10 17:46:03 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:04 raspberrypi lighttpd[515]: 2019-08-10 17:46:04: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:04 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:04 raspberrypi lighttpd[586]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:04 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:04 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1.
ago 10 17:46:05 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:05 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:05 raspberrypi lighttpd[611]: 2019-08-10 17:46:05: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:05 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:05 raspberrypi lighttpd[617]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:05 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2.
ago 10 17:46:05 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:05 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:06 raspberrypi lighttpd[682]: 2019-08-10 17:46:05: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:06 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:06 raspberrypi lighttpd[703]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:06 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3.
ago 10 17:46:06 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:06 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:06 raspberrypi lighttpd[759]: 2019-08-10 17:46:06: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:06 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:07 raspberrypi lighttpd[797]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4.
ago 10 17:46:07 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:07 raspberrypi systemd[1]: Starting Lighttpd Daemon...
ago 10 17:46:07 raspberrypi lighttpd[836]: 2019-08-10 17:46:07: (gw_backend.c.1424) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
ago 10 17:46:07 raspberrypi systemd[1]: Started Lighttpd Daemon.
ago 10 17:46:07 raspberrypi lighttpd[857]: /usr/bin/php-cgi: No such file or directory
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
ago 10 17:46:07 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
ago 10 17:46:08 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Start request repeated too quickly.
ago 10 17:46:08 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
ago 10 17:46:08 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Leave a comment:
-
You'll have to post more of the output of the first command, otherwise i don't know what the error is.
Leave a comment:
-
For the first command I get this warning in the end of the process:"raspberrypi systemd[1]: Failed to start Lighttpd Daemon."
"ls /etc/lighttpd/conf-enabled" -> output:
10-fastcgi.conf 88-dump1090-fa-statcache.conf 90-javascript-alias.conf
15-fastcgi-php.conf 89-dump1090-fa.conf
Leave a comment:
-
Let's check:
sudo journalctl -u lighttpd --no-pager
ls /etc/lighttpd/conf-enabled
Note you can't have dump1090-fa and dump1090-mutability installed at the same time.
The script will therefore deinstall dump1090-mutability.
Leave a comment:
-
dump1090-fa installs OK, except for this part when I get this warning:
Process: 1694 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
Leave a comment:
Leave a comment: