Web GUI forbidden / unauthorized error on access

Configuring synchronization, sensors, and optimizations
Post Reply
User avatar
Posts: 175
Joined: Sun Nov 27, 2016 3:41 pm

Web GUI forbidden / unauthorized error on access

Post by crmuser » Tue Feb 20, 2018 8:57 pm

When I try to access my web GUI I get a forbidden / unauthorized error. I may have accidentally done something while messing with files - so I'm not sure what is causing this. It worked great before I started messing around.

What have I done? How do I fix it?
Account for questions transferred from CRM system
User avatar
Telium Support
Posts: 235
Joined: Sun Nov 27, 2016 3:27 pm

Re: Web GUI forbidden / unauthorized error on access

Post by Telium Support » Tue Feb 20, 2018 9:00 pm

You most likely moved or deleted the password file associated with your GUI. Or you might have applied a HAAst update which (until the version released March 2018) would mistakenly remove that file during the automated update (install_updates.sh)

You can recreate the .htpasswd file as described in section 3.4.5 of the installation guide (Secure the Web Interface). I'll repeat the Linux command here to save you from digging out the manual:

Code: Select all

htpasswd -c /usr/local/haast/web_interface/.htpasswd user1
The above line will create username 'user1' and then prompt for a password to be associated with the username. To reset the password just repeat the process. Note that the "-c" parameter creates a new file, so it removes other username/password combinations from this directory. If you want multiple usernames for this directory please check the man page of htpasswd for help.

(After March 2018 if you run install_updates.sh to update your version, then your .htpasswd file will be preserved)
Post Reply