Announcement

Collapse
No announcement yet.

Archived: Feed issues with 19-2

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    It seems like dump1090 is not correctly running based on your output.

    In the latest version 1.0.19-8 there is a diagnostics dump tool integrated.
    You can gather a tgz archive of diagnostics data which will enormously help us to debug such issues.

    You can download it either by opening URL in browser: http://RECEIVER_IP:8754/diagnostics_dump.tgz or by running: sudo /usr/lib/fr24/dump_diagnostics.sh
    Both commands are doing the same thing and you're welcome to check what data is included. The latter command (as run by root) will include slightly more data, including syslog and coredump of the fr24feed process.

    It would be very helpful to get this data dump for your receiver.

    Comment


    • #92
      Originally posted by YoshiH
      https://we.tl/4jcBttf9Yy

      with the following message "cp: cannot stat '/etc/default/dump1090-mutability': No such file or directory"
      Thanks! Your dpkg is in a broken state for some reason. So fr24feed installer can't install dump1090.

      You can see this from apt_history.log:

      Start-Date: 2018-01-26 12:41:50
      Commandline: apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install librtlsdr0 libusb-1.0-0 dirmngr lighttpd wget -y
      Error: Sub-process /usr/bin/dpkg returned an error code (1)
      End-Date: 2018-01-26 12:41:51
      and "systemctl status fr24feed":

      Process: 410 ExecStartPre=/usr/lib/fr24/install_dump1090.sh (code=exited, status=100)
      If you try to run "sudo /usr/lib/fr24/install_dump1090.sh" you will likely see the same dpkg error.

      Try to solve it by running "sudo dpkg --configure -a", this looks like a system-wide issue, not exactly fr24feed or dump1090 issue.

      Comment


      • #93
        Code:
        pi@raspberrypi:~ $ sudo dpkg --configure -a
        Setting up dirmngr (1.1.1-5) ...
        chown: cannot access '/var/log/dirmngr/': No such file or directory
        dpkg: error processing package dirmngr (--configure):
         subprocess installed post-installation script returned error exit status 1
        Errors were encountered while processing:
         dirmngr

        Comment


        • #94
          Originally posted by YoshiH View Post
          Code:
          pi@raspberrypi:~ $ sudo dpkg --configure -a
          Setting up dirmngr (1.1.1-5) ...
          chown: cannot access '/var/log/dirmngr/': No such file or directory
          dpkg: error processing package dirmngr (--configure):
           subprocess installed post-installation script returned error exit status 1
          Errors were encountered while processing:
           dirmngr
          Try sudo mkdir -p /var/log/dirmngr


          Skickat från min iPhone med Tapatalk

          Comment


          • #95
            Code:
            pi@raspberrypi:~ $ sudo mkdir -p /var/log/dirmngr
            pi@raspberrypi:~ $ sudo dpkg --configure -a
            Setting up dirmngr (1.1.1-5) ...
            pi@raspberrypi:~ $ sudo reboot
            BOOM! Up and running! Do you need some more info from me? Thanks a lot for investigating.

            Comment


            • #96
              It would be interesting to understand if it is only your raspberry pi or is it a common problem. Anyone else had similar issue with dirmngr?


              Skickat från min iPhone med Tapatalk

              Comment


              • #97
                Originally posted by ylis
                @abcd567 - Thank you. Have got dump1090-mut v1.14 installed.

                There is obviously something wrong with the config file - Unknown or not enough arguments for option '--net--gain'.

                Do I need to put dvbt back to avr-tcp ? or make other changes.

                Fr24feed-status is unchanged from my earlier post.
                You have left no space between --net and --gain, and it is like one continous word --net--gain.
                Please insert a space between --net and --gain.

                Also change dvbt back to avr-tcp, as already advised by Khan. I have aske you to change it to dvbt as the install script for dump1090 mutability wont proceed without setting dvbt.
                Last edited by abcd567; 2018-01-26, 20:00.

                Comment


                • #98
                  Originally posted by Oblivian
                  Looks like we have a bunch of users now in stuck stages, potentially after trying to DIY previous fixes or slight OS differences. The latest 2 updates undoing something thay worked and reverting to a different failed state (damn)

                  Might need to do some BASIC 2 step tests or similar of a known modded and broken one, purge and fresh install via script. If it works out the box then that will be a good route to suggest. No editing and so forth

                  Else we could be patching people's modded service scripts and permissions forever

                  Sent from my XT1092 using Tapatalk
                  True story. Version 1.0.19-8 broke down my configuration and I had to set dump1090:nogroup in fr24feed.service in order to fix it.

                  Is it possible to turn off the automatic updates for the feeder? I would like to update manually so I can check if everything keeps running.
                  Last edited by thehague; 2018-01-26, 20:54.

                  Comment


                  • #99
                    Originally posted by davgooner
                    the Pi24 img.
                    Give following 4 commands and post outputs:

                    apt-cache policy fr24feed

                    apt-cache policy dump1090-mutability

                    apt-cache policy dump1090

                    fr24feed-status
                    Last edited by abcd567; 2018-01-26, 20:50.

                    Comment


                    • Originally posted by abcd567 View Post
                      Give following 4 commands and post outputs:

                      apt-cache policy fr24feed

                      apt-cache policy dump1090-mutability

                      apt-cache policy dump1090

                      fr24feed-status
                      apt-cache policy fr24feed

                      fr24feed:

                      Installed: 1.0.19-8
                      Candidate: 1.0.19-8
                      Version table:
                      *** 1.0.19-8 0

                      500 repo.feed.flightradar24.com/ flightradar24/raspberrypi-stable armhf Packages
                      100 /var/lib/dpkg/status
                      apt-cache policy dump1090-mutability

                      Unable to locate package dump1090-mutability
                      Hmmm.

                      apt-cache policy dump1090


                      Unable to locate package dump1090
                      fr24feed-status


                      FR24 Feeder/Decoder Process ... Failed!

                      Comment


                      • @davgooner
                        The dump1090-mutability was not installed. This is often caused if at the time of upgrade from 1.0.18-9 to 1.0.19-xx, the setting of receiver is not dvbt.

                        Fix it as follows:

                        Step-1
                        Code:
                        sudo nano /etc/fr24feed.ini
                        In settings set receiver="dvbt", if it is set to something else.
                        Without receiver="dvbt", the installation of dump1090-mutability wont take place

                        Save file (Ctrl+o) and Close file (Ctrl+x)

                        Step-2
                        Code:
                        sudo reboot
                        At reboot, fr24feed will install dump1090-mutability.

                        after reboot, check again
                        Code:
                        apt-cache policy dump1090-mutability
                        fr24feed-status
                        If dump1090-mutability is still missing, do this:
                        Code:
                        cd /usr/lib/fr24/
                        sudo ./install_dump1090.sh
                        sudo reboot
                        Now check again

                        Code:
                        apt-cache policy dump1090-mutability
                        fr24feed-status
                        Step-3
                        Change setting to receiver="avr-tcp" host="127.0.0.1:30002" if you still face problems
                        Last edited by abcd567; 2018-01-26, 22:19.

                        Comment


                        • Has anyone had an broken RPi 'fixed' by the software updates alone ie from 1.0.18-9 to 1.0.19-8 ? Without any local human intervention or tinkering ?

                          ylis

                          Comment


                          • @abcd567

                            Made the change and dump1090 installed on reboot and is showing as installed. However, fr24feed is still showing as failed even after changing the settings in step 3.

                            Comment


                            • @ davgooner
                              Reboot Pi and check after reboot
                              Code:
                              sudo reboot
                              
                              fr24feed-status
                              If rebooting does not fix problem, try this workaround:
                              Code:
                              sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
                              
                              sudo reboot
                              
                              fr24feed-status
                              Last edited by abcd567; 2018-01-27, 09:47.

                              Comment


                              • Hey FR24 Team,
                                Since the update of version 1.0.19-2 FR24feed didn't receive any signal from airplanes. Made a clean install of the downgraded (at the time 18/01/18) 18-9 and it worked until 20 January 06:00 GMT, when it stopped again because of the new update of 1.0.19-5. I was on a trip and only got back today. It has updated to 1.0.19-8 and it's still not working. When I type fr24feed in Terminal, it shows this error message:

                                Sat Jan 27 11:43:30 2018 -02 dump1090-mutability v1.14 starting up.
                                Found 1 device(s):
                                0: Realtek, RTL2838UHIDIR, SN: 00000001 (currently selected)
                                usb_claim_interface error -6
                                Error opening the RTLSDR device: Device or resource busy
                                Tried to link the diagnostics dump tool but the forum doesn't allow.

                                If someone could help me, it would be awesome! Thanks in advance!

                                Comment

                                Working...
                                X