pariyatti / kosa

Digital library service
GNU Affero General Public License v3.0
8 stars 3 forks source link

Mailer is reverting to a blank config #77

Closed deobald closed 1 year ago

deobald commented 1 year ago

From Discord:

It looks like either the deploy is overwriting secrets.edn or we broke it somehow along the way:

$ ssh -i ~/.kosa/LightsailDefaultKey.pem ubuntu@kosa-sandbox.pariyatti.app $ sudo su kosa-user $ cat ~/.kosa/secrets.edn {:mailer {:user "YOUR_NAME@gmail.com" :pass "GMAIL_APP_PASSWORD" :default-options {:to "some-other@email.com" :tls true :port 587}}}

...it's quite likely that's some naive thing Ansible or the Makefile is doing on deploy. I might let you dig into it tomorrow. (There's finally a one-day course here in Halifax, so I won't be available. But I can look into it later if you're busy.) For the time-being, it's returning the correct error on Sandbox now:

https://kosa-sandbox.pariyatti.app/status