https://bugs.koozali.org/show_bug.cgi?id=12208

            Bug ID: 12208
           Summary: Nextcloud email notification include invalid links
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-nextcloud
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Email alerts from NextCloud include links to the nextcloud site that use
localhost, instead of a proper URL. E.g.
"http://localhost/index.php/call/pqrhm65r"; instead of
"http://mydomain/nextcloud/index.php/call/...";. This apparently is affected by
a config setting using only for the cron (or systemd) job. The setting in
config/config.php:

‘overwrite.cli.url’ => ‘[url to server]’,

which was set to “http://localhost” by default. After setting it to the correct
URL

the FROM: email domain would be correct
the links embedded in the notification emails would be correct

Links that may help:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html

https://help.nextcloud.com/t/notification-emails-from-cron-php-sent-as-no-reply-localhost-instead-of-no-reply-my-domain/144032/11

Helpful links found by John Crisp

https://docs.nextcloud.com/server/23/admin_manual/configuration_server/config_sample_php_parameters.html

https://github.com/nextcloud/server/issues/6313

https://github.com/nextcloud/server/pull/11602#issuecomment-426773346

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to