How to change password?

Hi team,
I am the only use/admin on my own Nextcloud. Today I logged in, change my login password in my admin panel, but I can’t login in again (perhaps I type a wrong new password) and password reset is not available as I can see in the log that no email address was linked to this username. Is there a way to change this password in a file or database, or add my email address in the database to my username so I can change my password?
I should had that I don’t have access to a console or terminal to type command…
Thank you for your help.
Mark

You can set EMail to send email to reset password.

Without Nextcloud access you can set the parameter in config/config.php. Read this .

Here my configurations. I can only send mail from my account with my own credentials.

  'mail_from_address' => 'user',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'domain.tld',
  'mail_smtphost' => 'mailserver.domain.tld',
  'mail_smtpport' => '587',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'user@domain.tld',
  'mail_smtppassword' => 'mailpassword',
1 Like