Hi all
I've searched the forums but couldn't find a solution
I've just upgraded this router from 19.07 to 21.02 via the luci web ui
The upgrade went successfully however the router wouldn't retain the config.
i attempted to restore the config from the previous settings prior to the upgrade, but no go.
Even if i push the reset and start setting it up from scratch, it wont preserve the settings after a reboot.
If you set it up from scratch and it did not persist, that likely means there was an incompatible config setting and it reverted back to default settings. Likely a LuCI bug.
Unless there is some feature in 21 that you must have, I suggest sticking with 19.
It doesn't pay to be an early adopter of such a significant major update.
the release notes mention that 19.07 is a compatible upgrade path. it worked fine on another router and kept its settings.
i agree that this may be early adopter syndrome, however nothing earlier is officially supported any more.
Can i even downgrade and if so, how?
@hnyman, that's strange. If the zstd compressor isn't available, ubifs shouldn't be trying to use it at all. @earlcom, is this an official image, or are you compiling from the source?
I first thought that the UBI might have been originally initialised with a master build (where zstd is and is the default nowadays), but @earlcom says that he has upgraded from 19.07...
Maybe zstd support should be compiled in always in 21.02, so that upgrades/downgrades from zstd enabled builds would be possible. (I am not quite sure how "global" and sticky the ubi compression selection is, does it survive sysupgrades?)
That would be great, and it's been suggested before (by yours truly), but it would increase the kernel size by a non-trivial amount. Zstd is a large compressor (codewise).
This is message implies an error at decompression time. Are you sure you've never tested any other image (e.g. snapshot from master) aside from upgrading from 19.07 to 21.02?
That is contradictory. 19.07.x are fixed releases.
If you have been using "snapshots", you have likely used the master branch, and have now actually downgraded to 21.02, which causes this error as master supports more advanced zstd compression since April 2021 than 21.02 (which is based on February 2021).
Support for the device has been introduced in mid-2020.
Are you quite sure that you have used a build branded "19.07" ?????
If you have used master "SNAPSHOT" builds, then your error is understandable, as you have now downgraded to older OpenWrt code without support for the newer compression.
@rsalvaterra
Thanks. It was a July build from memory.
Quite happy to do a complete wipe.
Does that mean reverting to stock first?
Could you point me to the relevant information on what to do from here.
Thanks again for your help
Cheers!