I’ve been trying to get ghost to send email for hours now. First I got a permissions error (even though I’m the owner) then after redeploying the container several times that resolved itself. Now when i run the following command:
ghost config --mail SMTP --mailservice Gmail --mailuser user@place.com --mailpass password --mailhost smtp.gmail.com --mailport 465
and restart the docker container, the web interface completely stops working.
I’m running the docker image from:
Docker
On vSphere Integrated Containers.
At this point I’m lost as to why this is happening. I don’t see any issues with the config above, and certainly nothing that should completely break the web server.
I get err_connection_refused in the browser.
Anyone have any ideas??
Thank you!
Edit: I just tested deleting the volume I set for persistent storage of /var/lib/ghost/content, then only ran the following commands:
ghost config url http:// my.website
ghost config --mail SMTP --mailservice Gmail --mailuser user@domain --mailpass password --mailhost smtp. gmail. com --mailport 465
(extra spaces are in the commands since I can only have 3 links in the post)
If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you:
- What’s your URL?
- What version of Ghost are you using?
- What configuration?
- What browser?
- What errors or information do you see in the console?
- What steps could someone else take to reproduce the issue you’re having?
Thanks!