hap lite, not enough disk space.

Greetings. I can not update the firmware on hAP lite.
Through net-install the same error.
reset system does not help. fix_space.npk does not help.

sys resource pr
                   uptime: 13m2s
                  version: 6.40.4 (stable)
               build-time: Oct/02/2017 08:38:30
         factory-software: 6.40
              free-memory: 4808.0KiB
             total-memory: 32.0MiB
                      cpu: MIPS 24Kc V7.4
                cpu-count: 1
            cpu-frequency: 650MHz
                 cpu-load: 8%
           free-hdd-space: 6.0MiB
          total-hdd-space: 16.0MiB
  write-sect-since-reboot: 85
         write-sect-total: 733
               bad-blocks: 0%
        architecture-name: smips
               board-name: hAP lite
                 platform: MikroTik

[admin@Tik] > sys package update install 
          channel: current
  current-version: 6.40.4
   latest-version: 6.43.8
           status: ERROR: not enough disk space, 7.2MiB is required and only 5.8MiB is free
[admin@Tik] >sys package pr
Flags: X - disabled 
 #   NAME                                         VERSION                                         SCHEDULED              
 0   routeros-smips                               6.40.4                                                                 
 1   system                                       6.40.4                                                                 
 2 X ipv6                                         6.40.4                                                                 
 3   wireless                                     6.40.4                                                                 
 4   hotspot                                      6.40.4                                            
 5   dhcp                                         6.40.4                                                                 
 6   mpls                                         6.40.4                                          
 7   routing                                      6.40.4                                                                 
 8   ppp                                          6.40.4                                                                 
 9   security                                     6.40.4                                                                 
10   advanced-tools                               6.40.4

There are rumours that on devices with tiny NAND (16MB or less, your hAP lite falls into this category) update packages are actually downloaded into RAM (which is low on your device as well). Try to reboot device (some memory might get freed). Do you have any static address lists with large number of members?

Another possibility (which would be actually benefitial for your device) would be to go to individual package installation instead of bundle - which contains a few packages you most probably don’t need, such as ipv6 (you disabled it), mpls, hotspot, routing, … You’ll save some NAND space and RAM.

You can do it by downloading “extra packages” for your architecture, then only upload to router packages you really need (system, wireless, dhcp, security, … perhaps advanced-tools … read up package descriptions). After selected packages are successfully uploaded, reboot device (it should pick up new packages and upgrade itself).

Thanks for the answer.
Configuration reset.
I reset the configuration many times.
I tried to enable, disable, system packages, no changes occur after a reboot.
They are unchanged as shown in the post above.
This firmware is from the factory.
As soon as it was purchased, an attempt to update the firmware caused a not enough disk space.
Any attempts, including through net-install, result in a not enough disk space.

I guess it’s time to ask support@mikrotik.com for advice …

will netinstall help in this case?

From original post:

Through net-install the same error.

This sounds weird to me, but let’s just assume poster tried netinstall, that it actually succeeded and he can’t upgrade to newer ROS afterwards.

Same problem here. Trying to upgrade hap lite to 6.43.12.

The update is 7.4MB.

I have deleted everything from files except for skins that’s an empty directory.

Files reports 8.4MiB of 16.0MiB used.

I’ve restarted the router and tried again.

[admin@nimda] > /tool fetch url=https://download2.mikrotik.com/routeros/6.43.12/routeros-smips-6.43.12.npk
status: failed




failure: cannot download: file too large, no space left on disk

Contacting support now.

As I said on some other thread about exactly the same problem, I had to NetInstall it using the Extra packages - that allows you to remove the ones you don’t want, so that upgrades will succeed next time.
I Netinstalled 6.43.12 a couple of weeks ago and I upgraded to 6.44 without problems.

  1. Make a backup and export, save them on your PC

  2. Disable all the packages you can including this:
    hotspot
    ipv6
    mpls
    ppp
    routing
    wireless
    advanced tools

  3. Reboot

  4. Upgrade using only this packages taking them from the all packages zip:
    system
    security
    dhcp

  5. Reboot

  6. After successful upgrade proceed to upgrade routerboot in system routerboard upgrade

  7. Reboot

  8. now install the additional packages you need only

Try reducing the DNS cache size, that will free up space

Hi,

this situation is getting worse!

We were told that in the 6.47 version the file size would be reduced, but the opposite is occuring.

It is a stuggle to update these devices, we are now having to downgrade to version routeros-smips-6.32.3 to be able to upgrade, and this old version wipes the password.

All devices with 6.47.4 now only have 8.7 mb free!

This is quite rediculous.

Mikrotik, please, we need a troublefree way to upgrade these devices, imagine having a network with hundreds of these …

mine said 7.4MiB is required and only 6.5MiB is free
aside from netinstal is there no solution for this?
not just for hundreds, even only 3 with different location would be troublesome
from 6.47 to 6.47.1 i’m doing netinstall, now? I’m considering other solutions

Maybe you found the post below

http://forum.mikrotik.com/t/out-of-disk-space-upgrading-hap-lite-from-v6-35-to-v6-35-2/97952/37

warning about installyng only system package without security package:

http://forum.mikrotik.com/t/bug-upgraded-package-signatures/148643/1

Question, I’ve an hAP lite which can’t be updated by Packages for few KB missing of free space, I’m going to use extra packages for that avoiding ipv6 and ppp. Should I just upload (drag&drop) into Files the other packages and execute a reboot?

First you disable the packages you don’t need (and are sure you don’t need!) in the combined package and reboot.
Verify that you are running with only the packages you want.
Then you upload only THESE packages from the all_packages.zip version you want to upgrade, and again reboot.
It should now have separate packages and a little more available space.

Hi, I’ve tried to delete useless files, deatcivate packages, reboot, deactivate wireless and update by extra packages the essentials without wireless, nothing helped.To perform this I’ve copied the single packages into the file folder and rebooted, the packages were elimintaed after reboot, and not update.
My quesiton is, can I update only system npk from long term 6.47.9 to 6.49.6? Is it dangerous? And later the other packages?
Thanks

You can recover the router using netinstall. Make a backup and export, download to your computer, netinstall it from scratch and restore the backup.
When having difficulty with restoring the backup, open the export in a text editor and use it as a guideline to reconfigure the device.

And, don’t waste too much time on it. It is essentially a toy. hAP lite and hAP mini are devices without future, IMHO.

use netinstall and install only system and security,
later you can add the other needed packages

thanks but you haven’t answered m question, can I update only system from 6.47.9 to 6.49.6 and later the other components? is it dangerous? Should I deactivate all the other componets before?
There should be a correct way..