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 Web Server
  • Search

vestacp admin panel not loading

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
miahz
Posts: 1
Joined: Sun Apr 08, 2018 6:05 pm

Os: Ubuntu 15x
Web: apache + nginx
vestacp admin panel not loading
  • Quote

Post by miahz » Sun Apr 08, 2018 6:13 pm

website,FTP and SSH can running. but admin panel not load. plz help me.

this is nginx-error.log

Code: Select all

2018/04/07 20:29:07 [error] 1575#0: *6 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
Top

pilotdev
Posts: 3
Joined: Fri Aug 26, 2016 8:20 am

Re: vestacp admin panel not loading
  • Quote

Post by pilotdev » Wed Apr 11, 2018 5:38 am

I am having exact same errors. Started appearing about 4-5 days back.
Please help !!!
Top

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

Re: vestacp admin panel not loading
  • Quote

Post by imperio » Wed Apr 11, 2018 7:40 am

What ISP are you using ?
Top

mdmatic
Posts: 11
Joined: Wed Apr 11, 2018 7:46 am

Os: Ubuntu 13x
Web: apache + nginx
Re: vestacp admin panel not loading
  • Quote

Post by mdmatic » Wed Apr 11, 2018 7:51 am

same problem!!! few days ago some is updated and I don't know what is (possibly, php)
my vps provider is digitalocean, but here is vesta cp troubles to star on specified port!!
I edited config file and set different port for vesta, for example 2000, service restart & this not helps.
apache and php works, backupping are still works, but the panel is couldn't start.

Code: Select all

/usr/local/vesta/log/nginx-error.log                                                                           5159/5808               88%
65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line
85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serial
ize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/04/10 12:44:57 [error] 24658#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vest
a/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line
85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serial
ize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/04/10 12:44:57 [error] 24658#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vest
a/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line
85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serial
ize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/04/10 22:22:03 [error] 3252#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta
/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line
76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line
85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serial
ize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:2000"
2018/04/10 22:22:03 [error] 3252#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta
/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
 1Help        2UnWrap       3Quit         4Hex          5Goto         6            7Search       8Raw          9Format      10Quit
Top

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

Re: vestacp admin panel not loading
  • Quote

Post by imperio » Wed Apr 11, 2018 7:54 am

Change vestacp port

Code: Select all

service vesta restart

Code: Select all

v-add-firewall-rule ACCEPT 0.0.0.0/0 2000
v-update-firewall
Top

yoko eagle
Posts: 33
Joined: Sat Jan 20, 2018 3:45 am

Os: Debian 8x
Web: apache + nginx
Re: vestacp admin panel not loading
  • Quote

Post by yoko eagle » Wed Apr 11, 2018 8:30 am

mdmatic wrote: ↑
Wed Apr 11, 2018 7:51 am
same problem!!! few days ago some is updated and I don't know what is (possibly, php)
my vps provider is digitalocean, but here is vesta cp troubles to star on specified port!!
I edited config file and set different port for vesta, for example 2000, service restart & this not helps.
apache and php works, backupping are still works, but the panel is couldn't start.

Do you use cloudflare?
The only port that I know working with their SSL services is 2053
Try to change to that port.
Top

mdmatic
Posts: 11
Joined: Wed Apr 11, 2018 7:46 am

Os: Ubuntu 13x
Web: apache + nginx
Re: vestacp admin panel not loading
  • Quote

Post by mdmatic » Wed Apr 11, 2018 8:41 am

thank you! I used digitalocean vps for my website, they are blocks default vestacp's port 8043,
I changed that, adds some firewall rules and all is works!!!
here is some instructions (thanks to imperio)
1. edit the /usr/local/vesta/nginx/conf/nginx.conf
change the 'listen' port from 8043 to your (8089)
2. add firewall rules for that port:
/usr/local/vesta/bin/v-add-firewall-rule ACCEPT 0.0.0.0/0 8089
/usr/local/vesta/bin/v-update-firewall
3. service vesta restart
4. all done!!! we have a fixed trouble )) thanks to imperio ))
Top

pilotdev
Posts: 3
Joined: Fri Aug 26, 2016 8:20 am

Re: vestacp admin panel not loading
  • Quote

Post by pilotdev » Wed Apr 11, 2018 2:11 pm

@mdmatic absolutely correct.

If anybody is getting this error on DigitalOcean then nothing is wrong with Vestacp.

DO have disabled 8083 port for preventive measures.

I changed the port and it is working now.
More details can be found here :

https://www.digitalocean.com/community/ ... l-8th-2018
Top

siniztr
Posts: 4
Joined: Thu Aug 15, 2019 10:27 am

Os: Ubuntu 17x
Web: apache + nginx
Re: vestacp admin panel not loading
  • Quote

Post by siniztr » Sat Aug 17, 2019 12:25 pm

I am running VestaCP on an Amazon EC2 server, and am having a similar issue. I have tried removing and reinstalling Softaculous, I opened all of the ports on Amazon platform, even disabled firewall on VestaCP, but I keep getting "ERROR LOADING DATA" when I click on Apps.

Logs show:
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 70
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 81
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 90" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"

Any Idea's?

I have vestacp running on two other VPS servers, and they run fine.
Top

rderman
Posts: 1
Joined: Tue Sep 10, 2019 9:07 pm

Os: CentOS 6x
Web: apache + nginx
Re: vestacp admin panel not loading
  • Quote

Post by rderman » Tue Sep 10, 2019 9:23 pm

Hi all,

I just read the topic. I think I am have the same problem.

I have installed promox on my server and deployed a VPS with centos 7 on with I installed Vesta.


When I enter the login and password. nothing the page return as initial
I have this in my logs

Code: Select all

PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 70
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 81
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 90" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2019/09/10 21:10:02 [error] 17184#0: *7 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 70
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 81
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 90" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
And also for VESTA Auth log

Code: Select all

2019-09-10 18:20:44 **********************************  failed to login
2019-09-10 18:21:03 ********************************** successfully logged in
2019-09-10 18:22:48 **********************************  successfully logged in
2019-09-10 18:23:06 **********************************  successfully logged in
2019-09-10 18:23:37 **********************************  successfully logged in
2019-09-10 18:35:05 ********************************** successfully logged in
2019-09-10 18:36:05 **********************************  successfully logged in
2019-09-10 18:36:20 **********************************  successfully logged in
2019-09-10 18:39:54 **********************************  successfully logged in
2019-09-10 20:56:37 **********************************  successfully logged in
Thanks in advance for your help
Top


Post Reply
  • Print view

10 posts • Page 1 of 1

Return to “Web Server”



  • 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