Errors with Sysupgrade via CLI

I am attempting to upgrade OpenWrt 19.07.7 on x86 using

sysupgrade -k -v /tmp/openwrt-22.03.2-x86-64-generic-ext4-combined.img

and get

Image signature not found
Image metadata not found
Invalid image type
Image check failed.

I would really appreciate some advice on resolving this. Thank you!

Do not decompress the *.img.gz, the metadata sysupgrade is complaining about would be behind the gzipped content, by decompressing it you're removing this crucial data.

--> sysupgrade /tmp/openwrt-22.03.2-x86-64-generic-ext4-combined.img.gz

1 Like

Thanks. I didn't actually decompress it, the gz file extension didn't get pasted when I copied the file name.

sysupgrade -v /tmp/openwrt-22.03.2-x86-64-generic-ext4-combined.img.gz

Now returns

cert_verify: cannot parse cert
Image metadata not found
Reading partition table from bootdisk...
Reading partition table from image...
Partition layout has changed. Full image will be written.
Image check failed.

Removing ucert-full package allowed the sysupgrade to proceed. I still got the image metadata not found message though.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.