Announcement

Collapse
No announcement yet.

Dump1090 mutability 1-15 on Mint linux

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

  • wiedehopf
    replied
    Yeah when you stop the service and run it on the console in interactive mode it won't provide the data for the webinterface.

    Leave a comment:


  • abcd567
    replied
    First try this:
    Clear Browser Cache (Ctrl+Shift+Delete) and Reload Browser (Ctrl+F5)

    If you still get the warning "maybe dump1090in no longr running", then try this:

    Code:
    # List all the running instances of dump1090-mutability
    pgrep -l dump1090
    
    # Stop all instances of dump1090-mutability
    sudo killall dump1090-mutability
    sudo killall dump1090
    
    # Restart single instance of dump1090-mutability
    sudo systemctl restart dump1090-mutability
    Open browser and point to
    localhost/dump1090/gmap.html

    Clear Browser Cache (Ctrl+Shift+Delete) and Reload Browser (Ctrl+F5)
    Last edited by abcd567; 2019-04-06, 17:00.

    Leave a comment:


  • Space Pilot
    replied
    I blacklisted Ubuntu's support for RTL-SDR DBV stick and re-booted. Now dump1090 seems to be running. I can see about 35 flights on terminal console. But still no planes on map.

    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.
    May be wrong port number(s)?

    Leave a comment:


  • Oblivian
    replied
    Originally posted by Space Pilot View Post
    Something is happening beyond my control. As I was closing some browser pages I realized the web display - be it lighttpd or gamin - is working!

    I see Open Street Map, Switzerland centered, no planes. and this message:



    I got to leave my desk right now, will be back in a few hours.

    SpacePilot
    gamin is nothing to do with lighttpd, but another program/addon that has files in it needed to run lighttpd on non standard linux (Mint) that are missing things

    And as such, is needed for lighttpd to start. So that confirms the web server (lighttpd) is now working - this also works independently of Dump1090

    Which is why I mentioned with the dump1090 error occurring, You won't get any data, unless dump1090 is the sole USB stick user.

    The give away is aybe dump1090 is no longer running?

    Leave a comment:


  • Space Pilot
    replied
    Something is happening beyond my control. As I was closing some browser pages I realized the web display - be it lighttpd or gamin - is working!

    I see Open Street Map, Switzerland centered, no planes. and this message:

    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.
    I got to leave my desk right now, will be back in a few hours.

    SpacePilot

    Leave a comment:


  • Oblivian
    replied
    Don't even touch lighttpd now until you can confirm you are even getting data it can use. However the earlier fix should have sorted it from not starting. You can still run the command wiedehopf suggested (and I) to restart lighttpd and see if it starts now.

    But the whole thing won't go if dump1090 doesn't too

    You need to understand what you are attempting to do (somewhat explained in abcds guide) vs just following commands here and there.

    They are all separate programs

    Dump10900-mutability - connect to stick, read data

    lighttpd - create server, allow files made by dump1090 to view in web browser


    If dump1090 cant run, And lighttpd cant start. You won't be going far at all.

    So you need to work out why dump1090-mutability can't access the USB stick. Or find it's correct running status as it is, right now.

    https://forum.flightradar24.com/thre...ll=1#post74851

    And once that is working. See if lighttpd can now restart with the earlier fix, and show the traffic it is getting on a webpage.

    Leave a comment:


  • wiedehopf
    replied
    lighttpd needs gamin to work.

    so install both.

    Anyway the usb_claim error occurs when another copy of dump1090-mutability or another dump1090 variety is already running.
    (Or by using the receiver wiht other software)

    If you get that error you can check if dump1090 is still running with this command:

    pgrep -fa

    But that interactive thing was just to make sure dump1090 is working, not about the webpage.

    Leave a comment:


  • Space Pilot
    replied
    I don't have installed FR24feed on this laptop.

    from https://bugs.launchpad.net/ubuntu/+s.../+bug/1453463:

    FIX:
    sudo apt-get install gamin

    Please, add dependency of "gamin" to "lighttpd" package or remove dependency of gamin from lighttpd code.
    Bug Watch Updater (bug-watch-updater) on 2019-02-23
    Changed in lighttpd:
    status: Unknown → Fix Released
    What does this mean to me? Would it make sense to apt remove lighttpd and then apt install lighttpd again? Ot both lighttpd and gamin?
    Last edited by Space Pilot; 2019-04-06, 12:18.

    Leave a comment:


  • Oblivian
    replied
    USB device in use. So either it didn't stop per the first line (sudo service dump1090-mutability stop), or you also have the FR24feed bundle/separate USB hoggging package installed taking over as soon as it does.

    Leave a comment:


  • Space Pilot
    replied
    sorry replying out of phase:

    sudo service dump1090-mutability stop
    sudo dump1090-mutability --interactive

    usb_claim_interface error -6
    Error opening the RTLSDR device: Device or resource busy
    Last edited by Space Pilot; 2019-04-06, 11:55.

    Leave a comment:


  • Oblivian
    replied
    Originally posted by Space Pilot View Post
    ok, let's give Mint another try.

    apt install gamin

    what next? How should I start it?
    sudo service lighttpd restart

    And then repeat

    https://forum.flightradar24.com/thre...l=1#post117912

    Leave a comment:


  • Space Pilot
    replied
    ok, let's give Mint another try.

    apt install gamin

    what next? How should I start it?

    Leave a comment:


  • Oblivian
    replied
    As for testing if dump1090 is fine.

    sudo service dump1090-mutability stop
    sudo dump1090-mutability --interactive

    It will soon tell you if it's working with the stick

    Leave a comment:


  • Oblivian
    replied
    Originally posted by Space Pilot View Post
    Ok, I see, dump1090-mutability is not for Linux Mint. I'll be back with RPI questions shortly :-)

    Thanks for your patience.

    ps
    first RPI question: I've got an old Raspberry Pi 1 B with Raspbian Stretch installed and maybe an FR24 feeder of that time. Is the Pi 1 B still good enough for dump1090-mutability?
    Huh?

    Did you follow abcd4567 link earlier - Dump1090 is obviously working on Mint? That is reasonably cross platform. But your latest issue is the web page hosting dump1090s web portal isn't it. And I linked to a page that shows why, and the commands/other users who have experienced it and installed gamin

    Leave a comment:


  • Space Pilot
    replied
    Ok, I see, dump1090-mutability is not for Linux Mint. I'll be back with RPI questions shortly :-)

    Thanks for your patience.

    ps
    first RPI question: I've got an old Raspberry Pi 1 B with Raspbian Stretch installed and maybe an FR24 feeder of that time. Is the Pi 1 B still good enough for dump1090-mutability?

    Leave a comment:

Working...
X