Announcement

Collapse
No announcement yet.

How to Install dump1090-mutability on RPi

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    I used the following command to install dump1090-mutability_1.15~dev:

    sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/dump1090/master/install_dump1090_mut_1.15.sh)"


    "dump1090-mutability --help 2>&1 | head -n4" -> output: "command not found"

    Yes, I've tried rebooting several times. I can now access remotely the ip/dump1090/gmap.html. However that page with unknown version appear.


    "cat /etc/fr24feed.ini" -> output:

    receiver="beast-tcp"
    fr24key="xxxxxxxxxxxxxxxx" (my password is correct, verified)
    host="127.0.0.1:30005"
    bs="no"
    raw="no"
    logmode="0"
    windowmode="0"
    logpath="/var/log"
    mpx="no"
    mlat="yes"
    mlat-without-gps="yes"

    Comment


    • #92
      You're on buster anyway.

      Just try installing it again:

      sudo apt install dump1090-mutability

      Maybe you just need to configure it and enable the automatic start:

      sudo dpkg-reconfigure dump1090-mutability

      Comment


      • #93
        I have installed again according to your instructions.
        However the issue remains.
        I'll try to use another usb stick and test again...

        Comment


        • #94
          Does it still say command not found when you type this:

          dump1090-mutability

          As i already said, save yourself some trouble, use this: https://github.com/wiedehopf/adsb-wi...for-dump1090fa

          Comment


          • #95
            Originally posted by wiedehopf View Post
            Does it still say command not found when you type this:

            As i already said, save yourself some trouble, use this: https://github.com/wiedehopf/adsb-wi...for-dump1090fa
            https://github.com/wiedehopf/adsb-wi...for-dump1090fa not working.

            https://github.com/wiedehopf/adsb-sc...for-dump1090fa working.

            Comment


            • #96
              Sorry for that, i changed some URLs, it should be working again now.

              Comment


              • #97
                (running "dump1090-mutability --help 2>&1 | head -n4")
                Now it says...

                -----------------------------------------------------------------------------
                | dump1090 ModeS Receiver EB_SOURCE EB_VERSION |
                -----------------------------------------------------------------------------
                --device-index <index> Select RTL device (default: 0)

                Comment


                • #98
                  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)

                  Comment


                  • #99
                    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.

                    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

                      Comment


                      • You'll have to post more of the output of the first command, otherwise i don't know what the error is.

                        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.

                          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.

                            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

                              Comment


                              • Why are you showing these? Isn't the website showing?

                                (lighttpd is working now.)

                                Comment

                                Working...
                                X