Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: PI24: Replace dump1090 v1.14 -> pre-build package of dump1090 v1.15

  1. #11
    Captain
    Join Date
    Apr 2018
    Posts
    612
    Does refreshing the page display current planes or does the refreshed page still display old planes?

    http://frpi/dump1090/data/aircraft.json

    Does this file change when you refresh it when the map isn't working anymore?

    Can you show your fr24feed.ini (remove key)

    cat /etc/fr24feed.ini

    Also let's check which Raspbian you are using:

    cat /etc/os-release | grep -i pretty

    If you don't mind some branding, you can also use dump1090-fa, installation is also done via install script.
    https://github.com/wiedehopf/adsb-wi...or-dump1090-fa

  2. #12
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,675
    (1) Seems you did NOT reboot after the installation completed.
    Reboot and then check the map.

    (2) If rebooting does not fix the problem, then most likely the dump1090-mutability ver 1.15~dev did not get installed properly. You will have to fix it manually by following method:

    2.1 - Purge existing broken install of dump1090-mutability ver 1.15 ~dev
    Code:
    sudo dpkg --purge dump1090-mutability
    sudo rm -rf /usr/share/dump1090-mutability

    2.2 - Reinstall ver 1.15
    Code:
    cd /usr/lib/fr24/
    
    sudo ./install_dump1090.sh
    
    sudo service lighttpd force-reload
    
    sudo systemctl restart fr24feed
    Last edited by abcd567; 2019-06-26 at 18:23.

  3. #13
    Passenger
    Join Date
    Feb 2013
    Location
    London, UK
    Posts
    43
    The aircraft.json file was not updating.
    Code:
    pi@frrpi:~ $  cat /etc/fr24feed.ini
    receiver="dvbt"
    fr24key="something"
    host="127.0.0.1:30002"
    bs="yes"
    raw="yes"
    logmode="1"
    procargs="--net"
    windowmode="0"
    logpath="/var/log/fr24feed"
    mpx="no"
    mlat="yes"
    mlat-without-gps="yes"
    
    pi@frrpi:~ $  cat /etc/os-release | grep -i pretty
    PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
    BUT .... A reboot fixed it. Not sure why or how. I am not used to rebooting my linux computers.
    I am very happy, because the local map display has not been working for months.
    My sincere thanks to you both.

  4. #14
    Captain
    Join Date
    Apr 2018
    Posts
    612
    Hmm very curious.

    --net should not be used with bs and raw i believe because they occupy the same ports.
    but it's working now so it seems possible to run it like that.

    abcd567:

    this line

    sudo service lighttpd force-reload

    can fail to work if lighttpd is stopped for some reason as it won't start but only restart it.

    systemctl restart lighttpd

    this line on the other hand will always work and restart or start lighttpd as necessary.
    Probably wasn't the issue in this case, i'm not sure what was.

    Might also be a good idea to stop fr24feed before removing dump1090

    The problem above sounds a bit like the run directory wasn't properly managed.
    It's probably managed by fr24.

    Oh well the reboot is included in the instructions.
    Maybe print it on the screen as well at the end of the script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •