Page 1 of 2

Vesta error after update Vesta 0.9.8-17

Posted: Wed Nov 30, 2016 2:12 am
by delfo2000
Dear,

I have this error when I login in vesta, I'm using ubuntu 14.04, I find error in:/var/log/vesta/nginx-error.log

Code: Select all

2016/11/30 02:32:07 [error] 2097#0: *132 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: 10.1.x.x, serv$
2016/11/30 02:36:49 [error] 2097#0: *142 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: 10.1.x.x, serv$
I'm using 10.1.x.x my router/firewall.

Is there solutions?

Regards

Re: Vesta error after update Vesta 0.9.8-17

Posted: Wed Dec 07, 2016 6:29 am
by skurudo
Hello,
did you check sudo? It's working fine for admin user?

Re: Vesta error after update Vesta 0.9.8-17

Posted: Wed Dec 07, 2016 11:07 pm
by delfo2000
Hi skurudo,

I can login with admin user, but there is error in "nginx-error.log"give me error.

Regards



quote="skurudo"]Hello,
did you check sudo? It's working fine for admin user?[/quote]

Re: Vesta error after update Vesta 0.9.8-17

Posted: Wed Dec 07, 2016 11:22 pm
by skurudo
delfo2000 wrote: I can login with admin user, but there is error in "nginx-error.log"give me error.
Can you provide us access to server via pm?
We try to fix this and then post solution.
On ours test servers we don't see this ;-(

Re: Vesta error after update Vesta 0.9.8-17

Posted: Fri Dec 09, 2016 7:05 pm
by skurudo
Fixed.

Cleaning session directory.
Vesta services restart.

Re: Vesta error after update Vesta 0.9.8-17

Posted: Sat Dec 10, 2016 8:44 am
by mehargags
skurudo wrote:Fixed.

Cleaning session directory.
Vesta services restart.
Skurudo, can you please paste the exact SSH commands to which directories need to be cleaned ??

Re: Vesta error after update Vesta 0.9.8-17

Posted: Mon Dec 12, 2016 7:38 am
by skurudo
/usr/local/vesta/data/sessions/

Re: Vesta error after update Vesta 0.9.8-17

Posted: Mon Dec 12, 2016 3:21 pm
by mehargags
skurudo wrote:/usr/local/vesta/data/sessions/
So the full command will be

Code: Select all

 rm -rf /usr/local/vesta/data/sessions/* && service vesta restart 

Re: Vesta error after update Vesta 0.9.8-17

Posted: Tue Jan 10, 2017 11:09 am
by skurudo
mehargags wrote:
skurudo wrote:/usr/local/vesta/data/sessions/
So the full command will be

Code: Select all

 rm -rf /usr/local/vesta/data/sessions/* && service vesta restart 
True.

Re: Vesta error after update Vesta 0.9.8-17

Posted: Tue Feb 28, 2017 1:33 pm
by skurudo
We think this file /etc/sudoers.d/admin don't have code:

Code: Select all

# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
If you paste this, all will work (as we hope)