Sysupgrade... Edgerouter 4

Hi I have been reading up and down about how to apply updates and that really should only be applying full firmware updates via sysupgrade instead of updating individual software packages.

I have an issue where I can't find anything that explains how to upgrade via sysupgrade.

Second I'm using a edgerouter 4 and it has issues for the normal install process so was wondering if anyone is using sysupgrade successfully or if there are special instructions for this unit also.

Third, when upgrading via sysupgrade does it install the software packages in the firmware or does it maintain the higher versions I have accidentally installed unaware that I was not doing this correctly.

Thank you for all your support!

ok I think I found this as a guide on sysupgrade:
https://openwrt.org/docs/guide-user/installation/attended.sysupgrade

The gui in LUCI is not letting me choose 23.05.4 so guessing using the cli this is what I should run as I'm on 23.05.3
auc -b 23.05 -B 23.05.4

I was picking 23.05.4 because in the hardware list it says this is what is supported for my equipment at the time.

What hardware list are you talking about?
23.05.4 has some nasty wifi bugs, just upgrade without any parameters.

https://openwrt.org/toh/start

Is that why WiFi doesn't work on the Edgerouter 4 :wink:.

@lawson23 23.05.5 is very new so the toh hasn't been updated yet, but is perfectly stable on your ER4.

1 Like

The ToH is manually updated, so takes some time to catch up. You should use 23.05.5.

and now I get WiFi! Just for understanding though... Is this how I would do a later version if I wanted? "auc -b 23.05 -B 23.05.4"

Also what about my third question... When upgrading via sysupgrade does it install the software packages in the firmware basically over the existing software packages or does it maintain the higher versions. Again I was going in Luci system > software > updates and applying those listed software package updates. Which I have just learned is not what I should be doing.

auc -n should give you what you want

1 Like

Thank you and I upgraded successfully direct to 23.05.5

Is there anyway to automate the upgrade via Sysupgrade? I go out of country for 5 months and would like the device to be able to auto upgrade if say a 23.05.6 comes out as an example.. I don't see how this is possible in Luci sysupgrade section.

If there was an auto upgrade and it bricked your device, would you be okay with that?

Leave wireguard tunnel?

1 Like

Hint: there's a reason it's called Attended Sysupgrade... The administrator needs to verify that the update has succeeded and if not, revert to the old firmware, of which they surely have a copy... :crazy_face:

2 Likes

Yes I would