Wrong password after first installation

Sorry for my english. I do my best.

I made a new installation NC 11 on my Webserver. I started NC in the Webbrowser and i inserted in the first window my username and password. I set the path to SQL and it runs. I wrote down the new passwort. But there must be a difference between the password i wrote down an the password I inserted. I can not restart the password because I didn´t left a mail in the settings.

Must I make complete new installation or is there another sollution? there is no data in the cloud. it is a complete new installation.

Thanks
Hans Huckebein

Reset it:

cd nextcloud    
sudo -u www-data php occ user:resetpassword admin

More Info: https://docs.nextcloud.com/server/11/admin_manual/configuration_server/occ_command.html

Thank you for your fast answer. I use windows 10. I think your tipp is for linux users.

You can execute PHP cli script under windows, just figure out where you php.exe is

No, you have to run the script on your server! Windows as OS on the server is not supported for NC.

1 Like

I made a new installation. Thank you