Software upgrade failing

Reimaging is the way to go. Use a SPARE microSD card to re-image.

How to Install and Configure Piaware 5.0 SD card image - Quickstart Guide