We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Can't login to vesta after upgrade to V17
Can't login to vesta after upgrade to V17
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
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
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/"
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.
Re: Can't login to vesta after upgrade to V17
What distribution you are using?
Re: Can't login to vesta after upgrade to V17
sorry, clicked wrong - problem is still pending.dpeca wrote:What distribution you are using?
Distribution: Ubuntu 14.04 LTS
Re: Can't login to vesta after upgrade to V17
Same issue here on the same version of ubuntu
Re: Can't login to vesta after upgrade to V17
if you try tostevetoza wrote:Same issue here on the same version of ubuntu
Code: Select all
sudo su
echo $VESTA
Re: Can't login to vesta after upgrade to V17
Code: Select all
root@vestacp:~# sudo su
root@vestacp:~# echo $VESTA
root@vestacp:~#
Re: Can't login to vesta after upgrade to V17
k, thank you for checking: Seems to be exactly the same problem that i have.stevetoza wrote:Code: Select all
root@vestacp:~# sudo su root@vestacp:~# echo $VESTA root@vestacp:~#
Re: Can't login to vesta after upgrade to V17
Hi
I had the same problem with centos 6. I just rebooted the server and then everything was ok!
I had the same problem with centos 6. I just rebooted the server and then everything was ok!
Re: Can't login to vesta after upgrade to V17
Reboot does not solve the problem on ubuntu 14.04.Niklas wrote:Hi
I had the same problem with centos 6. I just rebooted the server and then everything was ok!
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Can't login to vesta after upgrade to V17
ok Updated my first Debian 8.5 Server... went butter smooth. May be something specific to Ubu ?