Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

Bug report

Questions regarding the Web Interface
GUI
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
ifeelingz
Posts: 2
Joined: Thu Aug 03, 2017 10:02 am

Bug report

Post by ifeelingz » Sat Dec 23, 2017 8:56 am

Is there a path change of vstats?

ิbefore :
location /vstats/ {
alias /home/admin/web/host.domain.in.th/stats/;
include /home/admin/web/host.domain.in.th/stats/auth.conf*;
}
nginx work

lastest :
location /vstats/ {
alias /home/sygnus/web/host.domain.in.th/stats/;
include /home/sygnus/conf/web/host.domain.in.th.auth
}
nginx not work

After installing vestcp ( nginx with php-fpm ), nginx is not working.
Top

rhyker2u
Posts: 86
Joined: Thu Jan 19, 2017 11:46 am
Contact:
Contact rhyker2u
Website

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Bug report

Post by rhyker2u » Tue Jan 02, 2018 10:02 pm

ah! I had the exact same happening to me! Phew ... feel a bit better now :-) as I read on the frontpage how the update is supposed to be flawless. Well ... not quite. I got around the nginx error by writing this script:

Code: Select all

#!/bin/bash

source /etc/profile.d/vesta.sh
source /usr/local/vesta/conf/vesta.conf

sed -i "s|include %home%/%user%/conf/web/%domain%.auth|#include %home%/%user%/conf/web/%domain%.auth|" \
    $VESTA/data/templates/web/nginx/*/*tpl >/dev/null 2>&1

if [ "$WEB_SYSTEM" != 'nginx' ]; then
    exit
fi

$VESTA/bin/v-rebuild-web-domains admin no >/dev/null 2>&1
$VESTA/bin/v-restart-service nginx
which is a modification of /usr/local/vesta/upd/fix_nginx_auth.sh

Only by commenting out that auth line I got nginx to work again. However had other issues thereafter where all my db users created on vestacp level lost access to WP. Matter of re-granting user privileges on MySQL level? I bypassed that issue by changing all my wp-config.php with DB root access. To then find out how any changes or adding new domains in vestacp gave php-fpm errors. And after hours of troubleshooting found out other problems. Long story short? I've reinstalled all my servers from scratch.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Bug report

Post by imperio » Thu Jan 04, 2018 11:43 am

Fixed
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password