Hotspot problem - /flash directory created

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
Hotspot Server Problem.jpg

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?

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

I am also facing the same problem.

i have the same problem… rb750g3 hap Ax2 and others with firmware 7.17

the error persist even by CLI or API

We have the same problem. Hotspot directory is not working on 7.17

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.

problem still in RB4011iGS+RM firmware 7.17.2

also in hap ax2

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…

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

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?

Still having this issue with 7.17.2

In 7.17.2 problem still persist.

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.

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

BTW, I had opened an issue on this. Sergejs, please have a look at SUP-179877. To date support is pretty clueless it seems…