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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
- sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.