Upgrading from OpenWrt 21.02 to v23.05 or v24.10

Hi,

Am currently running OpenWrt 21.02.0 on D-Link DIR-835A1 ( https://openwrt.org/toh/d-link/dir-835_a1?s[]=dlink&s[]=835 ) and am planning to upgrade it to either v23.05 or v24.10. Last time I upgraded from v19 to v21, I just flashed the v21 sysupgrade image from the OpenWrt web interface and everything worked almost without issues (just had to reinstall some packages and that was it).

With reference to the above:

  1. Do you think flashing the sysupgrade for v23/24 would work and, if not, what the potential problems might be?
  2. What would be the proper way to upgrade the router to v23/24?
  3. The hardware is kind old, so any reason to go with v23 over v24?

Thanks

First check

ubus call system board

If architecture is ar7xxx (not ath79) then you absolutely need to reset config and re-type configuration back from backup.
Otherwise 21->22->23->24 , must retype if you see red alert asking to force update at any step.

The architecture seems to be ath79. You think skipping 22 and 23 and going straight to 24 would not work?

Thanks

# ubus call system board
{
        "kernel": "5.4.143",
        "hostname": "Rtr10",
        "system": "Atheros AR9344 rev 1",
        "model": "D-LINK DIR-835 A1",
        "board_name": "dlink,dir-835-a1",
        "release": {
                "distribution": "OpenWrt",
                "version": "21.02.0",
                "revision": "r16279-5cc0535800",
                "target": "ath79/generic",
                "description": "OpenWrt 21.02.0 r16279-5cc0535800"
        }
}

Pretty sure I read going directly from 22 to 24 wasn't supported.

Pretty sure I read going directly from 22 to 24 wasn't supported.

True, but last time I upgraded from 19 to 21 and it went well though it also wasn't supported. Just curious why it may not work.

You'd have to read the change log to find out.

Just go via 22 and 23, it's not really a big deal, is it ?

OK, I see, thanks.

Just save config backup first, then go one major release at a time, if something seems missing in the end - reset configuration and type from backup.