Bonjour, J’ai suivi la proc (https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-20-04-fr), qui c’est passée sans anicroches, mais au moment de la connexion sur Nextcloud, le mot de passe admin ne fonctionne pas. Pensant avoir fait une erreur j’ai recommencé, mais toujours avec le même pb a la fin, il ne reconnait pas le login ou le mot de passe. Quand a la réinitialisation du mot de passe, ça ne fonctionne pas suite a une erreur php. Une idée? Merci d’avance. Hervé F.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @globo
Can you share the exact PHP error that is logged when you try to use the Password reset option?
The normal ways to recover a lost password are:
If neither of these is an option, then you have a third option, and that is using the occ command. See Using the occ command to learn more about using the occ command.
Enter a new password: Confirm the new password: Successfully reset password for admin
Note: If your Nextcloud username is not admin, then substitute your Nextcloud username.
You can check the official docs on resetting the admin password:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html
Regards, Alex