Fresh Install - Webmail URL is 404
Fresh Install - Webmail URL is 404
OS: CentOS 7.3.1611
Vesta 0.9.8r17
New server build. Installed with this command:
1. I created a proper FQDN during install
2. I created one email account
3. I clicked on the provided URL for Webmail - Resulted in 404. URL: http://IPofServer/webmail
4. "nginx -T" shows that /webmail is enabled for all domains.
5. Inspection of /var/log/vesta/nginx-error.log revealed:
Vesta 0.9.8r17
New server build. Installed with this command:
Code: Select all
curl -O http://vestacp.com/pub/vst-install.sh
bash vst-install.sh --nginx yes --phpfpm yes --apache no --named no --remi no --vsftpd no --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --mysql no --postgresql no
2. I created one email account
3. I clicked on the provided URL for Webmail - Resulted in 404. URL: http://IPofServer/webmail
4. "nginx -T" shows that /webmail is enabled for all domains.
5. Inspection of /var/log/vesta/nginx-error.log revealed:
Code: Select all
2017/07/06 00:05:23 [error] 4541#0: *2 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 192.168.30.10, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "172.20.30.136:8083", referrer: "https://172.20.30.136:8083/login/"
Re: Fresh Install - Webmail URL is 404
Follow-Up:
Inspection of vst-install-rhel.sh reveals that IF mysql=no then roundcubemail will not be installed. Guess I'll need to reinstall with MySQL.
Inspection of vst-install-rhel.sh reveals that IF mysql=no then roundcubemail will not be installed. Guess I'll need to reinstall with MySQL.