Hi all, I've some older RPi models around and considered using one for a remote site but it seems MLAT and Grafana won't work. ADSB feeds fine. Seems to be down to CPU type... Grafana needs arm7 CPU so the dashboard won't work (you'll see a connect failed when browsing to port 3000 because Grafana service won't run). Reference: https://community.grafana.com/t/grafana-wont-start-on-raspberry-pi/8525/9 > The error is a result of trying to use your ARMv7 binary on ARMv6. > All the quad-core Pi’s (2, 3 and 3+) are v7 while the single-core (A, B, and Zero) are v6. > Installation works fine since Raspbian is “armhf”, however the binary will get a SIGKILL due to illegal instructions. This is what I saw in /var/log/daemon.log Dec 27 21:14:59 adsb1 systemd[1]: Started Grafana instance. Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Main process exited, code=killed, status=4/ILL Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Unit entered failed state. Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Failed with result 'signal'. Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart. Dec 27 21:14:59 adsb1 systemd[1]: Stopped Grafana instance. Dec 27 21:14:59 adsb1 systemd[1]: Started Grafana instance. Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Main process exited, code=killed, status=4/ILL Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Unit entered failed state. Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Failed with result 'signal'. Dec 27 21:14:59 adsb1 systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart. Dec 27 21:14:59 adsb1 systemd[1]: Stopped Grafana instance. ... ... MLAT doesn't want to sync either - changing flash into newer hardware and it came back up quickly. So just logging further reference. Not sure if there's any value in just feeding ADSB so I'll probably buy a new Pi along with another AirNav USB and antenna.
Is the mlat-client terminating due to being compiled for the wrong architecture? In that case you should be able to recompile locally (will take some time) to fix that. I'm pretty sure using a standard Buster image with readsb, then installing the adsbexchange feed script should work? (readsb: https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-installation-for-readsb) (adsb-exchange feed script: https://github.com/adsbxchange/adsb-exchange#ads-b-exchange-setup-scripts-airplane)
Thanks. Didn't look into mlat-client issue yet, will try the image on an older Pi when I get a chance and report back. Standard Buster might be the way to go longer term (I'd prefer to spend money on another AirNav stick and Antenna... it boosted my rx range from 100km to 250-300km and it's still inside the loft)
Uninstalling Grafana and installing package for your arch fixes that. sudo apt remove grafana Recompile MLAT client and that fixes that. Truthfully a Pi Zero (W), etc is underpowered for ADSB. PI 3B/B+ or Pi 4 (if you have cooling) is the best route. Armv6 ... https://www.adsbexchange.com/forum/threads/pi-zero-adsbexchange-base-image-v0-1.619675/
Thanks, had a look at the mlat-client and couldn't see where it's calling an arm7 binary - if it's the same issue perhaps it's a library somewhere. Anyway, looks like my spare Pi 1B+ units are underpowered for this job... will look into a Pi3 or 4 for the remote site when cashflow permits.
Where are you located? I might be able to send you a unit - if you promise to host it for ever and ever!
Thanks, I'm in Europe so probably cheaper to buy it locally. Time is probably more of a factor, the AirNav and antenna is half the spend anyway. Have DM'd my current location and the co-ords for proposed second site.Would appreciate your thoughts on the "value add" of that second site given it's ~7 miles from primary (but at a different altitude and we've hills in between blocking LoS so should see different things at lower plane altitudes). I'm mainly interested in tracking the local air ambulance take-offs so will likely turn my attention to the API for a while (and pay in some $... see there's a thread about monthly vs yearly so watching that to see what's more efficient first).
If you are serious about hosting one or more reliable feeds. Email me ( [email protected] and CC [email protected]) They'll get you information and all the goodies. You'll just need to provide name, address, and get them up in 30 days.
I got it on my PI 2 b V1.3 running you just need to deinstall the grafana version what comes with the image and then install the correct one for your PI: sudo apt-get install -y adduser libfontconfig1 wget https://dl.grafana.com/oss/release/grafana-rpi_6.7.1_armhf.deb sudo dpkg -i grafana-rpi_6.7.1_armhf.deb
Well done! I thought that might be the work since I used packages. dump1090_exporter is also compiled but hopefully python doesn't care too much. His problem is different as it's Pi ZERO. A lot more issues with that.