Announcement

Collapse
No announcement yet.

Automated Installation of Dump1090-Mutability, Data Feeders, and Performance Graphs

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

  • wiedehopf
    replied
    Yeah if you're not into patching stuff, use the other install scripts i linked.
    I maintain them and at least currently they are all up to date.

    They should also work with your current installation, they will for the most part overwrite parts of what you already installed with the script.
    (Not sure what the adsb receiver script did before it quit on you)
    Last edited by wiedehopf; 2019-08-25, 16:52.

    Leave a comment:


  • belldandy
    replied
    Hello, wiedehopf

    Thank you for the suggestions. I will try wo edit the install script and change the line you suggested.
    It would be great to (let's say) patch the problem without a fresh reinstall. I just reinstalled it this morning while I had a few hours alone (and i dont know when i'll be so lucky again ^^; )

    let's see what happens

    have a nice afternoon.

    Leave a comment:


  • wiedehopf
    replied
    The graphs by the adsb-receiver project script can be installed without installing other things.
    Just select the webinterface only in the installation routine.

    You'd have to modify the script to change the php7.0-cgi to php-cgi.

    But if you don't need the php webinterface, just the graphs:


    As for dump1090, i'd go with dump1090-fa:
    Solutions to common problems for rtl_sdr / ADS-B stuff - wiedehopf/adsb-scripts


    For dump1090-fa i've also done some work on improving the webinterface, it has different map layers and a few other features:



    While you are at it, just start fresh with a Raspbian Buster Lite image.
    Last edited by wiedehopf; 2019-08-25, 11:09.

    Leave a comment:


  • belldandy
    replied
    I forgot to mention that i tried to install 1090 mutabilty using the pre cooked package that worked in the other proicedure....
    but after that, while i could pass beyond the first obstacle, i get a second error tryong to install PHP(well, i guess).
    what i seen is ...

    ****
    INSTALLATION HALTED!
    UNABLE TO INSTALL A REQUIRED PACKAGE.
    SETUP HAS BEEN TERMINATED!

    The package "php7.0-cgi" could not be installed in 5 attempts.

    ANY FURTHER SETUP AND/OR INSTALLATION REQUESTS HAVE BEEN TERMINIATED

    ***

    suggestions welcomed

    thank you all.

    Leave a comment:


  • belldandy
    replied
    Hello everybody, nice to meet you all.
    I'm a kind of "otaku" for flight tracking, but i'm almost totally zero for what concerns software and linux. Please excuse me if i ask for the obvious or write wrong things...

    I stumbled on this thread and i got attracted by the cool things that i could actually see on my pc with "just" a reinstall.

    I'm feeding data to Fr24 since a couple of years using their package and a leftover raspberry i had on the lab.
    Everything was ok... i mean, no issues but hey, no cool maps and graphs!! what i've been missing for so long!

    So i decided to give a try. (sorry, i cant paste direct links, as a newbie this is forbdden by forum rules).
    At first i used "10232-How-to-Install-dump1090-mutability_1-15-dev-on-RPi" procedure and it worked, but it had no graphs and i could not figure out if i can add them "after" or not.

    I retried from scratch with 10597-Automated-Installation-of-Dump1090-Mutability-Data-Feeders-and-Performance-Graphs (that should give both, maps and graphs) but the procedure fails.

    I'm installing on the currently available raspbian ( specifically, Raspbian Buster Lite released on july 10,2019). Before starting i do update/upgrade as a good boy

    The last thing i can capture from the procedure log screen is as follows (sorry i cant post a proper screenshot).

    **
    gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION="v1.15~dev" -g -O2 -fdebug-prefix-map=/home/luca/adsb-receiver/build/dump1090-mutability/dump1090=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -g -Wall -Werror -W -Wno-unknown-warning-option -Wno-format-truncation -std=c11 -D_DEFAULT_SOURCE -DHTMLPATH="/usr/share/dump1090-mutability/html" -DMODES_DUMP1090_VARIANT="dump1090-mutability" -c convert.c -o convert.o
    gcc -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o crc.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o convert.o -lpthread -lm -lrt `pkg-config --libs librtlsdr libusb-1.0` -Wl,-z,relro -Wl,-z,now
    /usr/bin/ld: dump1090.o: in function `rtlsdrCallback':
    ./dump1090.c:414: undefined reference to `rtlsdr_cancel_async'
    /usr/bin/ld: dump1090.o: in function `verbose_device_search':
    ./dump1090.c:867: undefined reference to `rtlsdr_get_device_count'
    /usr/bin/ld: ./dump1090.c:874: undefined reference to `rtlsdr_get_device_usb_strings'
    /usr/bin/ld: ./dump1090.c:890: undefined reference to `rtlsdr_get_device_usb_strings'
    /usr/bin/ld: ./dump1090.c:894: undefined reference to `rtlsdr_get_device_name'
    /usr/bin/ld: dump1090.o: in function `modesInitRTLSDR':
    ./dump1090.c:287: undefined reference to `rtlsdr_get_device_count'
    /usr/bin/ld: ./dump1090.c:295: undefined reference to `rtlsdr_get_device_usb_strings'
    /usr/bin/ld: ./dump1090.c:303: undefined reference to `rtlsdr_open'
    /usr/bin/ld: ./dump1090.c:310: undefined reference to `rtlsdr_set_tuner_gain_mode'
    /usr/bin/ld: ./dump1090.c:316: undefined reference to `rtlsdr_get_tuner_gains'
    /usr/bin/ld: ./dump1090.c:323: undefined reference to `rtlsdr_get_tuner_gains'
    /usr/bin/ld: ./dump1090.c:358: undefined reference to `rtlsdr_set_tuner_gain'
    /usr/bin/ld: ./dump1090.c:365: undefined reference to `rtlsdr_set_freq_correction'
    /usr/bin/ld: ./dump1090.c:367: undefined reference to `rtlsdr_set_center_freq'
    /usr/bin/ld: ./dump1090.c:368: undefined reference to `rtlsdr_set_sample_rate'
    /usr/bin/ld: ./dump1090.c:370: undefined reference to `rtlsdr_reset_buffer'
    /usr/bin/ld: ./dump1090.c:372: undefined reference to `rtlsdr_get_tuner_gain'
    /usr/bin/ld: ./dump1090.c:366: undefined reference to `rtlsdr_set_agc_mode'
    /usr/bin/ld: dump1090.o: in function `verbose_device_search':
    ./dump1090.c:900: undefined reference to `rtlsdr_get_device_usb_strings'
    /usr/bin/ld: ./dump1090.c:910: undefined reference to `rtlsdr_get_device_usb_strings'
    /usr/bin/ld: ./dump1090.c:917: undefined reference to `rtlsdr_get_device_name'
    /usr/bin/ld: dump1090.o: in function `readerThreadEntryPoint':
    ./dump1090.c:612: undefined reference to `rtlsdr_read_async'
    /usr/bin/ld: ./dump1090.c:629: undefined reference to `rtlsdr_close'
    /usr/bin/ld: ./dump1090.c:618: undefined reference to `rtlsdr_close'
    collect2: error: ld returned 1 exit status
    make[2]: *** [Makefile:54: dump1090] Error 1
    make[2]: Leaving directory '/home/luca/adsb-receiver/build/dump1090-mutability/dump1090'
    dh_auto_build: make -j1 "EXTRACFLAGS=-DHTMLPATH=\\"/usr/share/dump1090-mutability/html\\" -DMODES_DUMP1090_VARIANT=\\"dump1090-mutability\\"" returned exit code 2
    make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
    make[1]: Leaving directory '/home/luca/adsb-receiver/build/dump1090-mutability/dump1090'
    make: *** [debian/rules:30: build] Error 2
    dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

    Configuring dump1090-mutability to start automatically....
    Installing the dump1090-mutability package...

    dpkg: error: cannot access archive '/home/luca/adsb-receiver/build/dump1090-mutability/dump1090-mutability_1.15~dev_*.deb': No such file or directory

    Checking that the dump1090-mutability package was installed properly...

    INSTALLATION HALTED!
    UNABLE TO INSTALL A REQUIRED PACKAGE.
    SETUP HAS BEEN TERMINATED!

    The package "-mutability" could not be installed.

    ------------------------------------------------------------------------------
    Dump1090-mutability setup halted.

    Press enter to continue...



    **


    Can anyone provide insight/help?
    Thanks in advance and thanks for the person who created the threads in any case.

    Leave a comment:


  • magnum
    replied
    Originally posted by abcd567 View Post
    Wiedehop has recently written a script which installs graphs only (no web portal). Give a look here:

    .
    To avoid misunderstandings for beginners: The graphs do have a web interface which can be launched by http://<Raspi-IP>/graphs1090 or http://<Raspi-IP>/perf

    Leave a comment:


  • mgunther
    replied
    Originally posted by abcd567 View Post
    Wiedehop has recently written a script which installs graphs only (no web portal). Give a look here:



    .
    Thanks! I'll keep that as an option for future installs. For now, I have used Joe Prochazka's image-based install and that is working fine for me

    Leave a comment:


  • abcd567
    replied
    Originally posted by mgunther View Post
    Yes I worked on it for a while in the past but not for some time now.
    Wiedehop has recently written a script which installs graphs only (no web portal). Give a look here:



    .

    Leave a comment:


  • mgunther
    replied
    Originally posted by abcd567 View Post
    Hi mgunther!
    Nice to see you after a long gap.
    If I remember correctly, you were the key contributer to "Adsb-receiver Project" during the stage J Prochazka was developing it.
    Yes I worked on it for a while in the past but not for some time now. I just noticed the disk graphs had disappeared on one of my existing installations and a new one that I'm preparing to set up at my mom's place soon. Took me a good while to figure out what was going on and I had to re-learn how the whole graphing system works

    Leave a comment:


  • abcd567
    replied
    Hi mgunther!
    Nice to see you after a long gap.
    If I remember correctly, you were the key contributer to "Adsb-receiver Project" during the stage J Prochazka was developing it.

    Leave a comment:


  • mgunther
    replied
    Originally posted by wiedehopf View Post
    disk usage not working is caused by the current collectd version.

    you can install a new version like this:

    Code:
    wget -O /tmp/collectd.deb http://raspbian.raspberrypi.org/raspbian/pool/main/c/collectd/collectd-core_5.8.1-1.3_armhf.deb
    sudo dpkg -i /tmp/collectd.deb
    This worked for me and has fixed disk graphs that had been missing for some time, thank you!

    Leave a comment:


  • wiedehopf
    replied
    Some googling the error suggests this:

    Code:
    sudo rm /var/lib/apt/lists/* -vf
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get dist-upgrade

    Leave a comment:


  • glen4cindy
    replied
    Originally posted by wiedehopf View Post
    Yeah the web portal is for adsb-receiver.

    Those graphs are still generated from the data collected even when you run the install script for my graphs.
    My graphs are not available via the web portal. Instead they have those URLs: http://pi/perf OR http://pi/graphs1090


    You might want to consider running these commands as well to change the database format over.
    It will take around 8 minutes, don't interrupt it.
    (the screen command makes it safe against network interruptions though, just wait 10 minutes and it'll be finished.)

    Code:
    sudo apt update
    sudo apt install -y screen
    sudo screen bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/new-format.sh)"
    I'm wondering if it wouldn't be prudent to begin from the beginning again.

    Running the commands above beginning with "sudo apt update" generated the following results:

    $ sudo apt update
    Hit:1 http://repo.feed.flightradar24.com flightradar24 InRelease
    Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
    Get:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
    Hit:4 https://apt.rb24.com rpi-stable InRelease
    Fetched 15.0 kB in 1s (7,574 B/s)
    Reading package lists... Error!
    E: Problem parsing dependency 2
    E: Error occurred while processing gir1.2-gtk-3.0 (NewVersion2)
    E: Problem with MergeList /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_stretch_ui_bi nary-armhf_Packages
    E: The package lists or status file could not be parsed or opened.
    pi@PiAware24:~ $ sudo apt install -y screen
    Reading package lists... Error!
    E: Problem parsing dependency 2
    E: Error occurred while processing gir1.2-gtk-3.0 (NewVersion2)
    E: Problem with MergeList /var/lib/apt/lists/archive.raspberrypi.org_debian_dists_stretch_ui_bi nary-armhf_Packages
    E: The package lists or status file could not be parsed or opened.
    pi@PiAware24:~

    I'm not "Linux" smart enough to know why these commands failed or how to fix it.

    Thanks for your help and patience!

    Leave a comment:


  • wiedehopf
    replied
    Yeah the web portal is for adsb-receiver.

    Those graphs are still generated from the data collected even when you run the install script for my graphs.
    My graphs are not available via the web portal. Instead they have those URLs: http://pi/perf OR http://pi/graphs1090


    You might want to consider running these commands as well to change the database format over.
    It will take around 8 minutes, don't interrupt it.
    (the screen command makes it safe against network interruptions though, just wait 10 minutes and it'll be finished.)

    Code:
    sudo apt update
    sudo apt install -y screen
    sudo screen bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/new-format.sh)"

    Leave a comment:


  • glen4cindy
    replied
    Originally posted by wiedehopf View Post
    What did you already do?

    Anyway installing my graphs is explained on the github page i linked.

    It's a different version of graphs, i based them on the adsb receiver graphs but made several improvements and no fancy web portal is necessary.
    I thought I had already run the install routine you provided and actually looked at your updated graphs. Then, somehow I was back to looking at the performance graphs I had posted photos of.

    I'm pretty sure the web portal still links to the older graphs even though I have installed your newer ones but, at this point I have done a number of things to my original install I can't be certain.

    In any event, I have your updated graphs working now.

    Leave a comment:

Working...
X