Problem uploading new configuration to the AP.

  • 4
  • Question
  • Updated 3 years ago
  • Answered
Upload Captive Web Portal Files:
An error occurred when executing the following CLI command: save web-page web-directory PathologieFreeLandingPage scp://******@54.88.20.220:/HiveManager/downloads/IZORE/cwp/webpage/PatholgieFreeLandingPage/fail.png no-prompt_password ******.

The aerohive device does not have enough memory to save the web pages that is received from HiveManager.

The strange thing is that I didn't change the landing page.
I'm currently testing a new radius configuration.

When uploading the new config and\or firmware I als receive te following error:

Upload Configuration: An error occured when executing the following CLI command: save config scp://******@554.88.20.220:/HiveManager/downloads/IZORE/script/new/08EA441D5C80_full_new.config current no-prompt_password ******.

Because the SCP user name or password is invalid, access to the SCP server is denied.

The strange thing is that some client work and get the new config, the AP are part of the same profile.

Checked the firewall configuration, doesn't seem to be the problem. Do you hava any ideas?
Photo of Maurits Flapper

Maurits Flapper

  • 4 Posts
  • 0 Reply Likes
  • sad

Posted 4 years ago

  • 4
Photo of J. Goodnough

J. Goodnough, Champ

  • 266 Posts
  • 32 Reply Likes
I don't know why this happens, but sometimes a full config push is necessary, or in some cases, an AP reboot to clear memory followed by a full config. It's a bit frustrating. I'm in an environment where that's not big deal most of the time, but I know others have more stringent uptime requirements.
Photo of Maurits Flapper

Maurits Flapper

  • 4 Posts
  • 0 Reply Likes
Thanks for your reply, when I reboot the devices and perform a full config push I get the SCP error.
No config update. . . .
Photo of Bill W.

Bill W.

  • 222 Posts
  • 35 Reply Likes
Have you tried resetting the AP to default and then re-configuring it?  I've encountered the issue like J. Goodnough where you have to reboot and/or push a full config update to get an AP to properly update.  And I've had Tech Support suggest restoring an AP to default and then re-configuring it to try to get it to work.  If resetting to default and then re-configuring does not work, i would open a support ticket.  In which case they will probably RMA the unit.

I've had issues with APs not taking their config and/or not being able to update the app signature. At first I used to open up a support ticket to try to troubleshoot the APs.  But now I just open up a support ticket to RMA the APs.  With over 5200 APs deployed (and that number quickly and constantly growing), I don't have the time to troubleshoot the same issue over and over, so I just return them.
Photo of Andrew MacTaggart

Andrew MacTaggart, Champ

  • 483 Posts
  • 86 Reply Likes
you could ssh to AP

then

#clear web-directory

#reboot

# do you want to blah blah blah [Y|N] Y

after reboot

then push config

I discovered that an old CWP directory is being loaded as well as my new CWP directory

you can use the show web-directory to see what is being stored

@Aerohive
also as a side note it would be great to just clear a specific web directory instead of everything

A
(Edited)
Photo of Maurits Flapper

Maurits Flapper

  • 4 Posts
  • 0 Reply Likes
Hi Andrew,

I removed the web-directory on the AP.
After mulple reboots I was able to upload a complete config.
Photo of Andrew MacTaggart

Andrew MacTaggart, Champ

  • 483 Posts
  • 86 Reply Likes
Since this is a new AP, you might want to check the file sizes of any custom graphics.

My issue is that I have re-purposed APs from one school to another and even though the old CWP is removed from HM is still shows up on the AP until I clear and push the config.

Cheers
A
Photo of Marc SAISON

Marc SAISON

  • 2 Posts
  • 0 Reply Likes
Had the same problem today on 50 devices AP 230 of 57 installed...Didn't made a change on CWP, just a change on a rule of IP firewall.A reboot of all devices solved the case.

Best regards;
Photo of Marek Szymonski

Marek Szymonski

  • 44 Posts
  • 4 Reply Likes

Hi,

I've got 2 new AP390 and I can't upload configuration for them.

clear web-directory did not work in my case. Can you suggest something please?

APs were rebooted but error still appears.


Upload Captive Web Portal Files: An error occurred when executing the following CLI command: save web-page web-directory TrelleborgGuestCWP scp:/​/​******@10.58.17.215:/​HiveManager/​downloads/​home/​cwp/​webpage/​TrelleborgGuestCWP/​fail.png no-prompt _password ******.
Unknown error
Upload Configuration: The upload operation was aborted because a previous process failed.
Update User Database: The upload operation was aborted because a previous process failed.
Device Reboot: The upload operation was aborted because a previous process failed.

Photo of Andrew MacTaggart

Andrew MacTaggart, Champ

  • 483 Posts
  • 86 Reply Likes
try removing your cwp config, and try to upload. then add your cwp config back.
Photo of Marek Szymonski

Marek Szymonski

  • 44 Posts
  • 4 Reply Likes

Thank you, but how to remove cwp config?

I did "clear web-directory" but it was not helpfull.

Photo of Arison Mercado

Arison Mercado

  • 113 Posts
  • 8 Reply Likes
The clear-web directory does work but only like 20% of the time, it's not consistent and I hope Aerohive fixes this bug because it is really annoying when trying to troubleshoot a wireless network daily. Just imagine when I'm trying to update 40 or more AP's and I have to painstankenly go to each an every AP, SSH and clear the web-directoy/reboot several times per device.... and that is just half of the ones I need to run an update on.
(Edited)