What’s the recommended process for upgrading a hAP Lite from v6.35 to v6.35.2?
Attempting to upgrade it via System>>Packages>>Check for Updates>>Download & Install results in the following error:
ERROR: not enough disk space, 7.7MiB is required and only 7.3MiB is free
I have reset this router to default config, and removed all files, but this did not help. I do not have any non-core packages installed. System>>Resources says that there is 7.4MiB disk space and 8.7MiB RAM available.
Too late sorry - my post got stuck in the moderation queue and I gave up waiting for it - ended up doing a netinstall, which worked.
I do know that prior to the upgrade, I cleared out files and checked packages for anything unnecessary. The only file was a 40B JSON file (skin), and the only packages installed were core ones (default packages plus wireless-rep), and all were at v6.35.
I’ve tested this with a spare hAP Lite - I can reliably reproduce the problem.
To reproduce:
Downgrade to v6.35 either via System>>Packages or netinstall
/system reset-configuration skip-backup=yes
Install wireless-rep
Reboot
Attempt to upgrade via /system package update check-for-updates, install
This does call into question the rationale behind using such a small amount of flash - it’s cheap, and going with something slightly larger would be a non-issue cost wise. In my personal opinion, it should be large enough to accommodate all possible packages, to ensure update reliability. 16MB is really proving to be inadequate here.
I’ve seen other posts claiming that the update is done entirely in RAM (and that available disk space is therefore irrelevant), but that’s clearly not the case for the hAP Lite.
Thanks jarda - looks like things are pretty shocking there!!!
Normis - what’s the recommended procedure for upgrading one of these remotely? If I’m using the wireless-rep package to connect to it, then I can’t remove that package in order to free enough space for the update to work.
Also, I would very much like to know - what actual testing did Mikrotik perform regarding the upgrade process on the hAP Lite before this device was released? I cannot believe that this issue was not obvious then.
Actually deleting all files and reboot can help a bit too. You can install wireless package together with the system in the first step. Then in second step the rest.
Is there any solution to this. i now have 2% disk space on a hap lite, and the router is becoming unstable, in that it will run at 100% cpu when i try to do a supout.rtf to report it to Mikrotik.
Surely there has to be a solution, to fix this.
I have many of these, and i am afraid they will all follow suit.
I have installed the latest software 6.41.3 but now i doubt i will ever be able to change that without doing a netinstall.
Something similar happening to me using hAP Lite as well. I went to System>Packages>Check For Updates then I clicked on Downlad&Install but I’ve chosen a different firmware version I really wanted, so I cancelled. For some reason It got stuck on the routerboard’s files and I had to reset to get back it clean cause I was out of space
Remove unwanted packages. Remove all removable files. Put newer single system package only and reboot. Then add rest of required packages and reboot again.
There isn’t enough space to do that. This is a remote router. Netinstall is not an option.
Trying to upgrade from 6.42.3:
I have deleted everything in Files except the skins folder and rebooted.
Can’t download 6.42.6 - this has space saving functionality
Can’t download 6.42.12.
Can’t download 6.43. - this allows you to use ram for files
Can’t download 6.43.12. - this is the version I want to get to
I wrote nothing about netinstall. If it is remote installation, add eventually other one or two packages that are critically necessary to log in aside the single system package during the first installation process step.
If you want to be sure that nothing bad happens, prepare second device and let someone to swap it at place. Then you can do whatever with the first one and use elsewhere afterwards.
May be don’t include modules disabled by default in RouterOS package for smips? advanced-tools, hotspot, mpls, routing, security – that modules can be uploaded separately.
That’s how I managed to resolve the problem. By only downloading the absolute minimum packages required for the next version and rebooting. You only need system and security for most purposes. Wireless too for non-ethernet connected devices.
In recent versions security package depends on dhcp package Even if DHCP package is installed but disabled, upgrade won’t proceed … so DHCP package has to be installed/enabled before performing upgrade.