I have two identical receivers, which I upgraded to 3.8.1 yesterday using exactly the same procedure.
I expected that they would both continue to work exactly as they had been since the last update (a while back now) but that isn’t what happened. The first one, is working exactly as it always has and none of the settings was changed but the second one isn’t.
First issue was that the gain was set to -10, the lon and lat settings disappeared and --fix was added.
This obviously caused a few issues and I have had to put the settings back to how it was but it still wasn’t the same as it was.
They were both originally installed with Stretch then upgraded to Buster and I set up PiAware and other feeders using the method described by @abcd567.
I then added a few other packages from contributors. The last time I upgraded PiAware was a while back.
What I thought was weird was that I installed everything on each of them in the same way so in theory, they should have been identical except for their IDs.
I normally do an update using sudo apt update, sudo apt upgrade on each of them every couple of months but hadn’t done that for a while as everything was running smoothly.
OK. I gave you false information before: These two were originally Jessie and were upgraded to Stretch. I don’t know if that makes any difference but I mention for the sake of completeness.
Looking at the aircraft reported graph on the stats page it seems that Pi 2 has gradually been reporting fewer aircraft than Pi 1.
Obviously, that could be due to aging of the dongle or LNA but it could also be due to trees growing and blocking one antenna more than the other.
What I don’t understand is why one Pi upgraded and left the settings file in tact and the other Pi didn’t.
There is one other thing. I was certain that both copies of PiAware had auto and manual updates enabled but when I looked after the update Pi 2 (the one that didn’t upgrade cleanly) wasn’t set that way.
Generally piaware is never going to touch your config in /etc/default for a package install. however on sdcard images, the piaware-support package will modify things, updating config files to reflect the piaware config settings; it is only installed on sdcard images. My best guess is that you somehow installed that package by mistake.
FWIW upgrades of an existing install from jessie->stretch or stretch->buster via apt are unsupported both by upstream and by us (not clear if that’s what you did or not) - to upgrade you need to reimage.
Is there a way of telling the source of the version of PiAware that is installed now?
And if I restore the backup I made before upgrading on a spare SD card can I find out the source of the version of PiAware I had before?
When I said they were upgraded, What I meant was that they came with Jessie and were reimaged with Stretch then all apps reinstalled. Sorry to confuse matters.
Yes, this makes a big difference. Even if you succeed to upgrade piaware and dump1090-fa in current install, your distro will remain outdated Raspbian Stretch.
The easiest, cleanest, and long-term solution is to re-image your microSD card. This is already recommended by @obj in his post above.
ALTERNATIVE-1 :Piaware SD card image
The current Piaware SD card image (v 3.8.1) has:
Yeah, sorry I used the wrong term - i.e. upgraded instead of reimaged.
Strictly speaking, as far as the Pi is concerned, it was an upgrade of the OS from how I purchased it, but from the standpoint of the content of the SD Card, not so much.
FWIW, I’ve never had any joy upgrading any OS of any flavour from one version to another. It always ends in tears.
Dont upgrade an existing micoSD card. Write latest OS image to a spare microSD card, slip it into Pi and power up. In case of failure of freshly written spare card, simply slip out the spare card, slip in the existing card, and power up.
This was using the backup I took before I upgraded - it was 3.7.2 but it is now 3.8.1.
The salient information is that I had somehow installed the PiAware SD card version on this one exactly as @obj suggested I had and that explains the difference in the results when I upgraded.
I’m going to upgrade both of them to Buster using a bigger SD card when I get a chance.