You took too long to login, please try again now


#1

Hello ! I have installed ownCloud X. I seted admin password, but if i used it system wrote "You took too long to login, please try again now". Help plz.


Login fails "You took too long to login, please try again now"
took too long login
#2

Please help me with more information to help you, could you answer:

ownCloud X which version 10.0.0,2,3,4,5,6,7?

Local users or LDAP user?

What does the log file say?


#3

ohh, sorry. I dont know how look version, but i get it from
"curl https://download.owncloud.org/download/repositories/10.0/CentOS_7/ce:10.0.repo | tee /etc/yum.repos.d/owncloud_CE:10.0.repo
I use php71w, local user, CentOS Linux release 7.3.1611

in nano /var/www/html/owncloud/data/owncloud.log

{"reqId":"WrtZKDKCvfSUJwUox9D7TQAAAAA","level":3,"time":"2018-03-28T08:58:18+00:00","remoteAddr":"192.168.34.39","user":"--","app":"PHP","method":"G$
{"reqId":"WrtZZ4jOit4566i@eEGKpAAAAAI","level":3,"time":"2018-03-28T08:59:19+00:00","remoteAddr":"192.168.34.39","user":"--","app":"PHP","method":"G$
{"reqId":"WrugTE9uyzrLvyiHlyBEMwAAAAE","level":3,"time":"2018-03-28T14:01:48+00:00","remoteAddr":"192.168.34.39","user":"--","app":"mysql.setup","me$


#4

Thx everbody. I solved problem reinstalling centos on ubuntu )


#5

chmod 777 /var/lib/php/session
给这个文件夹权限就可以了


#6

FIXED !

yiyongjie is right !

I set CHMOD 777 to /var/lib/php/session and worked
Also, i didn`t had that folder, so i created it.
After that, clear cookies and works !


#7

Sorry for a stupid beginner question, but I don’t have any /var/lib/php folder on my Could installation which is hosted and installed as a package from my ISP. Any suggestion or directions where to look ?


#8

I would follow your fellow user’s example :slight_smile:


#9

Sorry, my English is very poor, all translated with google. So thank you for your affirmation


#10

yiyongjie, thank you it was the session data folder, which happened to be /var/opt/remi/php72/lib/php/session in my centos7 / PHP 7.2 install.

This happened because I started the php-fpm service before I configured the user it should run with.

However: it is more secure to CHMOD 755 the folder, and CHOWN to whatever user php (or nginx, or apache) is running as.