Page 1 of 1

Hotspot problem - /flash directory created

Posted: Mon Jan 27, 2025 9:00 am
by TW98
Hello everyone,

I have the problem on my RB5009UG with version v7.17 that I can no longer correctly select the HTML directory in the hotspot.

Previously the directory was “hotspot”. That was also correct so far. Now, when I select a folder, “flash/” is automatically placed in front of it. And this folder does not exist under Files.

As a workaround, I have renamed the former only hotspot folder to “flash/hotspot”. This also works. However, if I change the HTML directory a second time and select “flash/hotspot”, a “flash” is put in front of it again and now I am already in the HTML directory “flash/flash/hotspot”. This is annoying.

Where does this flash directory come from? Is it a bug? I couldn't find anything in the changelogs that indicates this.

I have to say that I set up the router board with v7.6 and then updated to v7.17.

BR Tim

Re: Hotspot problem - /flash directory created

Posted: Mon Jan 27, 2025 9:28 am
by mkx
Directory flash/ is present on devices with less than 64MB flash disk and more than 64MB RAM ... where root of file storage is on RAM disk instead of flash. On those systems, the remaining portion of flash disk is mounted under flash directory (and is thus root of non-volatile storage).

Since RB5009 has more than 64MB flash, it's mounted as root of storage ... and seeing flash/ in hotspot config is clearly a bug. Does this bug appear also when you use CLI to configure device?

Re: Hotspot problem - /flash directory created

Posted: Mon Jan 27, 2025 9:51 am
by TW98

Since RB5009 has more than 64MB flash, it's mounted as root of storage ... and seeing flash/ in hotspot config is clearly a bug. Does this bug appear also when you use CLI to configure device?
Hello,

thanks for the explanation. I have already read that somewhere. Then it is a mistake. I have just tried to change it via terminal. Here, too, “flash” is always put in front of it.

From
/ip hotspot profile set hsprof1 html-directory=hotspot
becomes flash/hotspot again in the GUI .

BR Tim

Re: Hotspot problem - /flash directory created

Posted: Mon Jan 27, 2025 6:34 pm
by Debobrato
I am also facing the same problem.

Re: Hotspot problem - /flash directory created

Posted: Tue Jan 28, 2025 5:38 pm
by israelrmm
i have the same problem... rb750g3 hap Ax2 and others with firmware 7.17

Re: Hotspot problem - /flash directory created

Posted: Wed Jan 29, 2025 3:01 pm
by israelrmm
Directory flash/ is present on devices with less than 64MB flash disk and more than 64MB RAM ... where root of file storage is on RAM disk instead of flash. On those systems, the remaining portion of flash disk is mounted under flash directory (and is thus root of non-volatile storage).

Since RB5009 has more than 64MB flash, it's mounted as root of storage ... and seeing flash/ in hotspot config is clearly a bug. Does this bug appear also when you use CLI to configure device?
the error persist even by CLI or API

Re: Hotspot problem - /flash directory created

Posted: Thu Jan 30, 2025 12:45 pm
by rplatt
We have the same problem. Hotspot directory is not working on 7.17

Re: Hotspot problem - /flash directory created

Posted: Sat Feb 01, 2025 5:24 am
by Kintoyyy
Also having the same problem on RB4011iGS+5HacQ2HnD versions 7.17 and 7.17.1. The only solution for now is to downgrade back to 7.16.

Re: Hotspot problem - /flash directory created

Posted: Thu Feb 06, 2025 10:14 pm
by israelrmm
problem still in RB4011iGS+RM firmware 7.17.2

also in hap ax2

Re: Hotspot problem - /flash directory created

Posted: Sat Feb 08, 2025 4:24 pm
by ahlvhin1985
Also having the same problem on RB4011iGS+5HacQ2HnD versions 7.17 and 7.17.1. The only solution for now is to downgrade back to 7.16.
how to downgrade back to 7.16.2? when i downgrade my hap ax2, it does'nt downgrade even when i paste the downgrade file and hit downgrade...

Re: Hotspot problem - /flash directory created

Posted: Sat Feb 08, 2025 4:30 pm
by mkx
how to downgrade back to 7.16.2? when i downgrade my hap ax2, it does'nt downgrade even when i paste the downgrade file and hit downgrade...
What was factory ROS version on your hAP ax2? Itbcan't ge downgraded below that.

Did you upload all the necessary package files? hAP ax2 needs at least routeros and wifi-qcom (and could be more if you installed any other optional packages) ... if you don't provide all package files, dowgrade will fail.

In any case, after device is rebooted (as part of up/downgrade), log will show something about it.

Re: Hotspot problem - /flash directory created

Posted: Sat Feb 08, 2025 7:07 pm
by ahlvhin1985
how to downgrade back to 7.16.2? when i downgrade my hap ax2, it does'nt downgrade even when i paste the downgrade file and hit downgrade...
What was factory ROS version on your hAP ax2? Itbcan't ge downgraded below that.

Did you upload all the necessary package files? hAP ax2 needs at least routeros and wifi-qcom (and could be more if you installed any other optional packages) ... if you don't provide all package files, dowgrade will fail.

In any case, after device is rebooted (as part of up/downgrade), log will show something about it.
Thank you for the advice, it really helps me... I already downgrade it...

Re: Hotspot problem - /flash directory created

Posted: Mon Feb 17, 2025 12:41 pm
by axlrod
yea, this is messed up, if you keep clicking apply in the webui/winbox/cli, it just adds /flash in front .. indefinately..

if you create folder flash/yourhotspotfolder

and apply the html-directory to be yourhotspotfolder

It kinda works.. and you can reset-html/upload html content

Re: Hotspot problem - /flash directory created

Posted: Mon Feb 17, 2025 10:55 pm
by eworm
Looks like 7.17.2 was supposed to fix this, but did not. Does anybody know if Mikrotik is aware and whether/when a follow-up fix will resolve the situation?

Re: Hotspot problem - /flash directory created

Posted: Wed Feb 19, 2025 3:44 pm
by Rasczak
Still having this issue with 7.17.2

Re: Hotspot problem - /flash directory created

Posted: Thu Feb 20, 2025 4:53 pm
by pitall01
In 7.17.2 problem still persist.

Re: Hotspot problem - /flash directory created

Posted: Sat Feb 22, 2025 10:14 pm
by kasirivu
I think I know how to fix it. First creat a folder on your desktop name it flash. Inside your folder put the hotspot folder for example flash/hotspotjax. Delete all files in the mikrotik file manager. Add the file hotspotjax to mikrotik file. Go to hotspot server profile select HTML directory the select hotspotjax and apply. Then it will bring the flash/hotspotjax error that doesn't work. Go back to the mikrotik file manager and delete all files again. Then drag your flash folder on desktop that has the hotspotjax file inside to the mikrotik file manager. Check your hotspot will be working.

Re: Hotspot problem - /flash directory created

Posted: Tue Feb 25, 2025 8:47 am
by sergejs
Could you clarify what is the problem at 7.17.2 with /flash?
As well for newer boards we suggest to upgrade to 7.18 to fix the issue with /flash directory.

Re: Hotspot problem - /flash directory created

Posted: Tue Feb 25, 2025 9:18 am
by imfavourite
Could you clarify what is the problem at 7.17.2 with /flash?
As well for newer boards we suggest to upgrade to 7.18 to fix the issue with /flash directory.
7.18 does not solve the problem. If you select a directory in hotspot - profiles and save, then /flash/ is automatically added to the path. Each save gives +1 flash, the result is flash/flash/flash/hotspot. If you change it via the command line, /flash is still added. If you create a flash folder and put the hotspot files there, it does not solve the problem. Thus, the captive portal does not work, if I go manually to the http://routerIP-or-name/login, I get a 404 error

Re: Hotspot problem - /flash directory created

Posted: Tue Feb 25, 2025 5:32 pm
by eworm
BTW, I had opened an issue on this. Sergejs, please have a look at SUP-179877. To date support is pretty clueless it seems...

Re: Hotspot problem - /flash directory created

Posted: Wed Feb 26, 2025 10:08 am
by eworm
I received an automated message that the issue is fixed and will be available in an upcoming release... Waiting for that.

Re: Hotspot problem - /flash directory created

Posted: Wed Feb 26, 2025 3:52 pm
by pitall01
I've tested v7.18 on RB5009 and problem is still there.

Re: Hotspot problem - /flash directory created

Posted: Wed Feb 26, 2025 4:12 pm
by holvoetn
Look 3 posts up.
It was already said it doesn't work with 7.18.

So 7.18.1 or 7.19beta ...

Re: Hotspot problem - /flash directory created

Posted: Thu Feb 27, 2025 9:23 am
by Syst3m32
7.18rc2 doesn't fix the problem either

Re: Hotspot problem - /flash directory created

Posted: Thu Feb 27, 2025 10:36 am
by holvoetn
7.18rc2 doesn't fix the problem either
Look 3 posts up.
It was already said it doesn't work with 7.18.

So 7.18.1 or 7.19beta ...
If 7.18 doesn't work, 7.18rc2 (which comes before 7.18) will also not work.
Sometimes people have to read before posting ...

Re: Hotspot problem - /flash directory created

Posted: Thu Feb 27, 2025 4:51 pm
by mrtur
Could you clarify what is the problem at 7.17.2 with /flash?
As well for newer boards we suggest to upgrade to 7.18 to fix the issue with /flash directory.
7.18 does not solve the problem. If you select a directory in hotspot - profiles and save, then /flash/ is automatically added to the path. Each save gives +1 flash, the result is flash/flash/flash/hotspot. If you change it via the command line, /flash is still added. If you create a flash folder and put the hotspot files there, it does not solve the problem. Thus, the captive portal does not work, if I go manually to the http://routerIP-or-name/login, I get a 404 error
I confirm the problem on multiple RB1100AHx4: ROS 7.18 + firmware 7.18 won't solve the issue.

A temp fix like mentionned above is to create a "flash" directory and move the hotspot dir inside (worked for me), in order to match the (wrong) path in hotspot server profile config.

What is weird though is that is not happening on all devices. I have many RB1100AHx4 with same ROS version, and the bug only happens on some devices, without any obvious difference bewteen devices or config.

Re: Hotspot problem - /flash directory created

Posted: Thu Feb 27, 2025 10:49 pm
by MayWifiSarap
Hey all, after the 7.18 update from 7.16, it seems my custom page hotspot is no longer working, and it defaulted.

The issue still persists even in the CLI command. It shouldn't prepend flash/directory-name unless you specify, right?

In the GUI, it much worse and it looked like this flash/flash/directory-name after you apply and even removing the unwanted flash pathname, it still same.

/system routerboard print
       routerboard: yes         
             model: RB5009UPr+S+
     serial-number: xxxxxxxxxxx 
     firmware-type: 70x0        
  factory-firmware: 7.8         
  current-firmware: 7.18        
  upgrade-firmware: 7.18       
/ip hotspot profile set html-directory=maywifisarap
numbers: 1
/ip hotspot profile print
Flags: * - default 
 0 * name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot html-directory-override="" install-hotspot-queue=no http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 
     login-by=cookie,http-chap http-cookie-lifetime=3d split-user-domain=no use-radius=no 

 1   name="profile90_hotspot" hotspot-address=10.0.0.1 dns-name="xxx.xxx.com" html-directory=flash/maywifisarap html-directory-override="" install-hotspot-queue=no 
     http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=https,http-pap ssl-certificate=cert.pem_0 split-user-domain=no use-radius=yes radius-accounting=yes radius-interim-update=5m 
     nas-port-type=wireless-802.11 radius-default-domain="" radius-location-id="" radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX 

...well, I end up putting the source under the created flash directory 🫠

Re: Hotspot problem - /flash directory created

Posted: Mon Mar 03, 2025 11:24 pm
by eworm
This is now fixed with 7.18.1...

Re: Hotspot problem - /flash directory created

Posted: Wed Mar 05, 2025 10:12 am
by Syst3m32
I can also confirm that the error has been fixed with 7.18.1.

The /flash/ no longer appears when saving again