Open dmgav opened 8 months ago
There was a problem with the zip file I originally uploaded. I have re-created it and re-uploaded it here boot@PandABox-3.0.zip. Let me know if there are any further issues.
@tomtrafford I confirm that the new version of boot@PandABox-3.0.zip
can be properly installed using the web GUI, so this particular issue is resoved. Nevertheless the rest of the upgrade using web GUI did not go smoothly and I had to resort to formatting SD card and installing all packages from scratch.
This is the sequence of steps I did:
We have a few more Pandas that we plan to upgrade, so there is opportunity to do some testing that may help other users. Is there any specific sequence of steps I could try? Should I remove old packages first? Or is there specific order in which packages should be upgraded.
I will have a go at trying to replicate this. Did you see any errors when the package installations failed?
Yes, there were errors, but unfortunately I did not document them. I was hoping that brute force trial-and-error method would get me through this time, but it didn't.
It looks like this problem occurs only if the panda-server is updated before the panda-fpga. If you either remove or update the exiting panda-fpga package before installing the other packages, you should not encounter this problem. This is not expected functionality, the PandA server should check for a Flag in the FPGA Config to ensure it is the correct version, but this does seem to be functioning as expected.
On a PandA where you have encountered this problem, you can use a Config overide file on the USB stick, panda-config.txt as described here: https://pandablocks.github.io/PandABlocks-rootfs/master/quickstart.html
If you uncomment the line NO_ZPKG, the PandA won't attempt to load any zpkgs on startup and you can recover from this behaviour by installing the FPGA zpkg. (And then re-comment the NO_ZPKG, and restart the PandA).
Thank you. I will try updating the FPGA package first with the next Panda and let you know if it went smoothly.
I think I tried commenting out NO_ZPKG
line with one of the Pandas and it would let me to connect with SSH, but I was unable to install any packages. I don't remember if I specifically tried installing the FPGA package.
I confirm that Panda can be updated from v2.1 to v3.0 using web GUI. I guess the key is to install the FPGA package first. I used the following sequence:
Panda fails to update rootfs package from v2.1 to v3.0. Used package:
boot@PandABox-3.0.zip (downloaded from https://github.com/PandABlocks/PandABlocks.github.io/releases)
After the update was started from Web GUI, the updated failed with the following message:
This issue was observed while updating 4 Panda units (all units that we currently have). I was able to successfully update all 4 Pandas by unpacking the contents of the package directly to the boot partition and restarting Panda. Additionally, on 2 Pandas I was not able to install any packages using Web GUI following 'rootfs' update and attempt to update FPGA packages first, and had to format the SD card and install all packages from scratch. There are no issues with the software, since all Panda units work correctly after the update. It may be an issue with packages, which are incompatible with the server v2.1.