RB450Gx4 Fails to Upgrade from 7.16.2 to 7.17rc: "Insufficient Kernel Space" Error Unseen Online

When I tried upgrading my RB450Gx4 router to the latest 7.17rc version, it restarted but remained on 7.16. The first log entry stated: “Upgrade failed, free 9 kB of kernel disk space.” My router has over 400MB of free disk space, and despite searching extensively online, I couldn’t find anyone else encountering this error on RouterOS.

/system/resource/print

Same thing with stable release. Probably time to wait for 7.17.1…

/system/resource/print
                   uptime: 7m57s
                  version: 7.16.2 (stable)
               build-time: 2024-11-26 12:09:40
         factory-software: 6.44.1
              free-memory: 928.1MiB
             total-memory: 1024.0MiB
                      cpu: ARM
                cpu-count: 4
            cpu-frequency: 448MHz
                 cpu-load: 3%
           free-hdd-space: 387.2MiB
          total-hdd-space: 512.0MiB
  write-sect-since-reboot: 46
         write-sect-total: 362749
               bad-blocks: 0.1%
        architecture-name: arm
               board-name: RB450Gx4
                 platform: MikroTik

SUP-176604

No good news… what is your bootloader version ?

The only arm 32 dev i have on the lab hap ac3 and successfully upgrade theses dev to 7.17 (128MB ROM)

Yeap, not upgrading for me either:

uptime: 9m4s
                  version: 7.16.2 (stable)
               build-time: 2024-11-26 12:09:40
         factory-software: 6.41.3
              free-memory: 941.5MiB
             total-memory: 1024.0MiB
                      cpu: ARM
                cpu-count: 4
            cpu-frequency: 896MHz
                 cpu-load: 4%
           free-hdd-space: 415.6MiB
          total-hdd-space: 512.0MiB
  write-sect-since-reboot: 3090
         write-sect-total: 2500498
               bad-blocks: 0%
        architecture-name: arm
               board-name: RB450Gx4
                 platform: MikroTik

Works fine for me to upgrade from 7.16.2 to 7.17 on RB450GX4.
I did not have new partitions created and did not change anything related to disk (from what came with factory)
The only thing related to disks is : I have a ext4 formatted sd card for storing containers …but that may be irrelevant to the issue

When this happens, best to create support ticket with autosupout.rif.

I’ve contacted the support yesterday and here’s their response:

Thank you for contacting MikroTik Support. We appreciate your patience while we were investigating this issue.

We have come up with a potential fix for the issue in RouterOS 7.18beta2.

Please note! Before performing the update, we always recommend creating a backup and an export, that are saved outside of the device.

Please try updating to this version by first changing the release channel and installing the version. After the update, please make sure to update your device's firmware. You can use the following commands to perform the update:

/system package update set channel=testing
/system package update install
To upgrade the firmware, run this command then reboot the device:

/system routerboard upgrade
If the update fails/succeeds please contact us again!

Since I’m trying to update my office router I’ll do it tonight can’t test their potential fix yet.
But decided to let you guys know. Cheers!


UPD: did not work for me. Same error.

Allrighy then…

After several rounds of conversation with support we came to conclusion that Netinstall is the only way out.

If you encounter this issie contact support and they’ll provide you with specific Netinstall and RouterOs version that addreses this issue.

Cheers!

Want to add that i did a net install few releases back and retaining settings (maybe that’s why it works for me now )

I have met the same error today:
CCR2004 with 7.13.5 brand new (just netinstalled).
wont upgrade to 7.16.2
to 7.18 because of the same error.
I will try to netinstall with 7.18