-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
I deployed 00-pro with docker tag 0.1.0-amd64
to my k8s cluster using the instructions for self hosting on docker.
When trying to send email from dashboard or using a POST
request to /api/emails
i get a 500.
In the error logs i get the following:
[error] ** (RuntimeError) Elixir.ExAws.Operation.ExAws.Operation.S3.perform/2 cannot perform operation on `nil` bucket
(ex_aws 2.5.3) lib/ex_aws/operation/s3.ex:58: ExAws.Operation.ExAws.Operation.S3.add_bucket_to_path/2
(ex_aws 2.5.3) lib/ex_aws/operation/s3.ex:25: ExAws.Operation.ExAws.Operation.S3.perform/2
(phoenix_00 0.1.0) lib/mail_man.ex:68: Phoenix00.MailMan.save_email_record_from_mailable/1
(phoenix_00 0.1.0) lib/phoenix_00/messages/services/send_email.ex:17: Phoenix00.Messages.Services.SendEmail.proccess_and_send_email/1
(phoenix_00 0.1.0) lib/phoenix_00_web/controllers/email_controller.ex:26: Phoenix00Web.EmailController.send/2
(phoenix_00 0.1.0) lib/phoenix_00_web/controllers/email_controller.ex:1: Phoenix00Web.EmailController.action/2
(phoenix_00 0.1.0) lib/phoenix_00_web/controllers/email_controller.ex:1: Phoenix00Web.EmailController.phoenix_controller_pipeline/2
(phoenix 1.7.12) lib/phoenix/router.ex:484: Phoenix.Router.__call__/5
When i looked at the sst.config.ts
file i did see that a S3 bucket could be created: when using the SST_DEPLOY
flag which isn't the case for me.
I tried looking for a bucket
reference but i couldn't find anything or have any knowledge about elixer/phoenix.
If you need extra context im happy to expand the issue or reach out through discord
liltechnomancer
Metadata
Metadata
Assignees
Labels
No labels