dump1090 has the ability to show a map locally with the aircraft data that has been received, but this isn't working with this ebuild. I've been able to get this to work with some changes: * there is no mention of lighttpd being a dependency so added that manually * the /usr/share/dump1090/lighttpd.conf wasn't included in /etc/lighttpd/lighttpd.conf, so added: include "/usr/share/dump1090/lighttpd.conf" * I explicitly needed to enable mod_alias in /usr/share/dump1090/lighttpd.conf by uncommenting near the top * the /usr/share/dump1090/lighttpd.conf referenced and expected its html files under a different base, so symlinked /usr/share/dump1090 => /usr/share/dump1090-fa * restarted lighttpd and could see the map but no plains * created the expected /run/dump1090-fa directory, and chmod 777'd it * ran the dump1090 command with the extra --write-json parameter, e.g. dump1090 --interactive --net --enable-agc --write-json /run/dump1090-fa/ This could be fixed with the following changes (or similar) to this ebuild: * put the project files in /usr/share/dump1090-fa rather than /usr/share/dump1090 * add lighttpd as an optional dependency by adding a use flag to the ebuild * if lighttpd is enabled, create a /run/dump1090-fa directory as 777 * if lighttpd is enabled, add instructions for the user to add the 'include "/usr/share/dump1090/lighttpd.conf"' into /etc/lighttpd/lighttpd.conf, as well as apply the --write-json /run/dump1090-fa/ parameter when running dump1090 Reproducible: Always Steps to Reproduce: 1. Run dump1090 --interactive --net --enable-agc 2. Visit localhost:8080 3. Actual Results: No web interface is shown Expected Results: Web interface should be shown with aircraft data plotted
I've created an ebuild with support for running dump1090 as a server so that it can be used with lighttpd (as outlined previously). It's available in my personal overlay: https://github.com/moodytux/portage-overlay/commit/1e9a3e404cc16127cb2382e58518538ad87544ec
The latest stable dump1090-5.0 ebuild now has some of the original issues resolved, but still doesn't provide lighttpd integration to view a working local map showing aircraft. For those interested in using the local map UI, I've created an updated dump1090-5.0-r1 (link below) which aligns with the latest stable release ebuild but adds working lighttpd integration: https://github.com/moodytux/portage-overlay/blob/master/net-wireless/dump1090/dump1090-5.0-r1.ebuild To see the aircraft on the map with this version, use port 80 on the following URL: http://localhost/skyaware/
Hey, I've been following the development of dump1090 closely, and it's great to see progress being made on resolving some of the longstanding issues. Thanks for your contribution :) I've had my fair share of frustrations with the local web UI not working properly, so this update is like a breath of fresh air. The integration with lighttpd is a much-needed addition for those of us who want a seamless aircraft tracking experience. Kudos to you for taking the initiative to create this updated version. I've given you rebuild a try, and I'm happy to report that it's working like a charm. The aircraft map on port 80 is a delight to use – it's responsive and loads quickly. My aircraft tracking setup has never been smoother. just take a look: https://www.moneydonut.co.uk/blog/23/09/web-development-hidden-costs-you-need-to-be-aware-of For those facing similar issues, I highly recommend giving moodytux's version a shot. It's a game-changer for the dump1090 local web UI.
Thanks for the supporting comments. In light of the newer version put in portage, I've updated my patched version which works with lighttpd to show the local map UI: https://github.com/moodytux/portage-overlay/blob/master/net-wireless/dump1090/dump1090-9.0-r1.ebuild