After update to v12 logon is very slow (only lan)

I´m using a Ubuntu Server 16 LTS with Apache2, PHP7, MariaDB and Nextcloud 12

After the upgrade yesterday the logon on the webpage is at home (LAN) very slow and some clients just cannot connect (I think the timeout is too short, because the response is to bad).

Outside I can access the logon page very fast as known.

Does anyone have any idea how to solve that?

Pleas have a look in your bruteforce-table, if the local ip is in there, delete it…

You can uses phpmyadmin or the terminal:

USE nextcloud;
SHOW tables;
SELECT * FROM oc_bruteforce_attempts;

Lists the bruteforce entries
For removing rows:

DELETE FROM oc_bruteforce_attempts WHERE IP=“nnn.nnn.nnn.nnn.”;
SELECT * FROM oc_bruteforce_attempts;

Is there a cleanup routine for the bruteforce table?

What will happen if a user enters everyday first a wrong password and then a correct? Will the table/ip reset after a successfull login or only added for every wrong password?

No, there is IFAIK - until now - no cleanup, you have to do it manualy.

I don’t know the exat mechanism. Entering a wrong password once a day shouldn’t be recorded as a brutforce-attack…

But from NC 12 on there is a bruteforce-app. With it, you can whitist IPs.

1 Like

Thanks. I tried it, but it wasn´t my lokal ip network. It was the ip adress from my internet provider.
I will have a good look at this in the future :smiley: