Nextcloud admin user is locked

NethServer Version: NS8
Module: Nextcloud

Hi Friends,

I accidentally tried to log in to my Nextcloud as admin with the wrong password too often. Now the admin user is locked. Can someone give me the right commands so that I can unlock the admin user again?

Thanks in advance…

Uwe

1 Like

The repeated incorrect login attempts could have triggered the Brute Force protection, slowing down requests from an IP address (if not whitelisted) or preventing access for 30 minutes, by default.

To reset a forgotten admin password:

runagent -m nextcloud1 occ user:resetpassword admin

…tweaking nextcloud1 with the corresponding nextcloud app instance name.

5 Likes

:pray: :pray: :pray:

Changing the password works. But the admin user is still locked.

Ok, solved with runagent -m nextcloud1 occ user:enable user admin.

2 Likes