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 not login to VestaCp
Can not login to VestaCp
Hello,
Today I faced a problem I haven't faced before. I was not able to access admin panels of VestaCp. So I search around and I read a topic here on forum and found out that this is a disc space problem. So I checked space on the server, so I was able to access my admin panels.
The problem is I still cannot to login to VestaCp.
This is my /usr/local/vesta/log/system.log
This is the /usr/local/vesta/log/nginx-error.log
2018/03/07 12:20:13 [error] 2013#0: *106 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 106" while reading response header from u pstream, client: 103.18.10.251, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run /vesta-php.sock:", host: "URL:8083", referrer: "https://URL:8083/login/"
and this is the /usr/local/vesta/log/auth.log
2018-01-05 15:57:51 admin 124.29.237.119 successfully logged in
2018-01-25 10:10:03 admin 124.29.237.107 successfully logged in
2018-02-08 12:20:14 admin 124.29.237.211 successfully logged in
2018-02-09 11:31:17 admin 124.29.237.111 successfully logged in
2018-02-09 11:53:58 admin 124.29.237.111 successfully logged in
2018-02-16 10:32:19 admin 103.18.10.251 successfully logged in
2018-02-26 14:17:02 admin 103.18.10.251 successfully logged in
2018-02-27 16:43:47 admin 103.18.10.251 successfully logged in
2018-03-01 13:28:34 admin 103.18.10.251 successfully logged in
2018-03-05 11:19:41 admin 103.18.10.251 successfully logged in
2018-03-07 12:48:11 admin 127.0.0.1 successfully logged in
2018-03-07 12:48:15 admin 127.0.0.1 failed to login
2018-03-07 12:48:38 admin 127.0.0.1 failed to login
The last few hours I was reading topics here on the forum, unfortunately none of them worked for me.
I would be grateful if you could help me solve this.
Thank you.
Today I faced a problem I haven't faced before. I was not able to access admin panels of VestaCp. So I search around and I read a topic here on forum and found out that this is a disc space problem. So I checked space on the server, so I was able to access my admin panels.
The problem is I still cannot to login to VestaCp.
This is my /usr/local/vesta/log/system.log
This is the /usr/local/vesta/log/nginx-error.log
2018/03/07 12:20:13 [error] 2013#0: *106 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 106" while reading response header from u pstream, client: 103.18.10.251, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run /vesta-php.sock:", host: "URL:8083", referrer: "https://URL:8083/login/"
and this is the /usr/local/vesta/log/auth.log
2018-01-05 15:57:51 admin 124.29.237.119 successfully logged in
2018-01-25 10:10:03 admin 124.29.237.107 successfully logged in
2018-02-08 12:20:14 admin 124.29.237.211 successfully logged in
2018-02-09 11:31:17 admin 124.29.237.111 successfully logged in
2018-02-09 11:53:58 admin 124.29.237.111 successfully logged in
2018-02-16 10:32:19 admin 103.18.10.251 successfully logged in
2018-02-26 14:17:02 admin 103.18.10.251 successfully logged in
2018-02-27 16:43:47 admin 103.18.10.251 successfully logged in
2018-03-01 13:28:34 admin 103.18.10.251 successfully logged in
2018-03-05 11:19:41 admin 103.18.10.251 successfully logged in
2018-03-07 12:48:11 admin 127.0.0.1 successfully logged in
2018-03-07 12:48:15 admin 127.0.0.1 failed to login
2018-03-07 12:48:38 admin 127.0.0.1 failed to login
The last few hours I was reading topics here on the forum, unfortunately none of them worked for me.
I would be grateful if you could help me solve this.
Thank you.
Re: Can not login to VestaCp
I can't login to VestaCP
viewtopic.php?f=10&t=14958
viewtopic.php?f=10&t=14958
Re: Can not login to VestaCp
The first time I know this. Thanks
-
- Posts: 5
- Joined: Tue Nov 16, 2021 4:27 pm
- Os: Ubuntu 17x
- Web: nginx + php-fpm
Re: Can not login to VestaCp
Im also facing the login issue and tried all mentioned steps but still failed to login
OS : CentOS 7.9
vi //etc/sudoers.d/admin
df -h
Logs
Admin password also correct , verified the admin password from command line
OS : CentOS 7.9
vi //etc/sudoers.d/admin
Code: Select all
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
# sudo is limited to vesta scripts
admin ALL=NOPASSWD:/usr/local/vesta/bin/*
Code: Select all
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 793M 7.0G 11% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda2 911G 117G 749G 14% /
tmpfs 1.6G 0 1.6G 0% /run/user/0
Code: Select all
==> /var/log/vesta/auth.log <==
2023-07-03 22:11:52 admin 127.0.0.1 failed to login
==> /var/log/vesta/nginx-error.log <==
2023/07/03 22:11:52 [error] 22151#0: *3 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(): Filename cannot be empty in /usr/local/vesta/web/api/v1/login/index.php on line 74
PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/vesta/web/api/v1/login/index.php on line 75
PHP message: PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/local/vesta/web/api/v1/login/index.php on line 76
PHP message: PHP Warning: unlink(): No such file or directory in /usr/local/vesta/web/api/v1/login/index.php on line 83
PHP message: PHP Notice: Undefined index: user in /usr/local/vesta/web/api/v1/login/index.php on line 159
PHP message: PHP Notice: Undefined variable: users in /usr/local/vesta/web/api/v1/login/index.php on line 171" while reading response header from upstream, client: 182.191.65.62, server: _, request: "POST /api/v1/login/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "host.ictfax.com:8083", referrer: "https://host.ictfax.com:8083/login"