Skip to content
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

ghost doctor fails to recognize alternate SES settings #8952

Closed
alikuru opened this issue Aug 29, 2017 · 4 comments
Closed

ghost doctor fails to recognize alternate SES settings #8952

alikuru opened this issue Aug 29, 2017 · 4 comments
Assignees

Comments

@alikuru
Copy link

alikuru commented Aug 29, 2017

I noticed this error when I wanted to test my config after I upgrading to 1.8.0.

✖ Validating config
A ConfigError occurred.

Error detected in the production configuration.

Message: Invalid mail transport
Configuration Key(s): mail.transport
Current Value(s): SES

Help: Run `ghost config <key> <new value>` for each key to fix the issue.


Debug Information:
    Node Version: v6.9.2
    Ghost-CLI Version: 1.1.1
    Environment: production
    Command: 'ghost doctor startup'

My SES config is as follows;

"mail": {
  "from": "'John Doe' <john@doe.com>",
  "transport": "SES",
  "options": {
    "AWSAccessKeyID": "AWSACCESSKEY",
    "AWSSecretKey": "/AWS/SECRET"
  }
}

I'm using pm2 to run Ghost and everything, including emails, seem to work. So, I assume this must be an issue with the doctor.

@vikaspotluri123
Copy link
Member

I think a temporary workaround would be to specify the transport as SMTP and configure it based on to the docs, although it looks like you need a different set of keys

@acburdine based on nodemailer's transport file it looks like there's also support for SES, Stub, and Pickup, in addition to the cli-supported smtp, sendmail, and direct transports. It looks like the only additional transports the CLI should support are ses and possibly pickup

@alikuru
Copy link
Author

alikuru commented Aug 29, 2017

@vikaspotluri123 thanks for the input but I don't think a workaround needed for passing doctor's warning. My setup is listed as an alternate in docs, so it conforms. Ghost starts and runs just fine. Even emails are working.

This seems to be a false alarm issue.

@acburdine
Copy link
Member

Hey, sorry for not responding to this sooner. @alikuru would you mind re-opening this issue in the Ghost-CLI repository? It belongs there rather than here 😄

@adriaan-pelzer
Copy link

Is there any way ghost can be started without running ghost doctor?
I want to use SES, and it works, but I can't start ghost because of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants