Closed tomotsuguseki closed 7 months ago
Hi, let guide you in these two issues:
Emails
Emails are configured to use Amazon SES. REDCap to check the config is valid tries to send an email to redcapemailtest@gmail.com. This mail is not allowed as an Identity in SES unless you put your SES in production mode.
To send emails, when SES is not in production, you can check your SES identities deployed by the project (generally a type Domain identity) and it should be in Verified
status. You can use that domain to send emails.
The other use case is where the email
configured in the deployment is sending email. You can manually add this identity as Email address
type to validated it.
S3
I think this is just configuration detail of the previous deployments. You will need to rebuild your Docker image. For this you can execute the lambda or call it via CodeBuild
After the image is build again, it will update the S3 settings.
It’s also worth mentioning that after the build command is executed , App Runner will take a few minutes to update with a Blue green deployment.
What action is needed for the S3 setting problem? Thanks for your help.
Hi! glad you could solve the email issue.
About the S3:
Please use the latest v1.0.3 (no upgrade steps are required from v1.0.2). This ensure the database config are updated even if you change the credentials that access this S3 bucket.
Please check that this file exist in your code containers/redcap-docker-apache/sql/redcapConfig.sql
. If it doesn't exist, run the yarn command yarn gen redcap config
Deploy and build the image again. Wait for AWS App runner to update.
Please check again in the REDCap config.
If is not working please check in the AWS Console / AppRunner and select your service, in the Configuration, you will see Runtime environment variables
. Is there a variable there called S3_BUCKET
with the value similar to prod-redcap-backend-appbucket......
? This is to confirm the bucket exists and is passed to REDCap.
Please be sure that when you run the yarn gen redcap config
be sure to select Yes
to ✔ Use S3 bucket as storage for REDCap? · 1
It worked well and now I have no major errors in the AWS configuration. Thanks for your help!
After successful deployment to REDCap, I encountered the following two major configuration errors in REDCap. For the latter error, File Upload Settings page in the Control Center are filled with values.
Are they AWS or REDCap problem?