Closed Stage4000 closed 3 years ago
The config file is includes/config.php
which just contains your MySQL credentials. All other config variables are stored in MySQL. Are you running Hestia Web Interface on the same server that runs HestiaCP? If not, HestiaCP just introduced a security update that blocks API access to IPs not specified in the control panel, so you may try to manually specify your server IP and make sure that API access is set to enabled in https://YOUR-HESTIACP-SERVER:8083/edit/server/
under the Security -> System section.
After you have ensured that API access is enabled and that your server is either running on the same host or you have specified the IP address to a remote host, you should check the HestiaCP authorization logs to see if there is an authentication failure when connecting to the API. These logs are located in /usr/local/hestia/log/auth.log
.
Try refreshing the Hestia Web Interface login page, then check the auth.log file to see if any new lines appear after the refresh. Let me know what you find.
Its same server. auth log shows 2 successful admin logins, note that I dont believe either of these logins are from HWI.
I added 127.0.0.1 and my servers public IP to the API whitelist just in case and its working.
Their documentation says that 127.0.0.1 should be enabled by default, but I think since the request is being made over the internet it treats it like a remote server so it needs the public IP. I'm glad it's working now and I'll add that to the documentation.
Yeah, I went and changed it and yeah its def the public IP needs whitelisting.
Thank you again for your prompt and accurate support.
ok Ive run into another roadblock, this one a little less major but still concerning. I cant get rid of the 'includes folder is not secure' but it and its contents are all set to 755.
-EDIT ignore this, the contents were 755 but the folder itself wasnt because i was changing permissions as admin when it was owned by root.
Cloudflare API has a bug. Its sending me to the following address (https://stage4000.com:8083/hwi/cloudflare.php?domain=stage4000.com) when it should be sending me to (https://stage4000.com:8083/vwi/cloudflare.php?domain=stage4000.com), the cloudflare portion was never changed properly on the server side and the cloudflare.php file still exists in VWI and no HWI folder exists. Not sure if this is resolved in a future build.
Same system as yesterday only changes are as follows: PHP 7.4 Ubuntu 20.04 LTS - minimal Hestia standard install instead of vesta
I've tried doing both automatic and manual installs and they both show as unable to connect to the server "Failed to connect to server. Please check config.". The documentation mentions a server side config file but that config doesn't appear to exist in HWI, (it does exist in VWI), so I'm a bit lost there. Other things of note: the automatic installer doesn't ask me to input the panel address like it does with VWI. No PHP errors on install.
Automatic Install Output:
Debug Output:
Thanks in advance for your amazing help. P.S. so far im super impressed with Hestia vs Vesta.