Can't login but no error Topic is solved

Questions regarding the Web Interface
GUI
stuartallen
Posts: 3
Joined: Thu Nov 05, 2015 3:35 am

Can't login but no error

Postby stuartallen » Thu Nov 05, 2015 3:55 am

Can't login to Vesta CP. Though logs report that a successful login occured, the login page just reloads, without an "incorrect password" warning or anything.
Ubuntu 14.04.1
root@artservices3:~# free -m
total used free shared buffers cached
Mem: 741 384 357 7 31 190
-/+ buffers/cache: 161 579
Swap: 0 0 0

I have tried solutions found in multiple threads on this forum to no avail. Including the following:
viewtopic.php?f=16&t=8862&p=29512#p29512
viewtopic.php?f=16&t=7063
viewtopic.php?f=10&t=8349&p=27113#p27113

Any ideas out there. Would really appreciate the help.

Almost forgot - error in nginx-error.log:

2015/11/04 21:26:15 [error] 1900#0: *46 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 99.65.201.104, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.220.52.115:8083", referrer: "https://162.220.52.115:8083/login/"

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda2 9.3G 5.7G 3.2G 65% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 361M 4.0K 361M 1% /dev
tmpfs 75M 400K 74M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 371M 0 371M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/vda1 453M 36M 390M 9% /boot

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: Can't login but no error

Postby skurudo » Thu Nov 05, 2015 10:08 am

Try v-change-password

Code: Select all

v-change-user-password admin password
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

stuartallen
Posts: 3
Joined: Thu Nov 05, 2015 3:35 am

Re: Can't login but no error

Postby stuartallen » Fri Nov 06, 2015 6:03 pm

Tried that - doesn't work. Log shows a successful login, but it's just not redirecting to dashboard.

Govo
Posts: 26
Joined: Mon Oct 26, 2015 4:04 pm

Re: Can't login but no error

Postby Govo » Sat Nov 07, 2015 1:01 pm

Hi stuartallen

Try and remove the session

SSH into server
run
rm -r -f /tmp/*


Try login again

Cheers
Govo

stuartallen
Posts: 3
Joined: Thu Nov 05, 2015 3:35 am

Re: Can't login but no error

Postby stuartallen » Mon Nov 09, 2015 12:53 pm

Nope - emptied that directory and still have same result. Other thoughts?

Govo
Posts: 26
Joined: Mon Oct 26, 2015 4:04 pm

Re: Can't login but no error

Postby Govo » Mon Nov 09, 2015 2:23 pm

This might be help full

https://github.com/serghey-rodin/vesta/issues/312

let me

Cheers
Govo

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: Can't login but no error

Postby skurudo » Mon Nov 09, 2015 5:49 pm

stuartallen wrote:Nope - emptied that directory and still have same result. Other thoughts?


Let's check logs:
/usr/local/vesta/log/nginx-error.log
/usr/local/vesta/log/system.log
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

Govo
Posts: 26
Joined: Mon Oct 26, 2015 4:04 pm

Re: Can't login but no error

Postby Govo » Mon Nov 09, 2015 6:15 pm

Just booting up may server

Can you post the out put of your logs

Cheers
Govo

SCelik

Re: Can't login but no error  Topic is solved

Postby SCelik » Mon Nov 09, 2015 7:31 pm

These errors occurs becouse of php session. Php can not create session.

Why does php can not create sessions?

1) Php (apache) doesn't has write permissions to session_save_path. (after php update, you have to chmod 777 that folder)
2) Your user's disk quota is full. (If you activated quota on buggy version of vesta release: 14 and earlier)
3) Your server's disk is full.

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: Can't login but no error

Postby skurudo » Mon Jul 17, 2017 2:24 pm

-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now


Return to “Web Interface”



Who is online

Users browsing this forum: No registered users and 1 guest

cron