Link to password reset failled

Nextcloud version _26.0.5
Operating system and version (eg, Ubuntu 20.04): Linux 5.4.0-155-generic x86_64
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 8.0

The issue you are facing:

Hi,
if I use the password reset option on the login page, I receive a email as expected.

But nextcloud generates a wrong link to the page where you can set a new password.
Nextclouds adds an additional “.” in the domain.

This link was generated:

“https://.de/index.php/lostpassword/…”

But the correct link should be

“https://..de/index.php/lostpassword/…”

with only one “.” between and

Does anybody has an explanation of this weird error?

Is this the first time you’ve seen this error? (Y/N): Y

Can you share the mail_* entries from your NC config?

There’s some weirdness with some underlying mailers on various systems depending on the delivery options configured. There’s a pending adjustment in NC server to try to make it more compatible with odd behaviors. But often it can be worked around by adjusting the config a bit too.

Do you mean this?

  1. ‘mail_smtpmode’ => ‘sendmail’,

  2. ‘mail_sendmailmode’ => ‘pipe’,

  3. ‘mail_from_address’ => ‘bose’,

  4. ‘mail_domain’ => ‘masterplan.de’,

Here is the complete config file (I xed some sensitive information):

If you anonymize your domain, there is no problem. However like this, it is not clear, so what happens to e.g. cloud.example.org

Does it become cloud..example..org or cloud.example..org or cloud.example.org. or c.l.o.u.d...e.x.a.m.p.l.e...o.r.g.?

It becomes cloud…example.com

Do you use a proxy in front of your server?

What surprises me a bit is that your

'overwrite.cli.url'

isn’t with https but that doesn’t explain the issue. You could try to use the parameter:

'overwritehost' => 'cloud.example.org',

but in theory that should not be required, and except for the password reset link everything else in the interface seems to work…

Hi,

thx

this is the line that I found:

“‘overwrite.cli.url’ => ‘http://cloud.masterplan.de’,”

So, there is nothing to change, no?

One more information: My domain www.example.org is routed to a subfolder. Therefor I created a the subdomain “cloud”. Could this be a reason for the double point?