Announcement

Collapse
No announcement yet.

No data in FR24 despite feeder updated

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

  • No data in FR24 despite feeder updated

    My PiAware setup is not feeding data to FR24 anymore. It was running okay for 4 years but this month it stopped.... I found on this forum that I needed to update my feeder.

    So I did:
    - Go to PiAware settings page, pushed update button.
    - SSH to my Pi​
    Code:
        
    sudo apt-get update
    sudo apt-get install fr24feed
    
    wget https://repo-feed.flightradar24.com/rpi_binaries/fr24feed_1.0.44-0_armhf.deb
    sudo dpkg -i fr24feed_1.0.44-0_armhf.deb
    
    sudo systemctl restart fr24feed​
    sudo reboot

    But it did not fix the problem.

    My PiAware local/remote page works normally. No problems looking at my own data.

    So I tried:
    - sudo apt-get install fr24feed
    but this tells me: fr24feed is already the newest version (1.0.44-0).

    So, I am on the latest version. Why isn't it working?​

    Trying to look at log files: cat / var / log / fr24feed / fr24feed.log
    However, there is NO fr24feed folder in / var / log /

    I ran out of things to try..... So I decided to leave it a couple of hours, maybe magic and time would help but it didn't...

    Edit:
    Interestingly when I do: sudo fr24feed-status
    I get: FR24 Feeder/Decoder Process ... failed!

    but: sudo systemctl restart fr24feed
    does not help

    Neither does going through the signup process again: sudo fr24feed --signup

    Noteworthy is that the FR24 status page (the one on port 8754) on the Pi is also not working.

    Edit2:
    Tried removing and reinstalling fr24feed:
    - sudo apt-get remove fr24feed
    - sudo apt-get install fr24feed -> gives errror: Package fr24feed is not avilable, but is refered to by another package.
    So I used the already downloaded https://repo-feed.flightradar24.com/...44-0_armhf.deb
    and:
    - sudo dpkg -i fr24feed_1.0.44-0_armhf.deb
    Selecting previously unselected package fr24feed.
    (Reading database ... 48981 files and directories currently installed.)
    Preparing to unpack fr24feed_1.0.44-0_armhf.deb ...
    Unpacking fr24feed (1.0.44-0) ...
    Setting up fr24feed (1.0.44-0) ...
    useradd: user 'fr24' already exists​

    systemctl restart fr24feed
    sudo fr24feed-status
    FR24 Feeder/Decoder Process ... failed!​

    I'm really stuck! Its not christmas, its groundhogday!

    Edit3:
    in / var / log / I found a deamon.log file that says:
    Code:
    Dec 30 11:17:08 piaware systemd[1]: dump978-fa.service: Main process exited, code=exited, status=64/USAGE
    Dec 30 11:17:08 piaware systemd[1]: dump978-fa.service: Failed with result 'exit-code'.
    Dec 30 11:17:08 piaware systemd[1]: beast-splitter.service: Succeeded.
    Dec 30 11:17:08 piaware systemd[483]: fr24feed.service: Failed to determine group credentials: No such process
    Dec 30 11:17:08 piaware systemd[1]: Started Bluetooth LE service for configuring PiAware.
    Dec 30 11:17:08 piaware systemd[483]: fr24feed.service: Failed at step GROUP spawning /usr/lib/fr24/unregister_kernel_modules.sh: No such process
    Dec 30 11:17:08 piaware systemd[1]: Started /etc/rc.local Compatibility.
    Dec 30 11:17:08 piaware systemd[1]: skyaware978.service: Main process exited, code=exited, status=64/USAGE
    Dec 30 11:17:08 piaware systemd[1]: skyaware978.service: Failed with result 'exit-code'.
    Dec 30 11:17:08 piaware systemd[485]: fr24feed.service: Failed to determine group credentials: No such process
    Dec 30 11:17:08 piaware systemd[485]: fr24feed.service: Failed at step GROUP spawning /usr/lib/fr24/create_missing_directories.sh: No such process
    Dec 30 11:17:08 piaware systemd[1]: Finished Permit User Sessions.
    Dec 30 11:17:08 piaware systemd[1]: Started Flightradar24 Decoder & Feeder.
    Dec 30 11:17:08 piaware systemd[487]: fr24feed.service: Failed to determine group credentials: No such process
    Dec 30 11:17:08 piaware systemd[487]: fr24feed.service: Failed at step GROUP spawning /usr/bin/fr24feed: No such process
    Dec 30 11:17:08 piaware systemd[1]: fr24feed.service: Main process exited, code=exited, status=216/GROUP
    Dec 30 11:17:08 piaware systemd[1]: fr24feed.service: Failed with result 'exit-code'.
    No clue what to do, but hopefully someone else has be seeing this?
    Last edited by Hasse; 2023-12-30, 12:02.

  • #2
    What is version of your OS?

    Please post output of following commands

    Code:
    cat /etc/os-release 
    
    lsb_release -a
    .

    Comment


    • #3
      Originally posted by abcd567 View Post
      What is version of your OS?

      Please post output of following commands

      Code:
      cat /etc/os-release
      
      lsb_release -a
      .
      pi@piaware:~ $ cat /etc/os-release
      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
      NAME="Raspbian GNU/Linux"
      VERSION_ID="11"
      VERSION="11 (bullseye)"
      VERSION_CODENAME=bullseye
      ID=raspbian
      ID_LIKE=debian
      HOME_URL="http://www.raspbian.org/"
      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

      pi@piaware:~ $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description: Raspbian GNU/Linux 11 (bullseye)
      Release: 11
      Codename: bullseye
      pi@piaware:~ $​

      Comment


      • #4
        Your OS is no old. I was thinking that you may have a very old OS which is causing the issue you are facing.

        Try to purge the fr24feed, then clean the apt cache of saved corrupt package, and then reinstall fr24feeder.

        Before issuing purge command, open file /etc/fr24feed.ini and from it copy feeder key, paste in notepad, and save notepad. You will need this when you issue command "sudo fr24feed --signup"

        Code:
        sudo apt purge fr24feed  
        
        sudo apt clean  
        
        sudo apt install fr24feed  
        
        sudo fr24feed --signup  
        
        ​​​​​
        Last edited by abcd567; 2023-12-31, 04:53.

        Comment


        • #5
          Originally posted by abcd567 View Post
          Your OS is no old. I was thinking that you may have a very old OS which is causing the issue you are facing.

          Try to purge the fr24feed, then clean the apt cache of saved corrupt package, and then reinstall fr24feeder.

          Before issuing purge command, open file /etc/fr24feed.ini and from it copy feeder key, paste in notepad, and save notepad. You will need this when you issue command "sudo fr24feed --signup"

          Code:
          sudo apt purge fr24feed
          
          sudo apt clean
          
          sudo apt install fr24feed
          
          sudo fr24feed --signup
          
          ​​​​​
          Thank you very much for the provided help. However, it did not solve my problem. Here is the output of the commands:

          Code:
          pi@piaware:~ $ sudo apt purge fr24feed
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          The following packages will be REMOVED:
            fr24feed*
          0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
          After this operation, 9,196 kB disk space will be freed.
          Do you want to continue? [Y/n]
          (Reading database ... 49009 files and directories currently installed.)
          Removing fr24feed (1.0.44-0) ...
          (Reading database ... 48981 files and directories currently installed.)
          Purging configuration files for fr24feed (1.0.44-0) ...
          
          pi@piaware:~ $ sudo apt clean
          
          pi@piaware:~ $ sudo apt install fr24feed
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          The following NEW packages will be installed:
            fr24feed
          0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
          Need to get 3,786 kB of archives.
          After this operation, 9,196 kB of additional disk space will be used.
          Get:1 https://repo-feed.flightradar24.com flightradar24/raspberrypi-stable armhf fr24feed armhf 1.0.44-0 [3,786 kB]
          Fetched 3,786 kB in 1s (3,997 kB/s)
          Selecting previously unselected package fr24feed.
          (Reading database ... 48978 files and directories currently installed.)
          Preparing to unpack .../fr24feed_1.0.44-0_armhf.deb ...
          Unpacking fr24feed (1.0.44-0) ...
          Setting up fr24feed (1.0.44-0) ...
          Linking /usr/bin/dump1090-fa to /usr/lib/fr24/dump1090
          useradd: user 'fr24' already exists
          
          pi@piaware:~ $ sudo fr24feed --signup​
          ...
          Saving settings to /etc/fr24feed.ini...OK
          Settings saved, please run "sudo systemctl restart fr24feed" to use new configuration.
          
          pi@piaware:~ $ sudo systemctl restart fr24feed
          
          pi@piaware:~ $ sudo fr24feed-status
          FR24 Feeder/Decoder Process ... failed!​
          Still the status page (the one on port 8754) is not showing at all and FR24 keeps telling me that I am not feeding data. PiAware states (port 80) is working, all green. And on port 8080 I have a map with all the planes showing and moving as always. So everything working except the feed to FR24.

          Comment


          • #6
            I FIXED IT !!!!!!


            I got triggered by 'useradd: user 'fr24' already exists' and decided to remove the fr24 user as it seems to be created on install.

            So I did:
            sudo userdel -r fr24
            sudo rm -r /usr/lib/fr24​

            2nd line, because 1st line gave a warning that that folder was not removed, so I removed it manually.

            Then I followed @abcd567's instructions to remove everything of fr24feed and reinstall it:

            sudo apt purge fr24feed

            sudo apt clean

            sudo apt install fr24feed

            sudo fr24feed --signup

            And now it works again!

            Turns out that FR24feed does not install correctly (make the link: Linking /usr/bin/dump1090-fa to /usr/lib/fr24/dump1090) when fr24 user already exists on the system. Maybe this is a bug?

            Comment


            • #7
              As shown in screenshot below, the folder "/usr/lib/fr24" has lot of files. The purge command does not remove the folder /usr/lib/fr24 and the symlink dump1090. Rest of files in this folder are deleted. The purge command also do not delete user fr24.

              However these two leftovers normally do no affect reinstall. I have just now tried "sudo apt purge fr24feed", which left above 2 items unremoved. I then issued "sudo apt clean", "sudo apt install fr24feed" and "sudo fr24feed --signup" commands, and the newly indtalled fr24feed worked ok.

              The only reason I can think of your problem is that either the original user fr24 and/or the original folder /usr/lib/fr24 had wrong permissions or wrong ownership, causing new installs to fail. After you deleted these manually, the fresh install created fresh, uncorrupted copies of these items, and all started working ok.

              Screenshot_20231231_100402_Termux.jpg


              Screenshot_20231231_094216_Termux.jpg
              Last edited by abcd567; 2023-12-31, 15:06.

              Comment

              Working...
              X