You should reset to defaults and configure from scratch. Three reasons for this:
that upgrade path with preserving settings is not supported or tested and may have unexpected results. Upgrades with configs preserved is only tested and supported for 22.03 > 23.05
the upgrade would have involved a target transition from ar71xx to ath79. This is largely considered incompatible and a reset is officially required.
there have been several syntax changes that are material to the config files. If your old files are used, things may go wrong (similar to point 1 above).
I recommend to issue a warning when flashing. Especially since everything works with this wireless bridge, which I use.
As mentioned, this router is a playground. I have other ones for testing and I made a mistake and thought to flash via ethernet cable, but flashed the same model via wifi, worked.
This is a function of the sysupgrade binary as it exists in the previous install. So 18.06, for example, isn’t aware of the fact that its configs are not compatible with 23.05. There’s no way for it to know, nor is there any way for it to be updated to look for that condition because it has been EOL for so long.
Go to the LuCI sysupgrade page and click the reset to defaults button. Or, use the CLI via an ssh session: