Upgrading from 22.03 to 23.05 - questions about config and DSA transition

Having the same issue. This is indeed a thing that has hesitated me from upgrading, just like the OP.

An idea I would have is upgrade and restore without config, and then restoire a backup of the config files, but with the following files removed:

/etc/config/network
/etc/config/wireless
/etc/config/dhcp
/etc/config/firewall

I then would need to re-configure all firewall and wifi stuff? (I have not changed much else, have i?)

Though maybe I can leave the wifi as it is, as this page explains:

DSA support does not affect wireless configuration in /etc/config/wireless

That would already help a lot…

Such a breaking change with no migration path is really annoying. I mean if we had a tool or so to convert the config files and I can put them in there, that would help a lot.
Okay at least with attended-sysupgrade we may keep the installed packages. (Edit: Okay, no apparently major upgrades are not supported, it says the version is up-to-date. :cry:)


For reference here the specs/error message:

OpenWrt 22.03.7 to OpenWRT 23.05.5 (r24106-10cc5fcd00)
Model: GL.iNet GL-B1300
Platform: ipq40xx/generic

Thu Oct 31 11:27:47 CET 2024 upgrade: The device is supported, but the config is incompatible to the new image (1.0->1.1). Please upgrade without keeping config (sysupgrade -n). Thu Oct 31 11:27:47 CET 2024 upgrade: Config cannot be migrated from swconfig to DSA Image check failed.

It seems for my device the migration was done in v23.

Another idea I had was: Try to switch to DSA on the old OpenWRT (v22) version. So the upgrade assistant does not complain about the device using the old stuff… However, that does not seem possible?

This guide lists some GUI elements I can find in luci, but I am not sure how to apply that properly. Maybe downloading the new config files for my device from the openwrt source and placing them somewhere would work?

Again, like the OP, I only have a very simple "VLAN setup", only WAN/LAN separation…

Anyway, from what I read here, you cannot convert to DSA before the upgrade really? And starting from scratch may be easier?

@rugk - In most cases, the reconfiguration from scratch really doesn't take very long. Trying to selectively restore backup files can lead to problems if you don't do it quite right. So... with that in mind...

  1. I'd recommend a new thread for this so we can concentrate on your specific issue. If you'd like, I can move your 2 posts into a new thread and we can go from there.

  2. we should review your current config to understand any complexities and/or items that might be time consuming or annoying to re-implement. Again, best done in a new thread, but this will give us insight into your current setup so we can make sure to replicate that after the upgrade.

1 Like

Okay yeah feel free to move the posts (I just thought it's exactly the same issue as my OP, but yeah…)

Ok... we're now in a thread where we can focus on your specific config and questions.

Let's start by looking at your current configuration. Please also let us know if you've installed any additional packages that may not be obvious from the config files.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall