Problem while upgrading from v18.06.4 to v18.06.7

Hello.

I am having a problem updating my router to this version.
When I use LUCI, the GUI accepts the file, flashes, the router restarts, but the update is not effectively done.
I tried to do it via the command line, using sysupgrade, but the following message appears at the beginning of the update:

"Image metadata not found".
I tried to use the -F option, but it still didn't work.

Any idea what it might be?
Regards,
Juliano

For which device are you talking about and which image are you using? Have you verified the sha256sum?

Hi.

Tp-link WR-841N v8.
File: tl-wr841-v8-squashfs-sysupgrade.bin
sha256sum: 08447a24c2ec8f64cbacf395e0070b86064d651fbcc9a46406eb3e910a86f92b

Actual version on router:
Powered by LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc) / OpenWrt 18.06.4 r7808-ef686b7292

Print from Luci Upgrade Page:

sha256sum: 08447a24c2ec8f64cbacf395e0070b86064d651fbcc9a46406eb3e910a86f92b

Any idea?
Regards,
Juliano

Read the guide.
Make sure you have enough memory to do the upgrade. If not, erase the opkg lists and flush the cache as advised in there.

Hi.

I have 5.5 Mb free before upload the firmware to the RAM, and 2 Mb after.
I never had any problems before updating with this ammont of free RAM.

Juliano

Then give it a try with mtd.

Hi.

With mtd it is not possible to preserve settings, write?

Thanks.
Juliano

It doesn't seem so, better take a backup before you do anything.

Hi.

mtd worked. There is really no way to preserve settings.

So I decided to do a test: Reflash the same firmware, using sysupgrade.
Same error as before. "Image metadata not found".
Strange, right?

I don't have physical access to all the routers I need to update, that´s the problem to use mtd.

If anyone has any ideas ...

Thanks for the help.
Regards,
Juliano

All I can think of is to build an image where you can predefine some configuration to get at least basic connectivity, so that you can login and do the rest.
But I haven't done it before, so I'll let someone else help you with that.