Announcement

Collapse
No announcement yet.

Mlat down and no data since update 1.0.24-4 on my Raspberry, help needed

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

  • Mlat down and no data since update 1.0.24-4 on my Raspberry, help needed

    Hi folks,
    it seems that during the last update something went wrong.
    Since the last update seems that the feeder goes up, but no MLAT running and no data uploaded.

    Can someone help me to troubleshoot this ?


    the status is ok:
    pi@raspberrypi:/var/log/fr24feed $ sudo service fr24feed status -l
    ● fr24feed.service - Flightradar24 Decoder & Feeder
    Loaded: loaded (/etc/systemd/system/fr24feed.service; enabled)
    Active: active (running) since Fri 2019-10-11 12:02:15 CEST; 12min ago
    Process: 2478 ExecStartPre=/usr/lib/fr24/create_missing_directories.sh (code=exited, status=0/SUCCESS)
    Process: 2472 ExecStartPre=/usr/lib/fr24/unregister_kernel_modules.sh (code=exited, status=0/SUCCESS)
    Process: 2467 ExecStartPre=/usr/lib/fr24/install_dump1090.sh (code=exited, status=0/SUCCESS)
    Main PID: 2483 (fr24feed)
    CGroup: /system.slice/fr24feed.service
    └─2483 /usr/bin/fr24feed

    Oct 11 12:02:15 raspberrypi systemd[1]: Started Flightradar24 Decoder & Feeder.

    pi@raspberrypi:/var/log/fr24feed $ sudo fr24feed-status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2019-10-11 10:14:54.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-LICT1.
    [ ok ] FR24 Tracked AC:.
    [FAIL] Receiver: down ... failed!
    [FAIL] FR24 MLAT: not running ... failed!



    On the log I can only see this:

    2019-10-11 12:02:47 | info | [stats]Stats thread started
    2019-10-11 12:02:47 | info | Stopping ReceiverACSender threads for feed
    2019-10-11 12:02:47 | info | Configured ReceiverACSender: 185.218.24.22:8099,185.218.24.23:8099,185.218.24.2 4:8099, feed: LICT1, send_interval: 5s, max age: 15s, send metadata: true, mode: 1, filtering: true
    2019-10-11 12:02:47 | info | Network thread connecting to 185.218.24.22:8099 for feed LICT1
    2019-10-11 12:02:47 | [feed][n]LICT1@185.218.24.22:8099/UDP
    2019-10-11 12:02:47 | [feed][n]connecting
    2019-10-11 12:02:47 | [feed][n]connected via UDP (fd 26)
    2019-10-11 12:02:47 | [feed][i]Feed connected
    2019-10-11 12:02:47 | [feed][n]working
    2019-10-11 12:02:47 | [reader][i]Connecting to DVBT receiver via (exe:///usr/bin/dump1090-mutability --raw --mlat)
    2019-10-11 12:02:47 | [reader][i]Connected to the receiver, configuring
    2019-10-11 12:02:47 | [reader][i]Configured, processing messages
    2019-10-11 12:02:47 | [reader][i]Connection terminated

    2019-10-11 12:02:47 | [main][i]Terminating child process 2537 with SIGTERM
    2019-10-11 12:02:53 | [reader][i]Connecting to DVBT receiver via (exe:///usr/bin/dump1090-mutability --raw --mlat)
    2019-10-11 12:02:53 | [reader][i]Connected to the receiver, configuring
    2019-10-11 12:02:53 | [reader][i]Configured, processing messages
    2019-10-11 12:02:53 | [reader][i]Connection terminated
    2019-10-11 12:02:53 | [main][i]Terminating child process 2541 with SIGTERM
    2019-10-11 12:02:58 | [reader][i]Connecting to DVBT receiver via (exe:///usr/bin/dump1090-mutability --raw --mlat)
    2019-10-11 12:02:58 | [reader][i]Connected to the receiver, configuring
    2019-10-11 12:02:58 | [reader][i]Configured, processing messages
    2019-10-11 12:02:58 | [reader][i]Connection terminated
    2019-10-11 12:02:58 | [main][i]Terminating child process 2546 with SIGTERM


    the dump1090-mutability.log reports:


    Fri Oct 11 11:36:31 2019 CEST dump1090-mutability v1.14 starting up.
    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



    Cattura.jpg

  • #2
    NEW USERS TRYING TO PASTE ERRORS/LOGS -


    @


    , http:// www. , common script/web code (FR24 logs included), or other key characters may trigger moderation and will not show until approved.
    Remember to remove @ signs and regular code when posting with a low post count.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

    Comment


    • #3
      You probably have dump1090 starting on its own and additionally are using receiverd dvb-t.

      With dvb-t fr24feed wants to start dump1090 itself, it must not be started before.
      Other option is receiver beast-tcp, then you can have dump1090 be started externally.

      If you don't want to configure it yourself, this will correct your configuration:
      Solutions to common problems for rtl_sdr / ADS-B stuff - wiedehopf/adsb-scripts

      Comment


      • #4
        I had exactly the same issue since Thursday morning. I was going nowhere fast with FR24 support, so followed wiedehopf's advice and ran his script on GitHub. Problem now solved.
        Regards
        Paul

        Comment


        • #5
          Originally posted by wiedehopf View Post
          You probably have dump1090 starting on its own and additionally are using receiverd dvb-t.

          With dvb-t fr24feed wants to start dump1090 itself, it must not be started before.
          Other option is receiver beast-tcp, then you can have dump1090 be started externally.

          If you don't want to configure it yourself, this will correct your configuration:
          https://github.com/wiedehopf/adsb-sc...for-dump1090fa
          I'm beginning to wonder if the scripted upgrade process has a default config hard-coded or similar. I did a apt install over top, and it tried to tell me there was no configuration file and it would auto run setup at first run. (like a default message)

          Thankfully it did (after a 2nd restart) pickup the my specific config and read the TCP setting and key etc from it. But not before the status screen tried to tell me there was options missing.
          Posts not to be taken as official support representation - Just a helpful uploader who tinkers

          Comment


          • #6
            To be honest i don't care, i just post my script mostly and hope people like the added interfaces

            Comment


            • #7
              Well, no kidding.

              But just putting it out there, that it seems some specific scenarios are likely once again not being accounted for by fr and overriding.

              I already had them installed/pre run, and it apparently tried to screw with mine.

              Sent from my EML-L09 using Tapatalk
              Posts not to be taken as official support representation - Just a helpful uploader who tinkers

              Comment


              • #8
                I suppose with config dvb-t it might be sufficient to do:

                sudo systemctl disable --now dump1090-mutability
                sudo systemctl restart fr24feed

                This should disable the dump1090 autostart and stop dump1090 if it's running.
                Then fr24feed is restarted and can just start dump1090.

                Comment


                • #9
                  Code:
                  pi@raspberrypi:~ $ cat /usr/lib/fr24/install_dump1090.sh

                  Code:
                  .... .... ....
                  .... .... ....
                  
                  if grep -q "^[COLOR="#FF0000"]receiver.*dvbt"[/COLOR] /etc/fr24feed.ini && [ ! -e /usr/lib/fr24/dump1090 ] ; then
                      echo "dump1090 is not found, downloading dump1090-mutability..."
                  
                      # to skip any questions from APT
                      export DEBIAN_FRONTEND=noninteractive
                  
                      echo 'dump1090-mutability dump1090-mutability/[COLOR="#FF0000"]auto-start boolean false'[/COLOR] | debconf-set-selections -v
                  
                      apt-get update -y
                  
                      DUMP1090_IF_PRESENT=`apt-cache search --names-only '^dump1090-mutability.*' | awk '{ print $1 }' | head -n 1`
                  
                      apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install librtlsdr0 libusb-1.0-0 dirmngr lighttpd wget $DUMP1090_IF_PRESENT -y
                  
                      if [ "$DUMP1090_IF_PRESENT" == "" ]; then
                          # Download and install dump1090-mutability if not present in repository
                          wget -O /tmp/dump1090-mutability_1.14_armhf.deb https://github.com/mutability/dump1090/releases/download/v1.14/dump1090-mutability_1.14_armhf.deb
                          dpkg -i /tmp/dump1090-mutability_1.14_armhf.deb
                          rm -f /tmp/dump1090-mutability_1.14_armhf.deb
                      fi
                  
                      [COLOR="#FF0000"]ln -s /usr/bin/dump1090-mutability /usr/lib/fr24/dump1090[/COLOR]
                  
                  .... .... ....
                  .... .... ....
                  Last edited by abcd567; 2019-10-12, 17:05.

                  Comment

                  Working...
                  X