Edgerouter x upgrade from 24.10.0 to 24.10.1

Hi,

I upgraded my EdgeRouter X to v24.10.0 successfully several months ago. Now, when attempting to upgrade to the first service release v24.10.1, I receive the same warning regarding partitioning changes needed, etc.

Does this mean the upgrade to the point release also needs to be done by manually copying the upgrade script to /tmp and triggering the upgrade? I had thought once the partitioning was done per the original upgrade, in place GUI sysupgrade would once again be possible ...

Alternatively, per the fix in this thread:
Zyxel GS1900-8: Update from 24.10.0 to 24.10.1, image check fails, wrong compatibility version?

Given that I did similiarly restore system config from a backup, if I were to change option compat_version '1.1' to '2.0', would the image check pass?

EDIT
Yup, changing the compat_version value allowed the image check to pass. I looked at this section of the upgrade script and decided that was the fix:

confirm_migration() {
    case "$(board_name)" in
        ubnt,edgerouter-x|\
        ubnt,edgerouter-x-sfp)
            compat=$(uci -q get system.@system[0].compat_version)
            if [ -n "$compat" ] && [ "$compat" == "2.0" ]; then
                echo "Device already migrated to new layout" >&2
                exit 1
            fi
            ;;

Setting option compat_version '2.0' in /etc/config/system resolves the upgrade warning.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.