GithubHelp home page GithubHelp logo

dirkhh / adsb-feeder-image Goto Github PK

View Code? Open in Web Editor NEW
106.0 106.0 11.0 3.18 MB

Easy to use turn-key SD card image for a number of popular single board computers to run a complete ADS-B feeder

Home Page: https://adsb.im/home

License: GNU General Public License v3.0

Shell 19.26% Python 50.62% CSS 1.00% HTML 28.66% Makefile 0.45%
adsb

adsb-feeder-image's People

Contributors

afoeder avatar dependabot[bot] avatar dirkhh avatar hypearm avatar iakat avatar kx1t avatar mattdahepic avatar nhasan avatar ottergoose avatar vertrauensstellung avatar wiedehopf avatar yipyup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

adsb-feeder-image's Issues

[BUG] OVA Error - Line 16: Missing child element 'VirtualHardwareSection'.

Hey @dirkhh,

Looks like there might be an issue/bug with the OVA in VMware vSphere 8.

My hosts are running ESXi-8.0U2-22380479-standard.

When I go to upload the OVA to the Host - it results in this error.

Error: Line 16: Missing child element 'VirtualHardwareSection'. - There was an error creating the import specification from the OVF file.

Screenshot 2023-10-25 at 07 53 16

Feature Request: interface for additional private/beta aggregators

I had someone reach out to me who's doing their own ADS-B aggregation for a school project (which isn't large enough or public-facing, so shouldn't be included in the list of supported aggregators), and passed along a feed URL and port (30004).

It'd be slick if there was a way to add this to my config through the web interface.

PiAware MLAT Issues

When I check the PiAware status page, I see MLAT is in an orange state and says Local Clock Source Unstable. I also checked the container logs and see the following error multiple times in the log with varying percentages. NOTICE from adept server: 18% of multilateration messages (UDP) are not reaching the server - check your network?

image

image

Display of system memory utilization not working in Dozzle

Dozzle's display of system memory utilization is showing 0 Bytes; not functioning properly. CPU % and container count metrics seem to be reading correctly, just not the memory utilization.

I didn't see this reported on prior tickets, so I'm logging it here just in case it wasn't already known.

Running ADS-B Feeder Image v1.0.4(stable) with containers from v1.0.4(stable), running on Raspberry Pi 4 Model B Rev 1.4.
adsb-im-iob-raspberrypi-dietpi-64-v1.0.4.img

No aircraft plotted in Tar1090 in 0.11.0

Upgraded to 0.11.0, Tar1090 is listing aircraft that my antenna is picking up on the right, and my Hey What's That range ring is plotted, but no aircraft are rendering on my map. Thought it might be related to the other bug report ( #35 ), but issue persists even when I disabled the adsb.lol route API.

Inspector reveals :8080/libs/ol-custom.js.map and ol.css.map cannot be found; unsure if this is cause of issue.

Feature request: enable MLAT on Flightradar24

I noticed that MLAT was disabled by default.
I enabled it in its own config, because I saw nowhere in the ADSB.im config a toggle to enable it.
It works but it still shows as disabled in the feeding table.

P.S. a key to understand the symbols on the table would be great.
Awsome project, thanks for your work!

500 error for /backup and /restore

Using the navbar buttons or manually navigating to /backup or /restore results in a 500 error with the following message logged in the web server logs:

Jun 23 20:01:25 adsb flask[858]:   File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 936, in handle_exception
Jun 23 20:01:25 adsb flask[858]:     raise rewrite_traceback_stack(source=source)
Jun 23 20:01:25 adsb flask[858]:   File "/usr/local/share/adsb-pi-setup/templates/backup.html", line 2, in top-level template code
Jun 23 20:01:25 adsb flask[858]:     {% set active_page = "backup" %}
Jun 23 20:01:25 adsb flask[858]:   File "/usr/local/share/adsb-pi-setup/templates/base.html", line 34, in top-level template code
Jun 23 20:01:25 adsb flask[858]:     style="display: {% if env_values['BASE_CONFIG'] == "1" or
Jun 23 20:01:25 adsb flask[858]:   File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 466, in getitem
Jun 23 20:01:25 adsb flask[858]:     return obj[argument]
Jun 23 20:01:25 adsb flask[858]: jinja2.exceptions.UndefinedError: 'env_values' is undefined
Jun 23 20:01:25 adsb flask[858]: 127.0.0.1 - - [24/Jun/2023 04:01:25] "GET /backup HTTP/1.1" 500 -

I'm not too familiar with Flask but it appears to be an error with showing/hiding the navbar in the base template. Changing the order of the conditions in the if on the affected lines to force a short-circuit in the condition on the affected pages does not resolve the issue.

Occurs on v0.9.2 and testbuild-g-f6bd5de6.

Feature Request: Actual Range Outline Reset

In a future version, it might be useful to put an option on the Expert page to allow for the clearing/reset of the actual range outline. When testing various hardware changes, it is beneficial to be able to reset the outline.

Unstable clock causing MLAT problems.

Equipment: Raspberry Pi3b+ running DietPi Bookworm and ADSB Software App. Issue happens on latest V1.0.0
I think I may have found a problem with intermittent MLAT on RadarBox, I also have an MLAT error with FlightAware. "Local clock source is unstable", I had a red tick on the status page for that so looked deeper.

I have gone back to my original SD card running on a ADSBexchange image and everything is back to normal with both those aggregators so will stay on that for now. I wouldn't know where to start finding the cause of an unstable timing problem in the docker build as I am not very experienced in Linux.

Regards, Tony
Error 01
Error 02

Feature request: GPS

Add support for a usb GPS receiver to update station location on the services. I build a few AIS and ADSB boxes to send disaster location where local infrastructure might be out. Being able to use gps to update station locations saves a lot of time in the field when you move sensor boxes around a lot.

dietpi issues

  • systemd-timesyncd /etc/systemd/timesyncd.conf did not specify an NTP server
  • /run not mounted with exec (fixed with adsb-docker.service update)

Configuration is wiped after Pi reboots

Just set this up last night with an old Raspberry Pi 3 I had laying around to test with. In doing some testing, I ran into an issue with the backup and restore pages which I see there was already an issue opened for. Additionally, any time I reboot my Pi (either reboot from ssh session or just pulling power) it loses the config and is basically like it is new out of the box. Let me know what I can provide to help troubleshoot! Thank you for the help!!

Feature Request: Dark Mode

This is just a nice to have and nothing is broken. I just wanted to get it listed here, in case it wasn't already on your roadmap/plans. Would love to see a dark mode similar to how the graphs have it enabled.

Error: adsb-setup-proxy - agg_status.py - TypeError: 'NoneType' object is not subscriptable

Dozzle logs of adsb-setup-proxy container

[2023-11-05 07:13:41,531] ERROR in app: Exception on /api/status/alive [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/adsb/adsb-setup/app.py", line 437, in agg_status
status = AggStatus(agg, self._constants, request.host_url.rstrip("/ "))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/adsb/adsb-setup/utils/agg_status.py", line 47, in __init__
self.check()
File "/opt/adsb/adsb-setup/utils/agg_status.py", line 172, in check
if any({mc["uuid"][0] == uuid for mc in a_dict["mlat_clients"]})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/adsb/adsb-setup/utils/agg_status.py", line 172, in <setcomp>
if any({mc["uuid"][0] == uuid for mc in a_dict["mlat_clients"]})
~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable

Feature Suggestions

Hello! I upgraded from 0.9.2 to 0.9.3 and things seem to be working great on my Raspberry Pi! Backup/restore is working and I'm also not losing my settings upon rebooting the Pi.

I wanted to suggest 2 features for a future build, if you are open to adding them.

  1. Add release version number to the page somewhere (bottom near where it says Running ADSB Feeder Image with containers from from ADSB.im maybe?) Notice it has 2 froms, see screenshot below.
  2. Second feature I would love to see is a way to review logs (System and logs from the various aggregators) from the web interface if at all possible. Would be nice to not have to ssh in to review them.

Thanks for considering!

image

RadarBox - Enable 978

It doesn't appear that the RadarBox container is sending 978 messages. Is this something that can get added/enabled along with doing so for the PiAware container?

Bug: connection refused to :9999 for logs

v0.14.2(main)-230827.11 with containers from 2023-08-19T17:38:37-05:00, running on Raspberry Pi 3 Model B Plus Rev 1.3. adsb-feeder-raspberrypi64-v0.12.0.img

I know this is new functionality, but when I click on the Logs link to :9999, I get an NS_ERROR_CONNECTION_REFUSED in Firefox and ERR_CONNECTION_REFUSED from Chrome.

Thanks!

RadarVirtuel Config Not Working

I'm slowly setting up my Pi to replace my current setup and went to activate my RadarVirtual feeder key. I pasted it in and submitted my changes, but it doesn't appear to properly save the key. I also checked the log files and have included a screenshot of what I'm seeing below. Let me know if there is anything else I can grab to help troubleshoot. Sorry for all of the issues! :-)

image

ADSBHub gets activated after enabling OpenSky Network

As title says, when I check the box for OpenSky Network, enter my username and key in and hit submit, when the page reloads OpenSky is unchecked and ADSBHub is checked but has a blank station key. When I do a docker ps, I see that it does indeed start a container for ADSBHub, but it doesn't work because I didn't put in a station key. I also checked the .env file and it is entering my username and key for OpenSky.

Feature Request: Add Dozzle for easy viewing of container logs.

Came across Dozzle on the Reddit /selfhosted forum.

Took me 5 minutes to implement on my adsb-feeder-image Pi4.

Runs on Port 8080, so I moved that to 9999.

I think this is would be great addition for this project. It helped me realize I had entered my radarvirtuel key wrong 2 minutes after installing it. Also let you see which services are consuming resources.

More info at: https://dozzle.dev/

Feature Request: reformat feeder homepage with table of aggregators + status + links

Below extant mapping interface and administration links, it'd be slick to have a table listing aggregators, status, and various links for the aggregators being fed.

  • ADSB status
  • 978 status
  • MLAT status
  • MLAT peer count
  • Link to service's status page(s)
  • Link to your map on that service

A few of those links, for reference

ADSB.lol

ADSB.fi

ADSB.one

ADSBx

The Air Traffic

FlightRadar24

  • :8754/monitor.json
  • :8754

Logs at :9999 doens't work

Link to logs at :9999, doesn't work, even after a reboot.

Footer copy/paste:

Running ADS-B Feeder Image v1.1.0-beta.8(beta) with containers from 2023-11-07T09:42:55-06:00, running on Raspberry Pi 3 Model B Plus Rev 1.3.
adsb-feeder-raspberrypi64-v0.12.0.img

Add current git commit hash the image was built on on the footer

It could be nice to know where the current release was cut, when troubleshooting remote installations, I don't have an easy way to know what version the other person downloaded/installed.

Maybe even include the board (raspberrypi32, raspberrypi64) for good measure...

Excessive disk writes

I've noticed that since I installed this software on my Rock Pi 4 via DietPi the write count on my disk has increased hugely.
I have a constant 130 kB/s write speed with 14 IOPS.
Looking at htop the main causes seem to be fr24feed-log with something like 20 kB/s constant and especially collectd (inside ultrafeeder).
All in all, my disk gets written about 10-15GB per day (including home assistant, but it's not very heavy on the disk). That's too much. It's 5TB per year...
Is it normal? Can it be optimized to store data in RAM and write to the disk less often and less in general?
I have an NVMe so that's less concerning, but if you run the system on a microsd this would kill it very fast.
Thanks

List supported aggregators on the project homepage

IMHO, one of the biggest selling points of this software is ease of setup, and ability to feed multiple aggregators.

Perhaps the introduction could be amended, Making it easy to collect ADS-B data and feed it to multiple aggregators.

An additional bullet point could be added with a list of supported aggregators?

Can't upgrade form 0.17.2 to 0.17.4

As the title says, when I attempt to upgrade to 0.17.4 from 0.17.2 from the Expert page, it tells me "please wait, this could take several minutes" and then I end up on the main page and it still shows as running 0.17.2 with 0.17.4 available. I have tried Update Stable and Update Beta with the same result.

[BUG] RadarBox Crashing - uncaught target signal 11 (Segmentation fault) - core dumped

Hey Dirk,

I've uncovered that RadarBox will continully crash and do a core dump while on x86_64 machines

[rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[rbfeeder] /usr/bin/rbfeeder: line 17:   129 Segmentation fault      qemu-arm-static /usr/bin/rbfeeder_armhf "$@"

However, I've used these fixes in the past and was wondering if this can be included into the x86_64 images?

https://github.com/sdr-enthusiasts/docker-radarbox/blob/main/version_0.4.3_workarounds.md#version-043-workarounds

Related to this issue over at SDR Enthusiasts - sdr-enthusiasts/docker-radarbox#166

Let me know what you think.

Thanks,

Braeden

Bug: Turning off privacy disables all aggregators

Environment

0.9.5 raspberrypi64

Steps to reproduce

  1. Set up image, aggregators = Set up later
  2. Set up adsb.lol and flyitalyadsb
  3. Disable privacy mode to appear on mlat.adsb.lol

Expected result

privacy mode off, feeding adsb.lol and flyitalyadsb

Actual result

privacy mode unknown, feeding nothing

Bonus

root@adsb-feeder:~# grep CONFIG /opt/adsb/.env
BASE_CONFIG=1
FEEDER_ULTRAFEEDER_CONFIG=
SSH_CONFIGURED=1

.env file does not update after plugging in additional SDR

I had to manually update the .env file and set NUM_SDRS=2 even after I plugged in 2 SDR's. Once I edited that and rebooted I was able to configure the SDRs for their respective role. Note:once I configured them and rebooted, the Check SDRs button doesn't seem to do anything and it doesn't show anymore. It does appear to be working though. See screenshot below.

image

Update to latest / dev from within

To test changes, it will be beneficial (quick) to be able to update to latest / dev, even if it is via SSH as only developers should be able to do it.

Default SSH creds

looking for the default ssh credentials, consider adding to documentation?

0.9.5 Not Working

Re-imaged with 0.9.5 and setup manually, did not restore backup. Only detecting 1 SDR, not both that were plugged in upon initial boot. Tried to edit the .env file to set it to 2, but upon reboot it set it back to 1. Unplugged my 978 sdr and only left the 1 plugged in and it still isnt' working. Dump1090 maps don't show anything. Here is the log from the Ultrafeeder container, something is unhappy.

image

FlightAware/PiAware - Did not enable UAT978 after enabling

After enabling UAT978 support, it did not enable it to upload to FlightAware/PiAware. Checking the log, I see the following in the logs from the FlightAware side: UAT support disabled by local configuration setting: uat-receiver-type

Format and Spelling Error

Noticed a few items that need to get fixed. See screenshots below.

  1. Missing bullet point for Dump978 map
  2. Off missing an f for the shutdown description

image

image

PiAware Errors

Around 30 minutes of running, I noticed that FlightAware was no longer receiving data from my feeder. I'm seeing some errors in the container logs, see screenshot below. I also see the container marked as unhealthy if I do a docker ps. I also included a screenshot of the PiAware status page.

image

image

Feature request: custom reporting location

Allow custom reporting locations. Could be a simple http post of a json string. This would allow reporting to lots of services and things like node-red to customize Evan farther. This could also include integrating pyTAK to send reports to TAK servers (https://tak.gov/).

ZeroTier Config Not Working

Found another one for you! I signed up for a ZeroTier account, never used it before, and added my network id in. When I hit submit, I recieved an Internal Server Error page, screenshot below. I checked the .env file and it looks like it saved the id, but it doesn't appear to be working. I have rebooted and I also noticed that the ID no longer shows up in the web ui. Let me know if I can grab any other info!

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.