helpyio / helpy

Helpy is a modern, open source helpdesk customer support application. Features include knowledgebase, community discussions and support tickets integrated with email.
http://helpy.io/?source=ghh
MIT License
2.36k stars 499 forks source link

password reset email not using site_url #2064

Open sparrowme opened 2 years ago

sparrowme commented 2 years ago

System site url is configured. Validated in database:

 28 | webhook.form_key            | --- b6abdc71254889ed11d2042f79b18f2c+|          |            | 2022-02-02 23:33:43.586245 | 2022-02-02 23:33:43.586245
    |                             |                                      |          |            |                            | 
 29 | theme.active                | --- nordic                          +|          |            | 2022-02-02 23:34:10.691352 | 2022-02-02 23:34:10.691352
    |                             |                                      |          |            |                            | 
  3 | settings.site_url           | --- https://helpdesk.myrealdomain +|          |            | 2022-02-02 20:08:34.023608 | 2022-02-02 23:50:27.520786
    |                             |                                      |          |            |                            | 
 30 | settings.site_tagline       | --- Online Website          +|          |            | 2022-02-02 23:50:27.545871 | 2022-02-02 23:50:27.545871

However, password reset email still uses default - pre-install domain. image

Currently using docker install Container restarted after change. Don't know if it's related, but one thing I noticed is that the Site Url in admin requires the https:// when other urls do not?

karser commented 1 year ago

I'm using helpy in docker and encountered the same issue. If I replace site_url in /helpy/config/settings.yml and restart container it starts working as expected.

I moved settings.yml out of docker container and bind-volumed it:

    helpy:
        image: helpy/helpy:release-2.8.0
        volumes:
            - "./settings.yml:/helpy/config/settings.yml:ro"