Community discussions

MikroTik App
 
Muator
just joined
Topic Author
Posts: 22
Joined: Tue Jun 14, 2011 6:26 pm

hap lite, not enough disk space.

Wed Jan 30, 2019 1:01 pm

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                                                                 
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: hap lite, not enough disk space.

Wed Jan 30, 2019 3:18 pm

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).
 
Muator
just joined
Topic Author
Posts: 22
Joined: Tue Jun 14, 2011 6:26 pm

Re: hap lite, not enough disk space.

Wed Jan 30, 2019 3:46 pm

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.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: hap lite, not enough disk space.

Wed Jan 30, 2019 3:56 pm

I guess it's time to ask support@mikrotik.com for advice ...
 
pegasus123
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Tue Jul 24, 2018 7:02 am

Re: hap lite, not enough disk space.

Thu Jan 31, 2019 12:50 pm

will netinstall help in this case?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: hap lite, not enough disk space.

Thu Jan 31, 2019 1:44 pm

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.
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Thu Mar 07, 2019 4:45 pm

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 ... .43.12.npk
status: failed




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

Contacting support now.
 
sid5632
Long time Member
Long time Member
Posts: 557
Joined: Fri Feb 17, 2017 6:05 pm

Re: hap lite, not enough disk space.

Thu Mar 07, 2019 10:14 pm

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.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3135
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: hap lite, not enough disk space.

Thu Mar 07, 2019 10:34 pm

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
 
flynno
Member
Member
Posts: 319
Joined: Wed Aug 27, 2014 8:11 pm

Re: hap lite, not enough disk space.

Sun Apr 19, 2020 1:38 pm

Try reducing the DNS cache size, that will free up space
 
mongobongo
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Fri Jul 28, 2017 5:13 pm

Re: hap lite, not enough disk space.

Mon Oct 12, 2020 11:29 am

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 ...........
 
User avatar
begundal
just joined
Posts: 2
Joined: Thu May 07, 2009 9:54 am

Re: hap lite, not enough disk space.

Sun Oct 18, 2020 8:58 pm

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
 
mongobongo
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Fri Jul 28, 2017 5:13 pm

Re: hap lite, not enough disk space.

Tue Oct 20, 2020 9:46 am

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

viewtopic.php?f=2&t=108174&p=823647#p820791
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Fri Apr 23, 2021 7:23 pm

warning about installyng only system package without security package:

viewtopic.php?f=2&t=174719&p=854518#p854518
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Tue Oct 12, 2021 3:51 pm

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?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue Oct 12, 2021 4:25 pm

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.
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 12:16 pm

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
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 12:30 pm

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.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Tue May 03, 2022 12:31 pm

use netinstall and install only system and security,
later you can add the other needed packages
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 12:33 pm

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..
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Tue May 03, 2022 12:35 pm

I don't want to start a question/answer game to use netinstal at the end...

Read this
viewtopic.php?f=2&t=174719&p=854518#p854518
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 12:38 pm

use netinstall and install only system and security,
later you can add the other needed packages
thanks, I'll try that
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 3:51 pm

It is no longer advised to install "only the needed packages" because that will make the device impossible to update to v7.
Ok, it is not advised to update to v7 anyway on such tiny devices.
My advice is to keep the version 6.47.9 and not touch it anymore until it becomes too insecure, then throw it in the bin.
(updates after 6.47.9 make the wifi slow and unreliable)
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 5:13 pm

Thanks, there still develpment on version6? For example improving the wifi performances? Or all is only focused on version7? and For 6 just will come fixes?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 5:18 pm

I don't think there is much development apart from bug fixes.
And in 6.47.10 there was some theoretical WiFi security problem fixed which resulted in a steep drop in performance and hickups of the WiFi on these small devices.
I don't know if MikroTik is aware of that and planning to fix it, probably not because it is long ago and no fix came in the later versions.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap lite, not enough disk space.

Tue May 03, 2022 5:48 pm

AFAIK wifi was improved with 6.49.<something>

But at the end, everything will move to ROS7.
I don't expect new material coming out anymore which would not be able to run ROS7.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue May 03, 2022 5:57 pm

I have never seen my hAP mini work acceptably after upgrading past 6.47.9 and after some time I gave up and replaced it with a hAP ac2.
Recently I put 6.47.9 back on the hAP mini (netinstall) and it works OK again.

I got it for free at a MUM. Otherwise I would not buy such low-low-end toys. The wAP that I got at an earlier MUM is much better.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Tue May 03, 2022 6:03 pm

And in 6.47.10 there was some theoretical WiFi security problem fixed which resulted in a steep drop in performance and hickups of the WiFi on these small devices.
You remember? Are only useless problems, all start with "If authenticated user" and end with something like "self-destroy own access point"...
:roll:
 
alicadil
just joined
Posts: 1
Joined: Sun Feb 11, 2018 10:53 pm

Re: hap lite, not enough disk space.

Fri Jun 10, 2022 10:30 pm

Try reducing the DNS cache size, that will free up space
This work for me 100%, thank you !
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Fri Jun 24, 2022 1:34 pm

I managed to upgrade my whole home network to 7.3.1. Two routers were a real pain, but got there in the end.

6.48.6 - moved all files to PC - 6.49.6 - set dns cache to 64kB - 7.1 - 7.3 (oops) - 7.3.1 - set dns cache back to 2048kB - copied files back

6.48.6 - moved all files to PC - set dns cache to 512kB - 6.49.6 - set cache to 64kB - uninstall ppp and wireless - 7.1.1 - 7.3.1 - set dns cache back to 2048kB - copied files back - reconfigured ppp and wireless

I hope this helps someone.
 
bergxal
just joined
Posts: 1
Joined: Thu Jul 07, 2022 11:01 pm

Re: hap lite, not enough disk space.

Wed Jul 20, 2022 11:26 pm

I managed to upgrade my whole home network to 7.3.1. Two routers were a real pain, but got there in the end.

6.48.6 - moved all files to PC - 6.49.6 - set dns cache to 64kB - 7.1 - 7.3 (oops) - 7.3.1 - set dns cache back to 2048kB - copied files back

6.48.6 - moved all files to PC - set dns cache to 512kB - 6.49.6 - set cache to 64kB - uninstall ppp and wireless - 7.1.1 - 7.3.1 - set dns cache back to 2048kB - copied files back - reconfigured ppp and wireless

I hope this helps someone.
Hello! I have a mikrotik hAP lite. 2 Weeks ago i decided to upgrade it from stable 6.49.6 to 7.3.1 too. But after this i almost every day got a new problem with high cpu usage or low memory. And after such message show up in log very soon device self reboot, and then again in loop. It was caused by several errors such as dns over https or ovpn-udp client connection.Thanks to forum, i manage to downgrade to old firmware 6.49.6 back again. NO problem after this.
People said that ROS7 doesn't do too well on devices with low resources, such as hap lite.
Want to ask you do you have any problem with perfortmance after ros7 update?

p.s. manage tp upgrade and downgrade by this steps - delete all files on device(backups, etc.), clear dns cache, delete certificates (if you have them), than reboot it. And after it up - begin update or downgrade procedure/
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Thu Jul 21, 2022 4:21 am

I experienced a lot of that with my RB 751U-2HnD that only has 32MB of RAM. I contacted MikroTik about it and they said ROS7 requires more RAM than ROS6 does.

So if you are running a bunch of memory intensive things on your hap ac lite before upgrading, there is a chance that it won't work after upgrading.

In my case though my hap ac lite has been running ROS7.3.1 for 26 days now without issues, so it's possible.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3135
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: hap lite, not enough disk space.

Thu Jul 21, 2022 6:45 am

I experienced a lot of that with my RB 751U-2HnD that only has 32MB of RAM. I contacted MikroTik about it and they said ROS7 requires more RAM than ROS6 does.

So if you are running a bunch of memory intensive things on your hap ac lite before upgrading, there is a chance that it won't work after upgrading.

In my case though my hap ac lite has been running ROS7.3.1 for 26 days now without issues, so it's possible.
hap lite
32mB ram 16mB storage pakage smips (small mips)

hap ac lite
64mb ram 16 mb storage package mips (full size mips)

RB 751U-2HnD
32mb ram 64mb storage package mips (full size mips)

RB751 has plenty of storage but is short on ram (only 32mb), all recent mips devices have at least 64mb of ram
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Sat Feb 04, 2023 9:50 pm

Hi, I've tried all possibilities here and no one works, users tolaked about RAM space, slimming out useless packages, keep only system and security.. all useless words. In my opinion the only way is to flesh it from boot mode with netinstall, that shoudl work finally, but netinstall is not an intuitive program, its doesn' let me chose packages and help explaing the procedure, so I ddn't that yet.

Can somebody explain easly the steps? Thank you
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Sat Feb 04, 2023 10:34 pm

You should not update it past version 6.47.9 anyway. That is the last usable version on that device.
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Sun Feb 05, 2023 9:57 pm

You should not update it past version 6.47.9 anyway. That is the last usable version on that device.
Sorry I don't agree with you, I have several 941-2nd upgraded to the latest, working better on capsman especially for the 100% CPU load bug that freezes router for about 2 minutes. I was able to upgrade them from the first boot, before the become "dirty" (dirty about what I don't know, I've tried to deleted everythig cache DNS included, with no success)
I still waiting knowing how can I upgrade from boot, it looks the only way left.
You do not have the required permissions to view the files attached to this post.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Sun Feb 05, 2023 10:06 pm

You should not update it past version 6.47.9 anyway. That is the last usable version on that device.
Sorry I don't agree with you, I have several 941-2nd upgraded to the latest, working better on capsman especially for the 100% CPU load bug that freezes router for about 2 minutes.
My experience with this device is that the WiFi stopped working correctly after version 6.47.9
It is easy to see when trying the packet loss test at this website https://packetlosstest.com/ from a client connected to the WiFi.
Set the Duration slider to 1 minute and observe that there are bursts of packet loss. With version 6.47.9 that problem did not yet occur.
I never used capsman on such a device.
 
GiovanniG
Member
Member
Posts: 404
Joined: Sun Nov 15, 2015 4:12 pm

Re: hap lite, not enough disk space.

Sun Feb 05, 2023 10:11 pm

Thank you for site, interesting, I'll test, for now I have this error "Error with WebSocket: Unable to connect to wss://lse.packetlosstest.com/ws" and I use firefox on Windows.
Probably the error you had can be connected to the CPU overload, maybe can be solved with 6.49.6, I've read something about on changelog
 
johanels
just joined
Posts: 7
Joined: Tue Jun 15, 2010 5:01 pm

Re: hap lite, not enough disk space.

Thu May 04, 2023 1:51 pm

Hi,

What I do not understand is when I hit this problem, and then try to clear some entries and delete some firewall address list entries, they do not commit to disk!

So basically, as soon as we run out of storage, nothing gets saved anymore.

I now have a Mikrotik hEX S with 0% free and have to now plan a factory reset/netinstall to get back into a working state.

Please find a better solution for this challenge.

I even have a 64Gb micro SD card in this devices, but only can use this for backups.

Please fix this!

Thank you

JE
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Thu May 04, 2023 1:56 pm

All settings are saved in a database on disk. When the disk is full, that cannot happen anymore.
Basically you need to make sure the disk never is full. For a hEX S this should be no problem unless you put user files on the flash. Don't! Use a USB stick.
 
User avatar
Maggiore81
Trainer
Trainer
Posts: 600
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Thu May 25, 2023 10:56 pm

The issue we have is that we have a fleet of Hap Ac1, AC2, etc with only the needed packages on them.
I am not able to upgrade any devices to v7.

On someone I managed to put the combo package, but on the 95% it says not enough space to upgrade.
how can I do ?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Thu May 25, 2023 11:09 pm

Netinstall. Or: don't upgrade.
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Fri May 26, 2023 3:53 am

It's a very fine line. I've been able to upgrade both my hap ac 2 and hap ac lite to 7.9, but I've had to do netinstalls etc.

Then at work I upgraded 3 hap ac2s from 7.9 to 7.9.1 and they all 3 bricked. So it's incredibly temperamental to upgrade at the moment and any upgrades on ROS 7 should be done very carefully and very thoughtfully.
 
ivicask
Member
Member
Posts: 438
Joined: Tue Jul 07, 2015 2:40 pm
Location: Croatia, Zagreb

Re: hap lite, not enough disk space.

Fri May 26, 2023 9:57 am

Its so stupid that we need to netinstall basically new purchased devices or even worse getting bricks after simple software update, mikrotik really should address this somehow or test better updates on their lower end routers.(And thats still alot of them with 16mb flash)

Like for example why does my router has to have all those wireless firmware images installed in wireless\lib\firmware which take space when it only needs one of them?

Cant the install process match device with required wifi firmware and only install those files to save space on device?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap lite, not enough disk space.

Fri May 26, 2023 10:13 am

Small remark.
Nobody is forcing you to change ROS on those 16Mb Flash-devices.
They are perfectly usable on ROS6 (almost nothing has changed for legacy wifi in ROS7).
When you do not specifically change some setting, they will not even go search for ROS7 on their own. They will happily stay on ROS6.

Unless there is a very specific reason why you want to move to ROS7 ?
In that case you might also want to reconsider the HW being used since it is a known fact e.g. hap lite is not recommended for ROS7.

https://help.mikrotik.com/docs/display/ ... ding+to+v7

Note: We do not recommend running v7 on hardware that does not have at least 64 MB of RAM.

16Mb for storage might indeed be a deal breaker as well (though I have upgraded various AC3 models without any problem already to ROS7 since I needed wireguard and wifiwave2).

It may work, or not ...
 
ivicask
Member
Member
Posts: 438
Joined: Tue Jul 07, 2015 2:40 pm
Location: Croatia, Zagreb

Re: hap lite, not enough disk space.

Fri May 26, 2023 10:21 am

I have still LHG devices which cant be updated even to latest 6.49.8, they literary only have bridged wlan and lan and thats entire config and disk is empty.

So im not allowed to have latest security on my device aginast CVEs and similar.

Im supposed to climb on towers and do netinstalls?

There is simple no excuse for this.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Fri May 26, 2023 10:35 am

There is simple no excuse for this.
There is simple no excuse for not having brought the ethernet (or fiber) cables to the ground where you can easily do netinstall without even climbing a step,
or I don't understand how you can't do it, since also the "LHG" that I use (you haven't even specified the model) I assume they are identical to yours,
and unless you installed them wrong or add the user-manager and/or the dude there is more than enough room to make updates.
Unless you're like the usual assholes who install ALL packages for no logical reason (calea, gps, ups, lora, tr069, etc.)...

In summary: unless it's a SMIPS device, if you can't update the software from 6.x to 6.48.7/6.49.8 it's your fault.
 
ivicask
Member
Member
Posts: 438
Joined: Tue Jul 07, 2015 2:40 pm
Location: Croatia, Zagreb

Re: hap lite, not enough disk space.

Fri May 26, 2023 10:48 am

Which part of there is NOTHING on them except bridge is not clear for you?Nothing was ever installed! Latest version which i managed to install on them was 6.49 beta 22, i cant install nothing newer, disabling extra packages etc makes no difference(You cant uninstall them)..
You do not have the required permissions to view the files attached to this post.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap lite, not enough disk space.

Fri May 26, 2023 10:58 am

The left of your screenshot ... what are all those packages doing there ?
That's not NOTHING.

If you do not use them, uninstall ! (should be possible)
Even not used, they consume space.


https://wiki.mikrotik.com/wiki/Manual:System/Packages


Not needed in my view for that device:
- all which is disabled
- routing (unless you use MPLS, BGP, route filters ...) ?
- security (unless you use SSH or so ) ?
Last edited by holvoetn on Fri May 26, 2023 11:09 am, edited 2 times in total.
 
ivicask
Member
Member
Posts: 438
Joined: Tue Jul 07, 2015 2:40 pm
Location: Croatia, Zagreb

Re: hap lite, not enough disk space.

Fri May 26, 2023 11:08 am

What are they doing here?They are there OUT OF BOX on every router like that, i didint install them.

And no, i cant uninstall any of them.

I also tried installing only individual packages like
system-6.49.8-arm.npk
wireless-6.49.8-arm.npk

Also not enough space error after reboot..
You do not have the required permissions to view the files attached to this post.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap lite, not enough disk space.

Fri May 26, 2023 11:16 am

That's because the version you have loaded, is a bundled version (containing all packages).
Those can effectively not be uninstalled.
It's a test version, with normal released versions you should not have had this problem.
Test version on a device with accessibility problems, not a smart thing to do.

What I would try:
Download latest ROS6 version 6.49.8.
Only put the routeros npk file on your disk.
Reboot.
All packages should be gone.

ATTENTION: if you need one of those earlier packages to get access to your device (wireless, security, advanced_tools, dhcp, ... ?), make sure it is loaded as well before the reboot.
Or you can go climb up that mast ... if you have to do so, make sure to take a wire with you for next time.

PS if it is LHG AC 5, there is POE on ether1 ? So you should have access via ethernet ?
Last edited by holvoetn on Fri May 26, 2023 11:22 am, edited 1 time in total.
 
ivicask
Member
Member
Posts: 438
Joined: Tue Jul 07, 2015 2:40 pm
Location: Croatia, Zagreb

Re: hap lite, not enough disk space.

Fri May 26, 2023 11:21 am

That's because the version you have loaded, is a bundled version (containing all packages).
Those can effectively not be uninstalled.
It's a test version, with normal released versions you should not have had this problem.
Test version on a device with accessibility problems, not a smart thing to do.

What I would try:
Download latest ROS6 version.
Only put the npk file on your disk (that's system).
Reboot.
All packages should be gone.

ATTENTION: if you need one of those earlier packages to get access to your router (wireless, security, advanced_tools, dhcp, ... ?), make sure it is loaded as well before the reboot.
Or you can go climb up that mast ... if you have to do so, make sure to take a wire with you for next time.
I installed test version because latest wouldnt install, i was going in steps downloading older versions until one installed properly, i only did it on that one for test and that one isnt that important for me, i have others stuck on NONE beta versions.

Uploading of npk file is what i did makes no diff.

Anyways, its just bad and there is no reason to defend Mikrotik regarding this, instead me clicking update after working hours and quick reboot, i need to waste so much time going on field, also disrupting customers while neinstall is done etc...

Just because they cant properly organise their install packages and stop putting unused files on every device which take space for NO reason...
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Fri May 26, 2023 11:21 am

Indeed, unfortunately for a long time the units have been shipped with "bundle package".
That means all packages are always on the unit, except you can disable some of them.
Then they will not appear in the menus and they won't be running (so they cannot cause security issues), but they still take up space.

When the thing has not yet gone completely haywire, you can still reclaim space by downloading a newer version .zip file, uploading only the packages you need (the ones that are enabled from the list above), and do a /system reboot. It will then install only those individual packages, the bundle will be gone, and there is more space.
Of course when the flash is already (nearly) completely full that isn't an option anymore because upgrades won't work. You need netinstall in that case.

When you can still access the unit and have access to the ethernet cable you can do it without climbing the tower. Set "try ethernet once then nand" bootmode and reboot.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6753
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: hap lite, not enough disk space.

Fri May 26, 2023 11:23 am

Indeed, unfortunately for a long time the units have been shipped with "bundle package".
6.49b22 is not off-factory, I think ?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Fri May 26, 2023 11:32 am

As usual warning: do all at your own risk.

Paste this on terminal and reboot:
/co cl
/ip proxy reset-html
y
/ip proxy clear-cache
y
/ip proxy set cache-path=/web-proxy
/ip proxy reset-html
y
/ip proxy clear-cache
y


>>> reboot the device

After that, download this:
https://download.mikrotik.com/routeros/ ... 6.48.7.zip
copy on device (not on flash directory) only:
system and wireless
>>> I do not think you need "routing" for mpls, bgp & co. on that device. (normal ip routing is not involved on that package)
>>> you can install later advanced-tools, dhcp and security (this last, is used only by dhcp and ppp, if installed)
reboot.


Then I avoid commenting on how smart it is to install a canary/alpha/beta/rc on a device that is difficult to reach...
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Fri May 26, 2023 12:02 pm

Let's try and keep things civil please! We are all on the same side - my side :lol:
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Fri May 26, 2023 1:14 pm

Indeed, unfortunately for a long time the units have been shipped with "bundle package".
6.49b22 is not off-factory, I think ?
Once you have bundle package, it will remain when you upgrade via the "check" button.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Fri May 26, 2023 1:25 pm

addendum:

All the units have been shipped with bundled package, and everitime non-canary/alpha/beta/rc,
this last is not vald for 1st series of Cheateau that have 7.0beta3 because the 7.0 (stable) has not been ready for production when the device has begin produced.
If is not so, someone altered the device.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12554
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: hap lite, not enough disk space.

Fri May 26, 2023 1:27 pm

on topic with hap lite:

What's new in 7.10rc1 (2023-May-25 16:01):
*) system - reduced RAM usage for SMIPS devices;
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Tue Jul 25, 2023 12:41 pm

Must say, this issue remains tremendously frustrating. I wasted several hours today having to repeatedly netinstall a wAP R ac that crashed and failed to upgrade because of this exact issue. The primary reason is because it only has a 16MB flash. This is simply too small for a brand new and super powerful device.

I'm testing a new product line for my company and after this experience I'm having some serious doubts about whether this will be able to give us the long-term stability that we previously had with the RB922s.

For anybody that cares below is a summary of how I've been able to upgrade most of these devices to the latest ROS.
install individual packages - even if that means downgrading to a previous version
reduce dns cache to 64kB
then try to upgrade to the latest ros v7
if that fails, download all the ROS v7 binaries and look for the smallest one - in my case this was 7.1.1
upload that one and upgrade to that first
then try to upgrade to the latest ros v7
reset the ip dns cache to 2048kB
Word of caution though, I lost a wAP R AC running v7.10.2 today after doing a routerboard fw upgrade. I was able to recover it via netinstall, but it was massively frustrating as I thought I was over the worst once I finally got v7.10.2 on there, but no.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue Jul 25, 2023 1:59 pm

Actually, my experience is that with individual packages installed (in v6) it is more likely to fail to upgrade to v7 than with the bundle package.
To resolve the issue, use netinstall to install v7.
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Tue Jul 25, 2023 3:30 pm

I can't netinstall hundreds of devices in the field. Nor can I deploy them or upgrade them remotely if upgrades even between minor versions are prone to failing.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: hap lite, not enough disk space.

Tue Jul 25, 2023 3:45 pm

It is not a good idea to mass-upgrade such tiny devices from v6 to v7. There is quite a risk of problems, and performance will be worse.
Remain on v6.
 
Wyz4k
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 10, 2009 10:23 am

Re: hap lite, not enough disk space.

Tue Jul 25, 2023 4:34 pm

Unfortunately the functionality that I require on the wAP R ac to make it compatible with the RB922s is not working on ROS 6. And I can't downgrade the wAP R ac to the version where it is working, so I have to run ROS 7 or there is no compatibility. MikroTik have also mentioned they have no plans to backport the fix to ROS 6.
 
Emelhei
just joined
Posts: 1
Joined: Thu Oct 26, 2023 11:16 pm

Re: hap lite, not enough disk space.

Thu Oct 26, 2023 11:31 pm

Last week I update my hAP mini (smips) with 32MiB of Memory and 16MiB of Disk from v7.10.2 to v7.11.2. This was without any Problems. I only have to clear all Files in the "File-List" ( /file print has to been empty) Only the directory "skins" is listed. I didnt reset the device. The complete configuration stays on the device.

Who is online

Users browsing this forum: Artemis, fredgr and 23 guests