Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Can't login to vesta after upgrade to V17

General questions about VestaCP
Locked
  • Print view
Advanced search
26 posts
  • 1
  • 2
  • 3
  • Next
ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Can't login to vesta after upgrade to V17

Post by ScIT » Fri Nov 25, 2016 4:42 pm

OS: Ubuntu Server 14.04 LTS

Upgraded two of my servers (more or less not really productives) to vesta v17. Upgrade worked well, but on second server i've noticed that i can't login with admin user.

After some research i found some error logs in /var/log/vesta/nginx-error.log

Code: Select all

2016/11/25 16:49:21 [error] 3888#0: *16 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: 8.8.8.8, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "my.server.tld:8083"
2016/11/25 16:49:31 [error] 3888#0: *16 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14PHP 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: 8.8.8.8, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "my.server.tld:8083", referrer: "https://my.server.tld:8083/login/"
But i think they are not problem related, because they also comes up on second server.

After a while I noticed that the $VESTA variable was not set properly in root user. A echo $VESTA in normal system user (not vesta related) works as expected. An echo in admin or root user is empty.

It's a bit a strange issue, maybe someone from the devs would like to take a look? Atm i'm not shure if it is really v17 related.

Best Regards
Raphael
Last edited by ScIT on Fri Nov 25, 2016 5:23 pm, edited 2 times in total.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Can't login to vesta after upgrade to V17

Post by dpeca » Fri Nov 25, 2016 4:48 pm

What distribution you are using?
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Can't login to vesta after upgrade to V17

Post by ScIT » Fri Nov 25, 2016 4:50 pm

dpeca wrote:What distribution you are using?
sorry, clicked wrong - problem is still pending.

Distribution: Ubuntu 14.04 LTS
Top

stevetoza
Posts: 12
Joined: Sun May 11, 2014 7:45 am

Re: Can't login to vesta after upgrade to V17

Post by stevetoza » Fri Nov 25, 2016 5:02 pm

Same issue here on the same version of ubuntu
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Can't login to vesta after upgrade to V17

Post by ScIT » Fri Nov 25, 2016 5:08 pm

stevetoza wrote:Same issue here on the same version of ubuntu
if you try to

Code: Select all

sudo su
echo $VESTA
do you also have an empty return as value?
Top

stevetoza
Posts: 12
Joined: Sun May 11, 2014 7:45 am

Re: Can't login to vesta after upgrade to V17

Post by stevetoza » Fri Nov 25, 2016 5:14 pm

Code: Select all

root@vestacp:~# sudo su
root@vestacp:~# echo $VESTA

root@vestacp:~#
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Can't login to vesta after upgrade to V17

Post by ScIT » Fri Nov 25, 2016 5:16 pm

stevetoza wrote:

Code: Select all

root@vestacp:~# sudo su
root@vestacp:~# echo $VESTA

root@vestacp:~#
k, thank you for checking: Seems to be exactly the same problem that i have.
Top

Niklas
Posts: 3
Joined: Sat Nov 05, 2016 4:12 pm

Re: Can't login to vesta after upgrade to V17

Post by Niklas » Fri Nov 25, 2016 9:41 pm

Hi

I had the same problem with centos 6. I just rebooted the server and then everything was ok!
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Can't login to vesta after upgrade to V17

Post by ScIT » Fri Nov 25, 2016 9:44 pm

Niklas wrote:Hi

I had the same problem with centos 6. I just rebooted the server and then everything was ok!
Reboot does not solve the problem on ubuntu 14.04.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Can't login to vesta after upgrade to V17

Post by mehargags » Sat Nov 26, 2016 6:41 am

ok Updated my first Debian 8.5 Server... went butter smooth. May be something specific to Ubu ?
Top


Locked
  • Print view

26 posts
  • 1
  • 2
  • 3
  • Next

Return to “General Discussion”



  • 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