Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 61

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

  1. #31
    Passenger
    Join Date
    Aug 2019
    Location
    London(between LHR and LGW)
    Posts
    16
    That explains everything.

    According to FlightAware - MLAT reported:
    v1.14 - 9500 positions per day,
    v1.15 update 24000 positions per day!

  2. #32
    Flight attendant magnum's Avatar
    Join Date
    Jun 2010
    Location
    35 miles west of FRA
    Posts
    80
    Is it possible to replace the FA dump1090 (dump1090-fa) with dump1090 V1.15?

    If yes, what's the most painless way?
    I am using a Pi 3B on Buster, all feeder self installed, so not a preinstalled image like Piaware

  3. #33
    Captain
    Join Date
    Apr 2018
    Posts
    750
    There's really no reason to do that. The developer of 1.15 continued the development of 1.15 at FA, so it became dump1090-fa.

    If you want the old interface with dump1090-fa, that's not too hard: https://github.com/wiedehopf/dump1090-retro-html

  4. #34
    Flight attendant magnum's Avatar
    Join Date
    Jun 2010
    Location
    35 miles west of FRA
    Posts
    80
    got it, thanks. Never thought that the FA version is it

    I have the retro version already installed beside your TAR version. all works fine

  5. #35
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,767
    Quote Originally Posted by magnum View Post
    Is it possible to replace the FA dump1090 (dump1090-fa) with dump1090 V1.15?

    If yes, what's the most painless way?
    I am using a Pi 3B on Buster, all feeder self installed, so not a preinstalled image like Piaware
    It is good if you followed instructions/advise by wiedehopf.

    However just co complete records, the most painless way to replce dump1090-fa by dump1090-mutability ver 1.15 on Buster is as follows:

    Code:
    sudo systemctl stop piaware
    sudo systemctl stop dump1090-fa
    
    sudo apt-get purge dump1090-fa
    sudo rm -rf /etc/lighttpd
    
    sudo apt-get update
    sudo apt-get install lighttpd
    sudo apt-get install dump1090-mutability
    
    sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" 
    
    sudo reboot

  6. #36
    Captain
    Join Date
    Apr 2018
    Posts
    750
    That probably will result in problems as not all lighttpd files are installed correctly.
    If you do the rm -rf, you should also purge lighttpd.
    That way all configuration files will be created when installing lighttpd after that.

    If lighttpd was installed before, the package system doesn't "know" you deleted the lighttpd configuration files and won't write them when installing it.
    Without configuration files it won't work.

    It probably would be a better idea to only delete dump1090-fa related lighttpd configuration files like this:

    sudo rm -f /etc/lighttpd/conf-enabled/*dump1090-fa*

    Also you don't know what else might be installed which the user might want retained (graphs, .... etc)
    Last edited by wiedehopf; 2019-09-04 at 19:55.

  7. #37
    Flight attendant magnum's Avatar
    Join Date
    Jun 2010
    Location
    35 miles west of FRA
    Posts
    80
    Thanks, but after the reply of wiedehopf earlier i leave my setup as it is.

  8. #38
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,767
    When installing dump1090-fa by package install as per following page, then lighttpd gets installed automatically as dependency of dump1090-fa.

    https://flightaware.com/adsb/piaware/install

    Consequently purging dump1090-fa purges lighttpd also, but for some reason leaves out folder /etc/lighttpd/.

    If someone tries to remove/purge lighttpd before removing/purging dump1090-fa, system refuses telling it cannot be removed as dump1090-fa depends on it. If tried to purge after purging dump1090-fa, system tells it cant remove/purge lighttpd as it does not exist.


    Even if lighttpd is installed independently, and if afterwards it is removed by purge command, the folder /etc/lighttpd does NOT get removed for unknown reason.

    It needs to be removed manually.
    Last edited by abcd567; 2019-09-04 at 20:42.

  9. #39
    Captain
    Join Date
    Apr 2018
    Posts
    750
    Purging dump1090-fa will not purge its dependencies like lighttpd.
    (Lighttpd will be auto-removed when issuing the auto-remove command. But it won't delete the lighttpd config files)

    What happens though when purging dump1090-fa, the config files in conf-available get deleted while the symlinks sometimes remain in conf-enabled, thus preventing lighttpd from starting.
    So i'm not against solving that issue.

    Remove only the relevant files (stuff in conf-enabled), it's the better approach.

    You can issue this command:
    sudo apt purge dump1090-fa lighttpd

    This will work because at this point both are installed.

  10. #40
    Passenger
    Join Date
    Aug 2019
    Posts
    6
    Trying to learn more;

    I think I have lost a file which should be in /etc/lighttpd, there is only a folder conf-available

    so mypiip/dump1090 does not load now (data is still working)

    Now I am thinking of trying to remove /etc/lighttpd, purge lighttpd and install again.
    Last edited by Gomac; 2019-09-06 at 07:39. Reason: correction

Posting Permissions

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