Running an older ADSBx image on a Raspberry Pi 3B and would like to update the aircraft, types, and other databases used to display aircraft by 'tar1090'. I believe they're in 'readsb'. And I'd like to do it without re-imaging my SD card (and losing my customizations). In the ADSBx image, these databases are at /home/pi/readsb/webapp/src/db And it looks like these originate from https://github.com/Mictronics/readsb-protobuf/tree/dev/webapp/src/db Am I on the right track? Is there a script for this? Thanks.
They are using the Mic DB, but not from the readsb install, they install their own files: https://github.com/wiedehopf/tar1090#tar1090 Update tar1090 that's all that's needed.
Thanks. I just did that (update tar1090) but now wish I hadn't because it's a new (different) web interface page and some customizations (to a .js file) are gone. I can deal with both issues (I'll use uBlock Origin to get rid of the big color scale across the bottom and maybe I can re-create my customizations in the .js file). On the plus side, the legend colors for the various modes (ADS-B, UAT / ADSB-R, MLAT, etc.) on the bottom of the aircraft list on the right column now display better. But next time I'll try to update only the .json database files.
Have you checked the gear menu .... to remove the altitude legend. What other changes had you made? Well check the install.sh then, you'll find how the DB is updated.
Ah, the gear menu. That works. Or would work but tar1090 is not running this morning after my cron job's nightly reboot.. My changes involved the FA links (I repurposed them for my own use) but I enabled them as you showed on https://github.com/wiedehopf/tar1090#tar1090 Thank you for that documentation. I had modified the scripts_??????.js file but that file has been replaced by script_6df45ee_37fd448.js and the old file is gone. I recreated some of my changes and things were working last night before I went to bed. Yes, next time I'll figure out the DB update from the script as per my original posting. Thanks for your help -- I appreciate it. UPDATE: I re-ran the install/update script and tar1090 is running. Hooray! One thing I found: apparently the http port is now 80, not 8080 where I had set it. I'll see if it's OK after tonight's cron job reboot before I do any customizations.