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.
Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
-
- Posts: 33
- Joined: Wed Feb 11, 2015 5:36 pm
Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
Help can not access the vestacp panel I get error "504 Gateway Time-out"
The error occurs after changing the IP of the server.
Automating IP exchange or Public DNS exchange.
I believe this error is generated "504 Gateway Time-out"
Most do not know what I have to reconfigure any server.
What files can not be modified to change IP and DNS?
What should I do?
nginx-error.log
df -h
df -i
The error occurs after changing the IP of the server.
Automating IP exchange or Public DNS exchange.
I believe this error is generated "504 Gateway Time-out"
Most do not know what I have to reconfigure any server.
What files can not be modified to change IP and DNS?
What should I do?
nginx-error.log
Code: Select all
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: 170.245.64.66, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "namehost:8083", referrer: "https://namehost:8083/login/"
2017/03/07 18:53:05 [error] 1486#0: *62 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083", referrer: "https://namehost/login/"
2017/03/07 19:00:09 [error] 1486#0: *68 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083", referrer: "https://namehost/login/"
2017/03/07 19:19:49 [error] 1486#0: *72 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083"
2017/03/07 19:44:48 [error] 1486#0: *77 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "namehost:8083"
2017/03/07 19:58:50 [error] 1486#0: *82 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "ip:8083"
2017/03/07 21:33:26 [error] 1486#0: *94 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 170.245.64.66, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "ip:8083", referrer: "https://ip:8083/login/"
Code: Select all
root@ip:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 492M 12K 492M 1% /dev
tmpfs 100M 388K 99M 1% /run
/dev/xvda1 30G 2.3G 26G 9% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 497M 0 497M 0% /run/shm
none 100M 0 100M 0% /run/user
Code: Select all
root@eip:~# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 125801 387 125414 1% /dev
tmpfs 127038 365 126673 1% /run
/dev/xvda1 1966080 165594 1800486 9% /
none 127038 2 127036 1% /sys/fs/cgroup
none 127038 2 127036 1% /run/lock
none 127038 1 127037 1% /run/shm
none 127038 2 127036 1% /run/user
root@ip:~#
Last edited by willamsphp on Thu Mar 09, 2017 3:07 pm, edited 1 time in total.
Re: Help can not access the vestacp panel I get error "504 Gateway Time-out"
We think this file /etc/sudoers.d/admin don't have code:
If you paste this, all will work (as we hope)
Don't forget restart vesta service.
Code: Select all
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
Don't forget restart vesta service.
-
- Posts: 33
- Joined: Wed Feb 11, 2015 5:36 pm
Re: Help can not access the vestacp panel I get error "504 Gateway Time-out"
Solved the problem
Worked perfectly
Thank you for your help
skurudo And note 100%
Worked perfectly
Thank you for your help
skurudo And note 100%
Re: Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
Thanks you for report, willamsphp
^_^
^_^
Re: Help can not access the vestacp panel I get error "504 Gateway Time-out" *_* Solved *_*
I have a similar problem. All the websites hosted on the server work fine, but the vestacp panel always shows a 504 error. This problem begun only a few days ago: Everything was working perfectly till then.