-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__mailer__HOST and __mailer__FROM not considered #15894
Comments
What's the output of your app.ini look like? |
The issue here maaay be the Initial Configuration GUI doesn't load some settings into the GUI itself as new defaults, so the settings passed in by environment-to-ini get overridden by the GUI itself. Here's a few other affected settings for me in version 1.14.2:
|
My app.ini reflects the settings from the environment variables:
I was a bit confused, because the configuration admin web page only shows the enabled settings, not FROM or HOST. I am also not able to set the
which has no effect. Using the environment variable |
Yup For reference my environment is Gitea 1.14.2 with MySQL 8.0 and have the same issue. |
can confirm that as for |
NewContext does not set the mailer or service settings so add a new function that will run this. Fix go-gitea#15894 Signed-off-by: Andrew Thornton <art27@cantab.net>
…15943) * Ensure settings for Service and Mailer are read on the install page NewContext does not set the mailer or service settings so add a new function that will run this. Fix #15894 Signed-off-by: Andrew Thornton <art27@cantab.net> * placate lint Signed-off-by: Andrew Thornton <art27@cantab.net>
…o-gitea#15943) * Ensure settings for Service and Mailer are read on the install page NewContext does not set the mailer or service settings so add a new function that will run this. Fix go-gitea#15894 Signed-off-by: Andrew Thornton <art27@cantab.net> * placate lint Signed-off-by: Andrew Thornton <art27@cantab.net>
gitea/gitea:1
[x]
):Description
I use a docker-compose.yaml file with an environment section:
All of the settings are being considered in setup just fine (up to including mailer.ENABLED) but
mailer.HOST
andmailer.FROM
are being ignored, i.e. on the setup page the fields are blank and in the configuration page of the admin interface only Enabled is shown with regard to the mailerLogs
Show setup of a new container with gitea directory deleted and call of config page in browser:
Best Thanks!
The text was updated successfully, but these errors were encountered: