⚠️ For existent installations, you can execute next rake task after deploy to copy Secrets values to related Settings: rake settings:copy_http_basic_auth_to_settings
SMTP Configuration
⚠️ Only for existing installations:
Case 1:
For existing installations that have the email smtp configuration correctly updated in the symbolic link(for example shared/config/environments/production.rb) it will be necessary to execute the following rake task for the sending of emails to continue working correctly.
This rake task copies the SMTP configuration of your server to the new Settings that the application needs in order to load the email configuration correctly.
Please execute next command rake settings:update_smtp_settings
Remember that until you execute the rake task the sending of emails will be disabled.
You can validate that the rake task has been executed correctly by accessing the administration panel in the Settings > SMTP configuration section and seeing that all the fields are correctly filled in.
Case 2:
If your existing installation use default ActionMailer::Base.delivery_method and default ActionMailer::Base.smtp_settings and you manage internally the sending of emails
with redirections or another stuff, you must not execute the rake task.
When this feature is disabled the sending of emails keep behaving in the same way.
SMS Configuration
The backward compatibility consists of trying to recover always the value of Settings, but in case it is empty we try to recover the value of the Secrets.
⚠️ For existent installations, you can execute next rake task after deploy to copy Secrets values to related Settings: rake settings:copy_sms_configuration_to_settings
References
Related Issues: #18
Objectives
Group all PR related with related issue #18
Notes
Advanced Configuration
⚠️ For existent installations, you can execute next rake task after deploy to copy Secrets values to related Settings:
rake settings:copy_http_basic_auth_to_settings
SMTP Configuration
⚠️ Only for existing installations: Case 1: For existing installations that have the email smtp configuration correctly updated in the symbolic link(for example shared/config/environments/production.rb) it will be necessary to execute the following rake task for the sending of emails to continue working correctly. This rake task copies the SMTP configuration of your server to the new Settings that the application needs in order to load the email configuration correctly. Please execute next command
rake settings:update_smtp_settings
Remember that until you execute the rake task the sending of emails will be disabled. You can validate that the rake task has been executed correctly by accessing the administration panel in the Settings > SMTP configuration section and seeing that all the fields are correctly filled in.Case 2: If your existing installation use default ActionMailer::Base.delivery_method and default ActionMailer::Base.smtp_settings and you manage internally the sending of emails with redirections or another stuff, you must not execute the rake task. When this feature is disabled the sending of emails keep behaving in the same way.
SMS Configuration
The backward compatibility consists of trying to recover always the value of Settings, but in case it is empty we try to recover the value of the Secrets.
⚠️ For existent installations, you can execute next rake task after deploy to copy Secrets values to related Settings:
rake settings:copy_sms_configuration_to_settings