stats problem

Discussion in 'Feeding' started by jeex, Dec 19, 2020.

  1. jeex

    jeex New Member

    Hi,

    I've got a little problem with the sharing stats. After having installed the adsbexhange-stats, I get this error when I try to access my shared data:

    Problem fetching data from the server!
    AJAX call failed (parsererror: SyntaxError: Unexpected end of JSON input).
    The displayed map data will be out of date.


    Adsbexchange-stats stauts on my Pi gives this:
    Raspberrypi adsbexchange-stats[13776]: No valid data source directory...

    I'm a bit out of ideas how to fix this, so any suggestions? :)

    best
    Jesper
     
  2. wiedehopf

    wiedehopf Administrator Staff Member

    Do you have the feed scripts installed?

    The stats script is just an add-on to them.
     
  3. jeex

    jeex New Member

    Yes, feedscripts are installed.
    Feeder and MLAT connection are OK on adsbexchange/myip and I can see tracked traffic on local-IP/dump1090.php
     
  4. wiedehopf

    wiedehopf Administrator Staff Member

  5. jeex

    jeex New Member

    Running the install script again did the trick - Thanks!
     
    Last edited: Dec 19, 2020
  6. James

    James Guest

    Hmm I guess we assumed it would generally work with all installs. Glad you figured it out.
     
  7. jeex

    jeex New Member

    I've used this install,: https://github.com/jprochazka/adsb-receiver

    I'm absolutely newbie when it comes to raspberry pi, so very likely I messed it up somewhere during the installation, but got everything up and running now.
     
  8. James

    James Guest

  9. jeex

    jeex New Member

    Thanks! I'll give it a shot with the one, wiedehopf also linked to.