How do I setup ssl for a Ghost one-click-app droplet without a ProcessError?

January 24, 2018 1.7k views
Applications Ghost Ubuntu 16.04

Hi! I just deployed a Ghost one-click-app droplet on Digital Ocean. I keep getting a ProcessError when trying to setup up ssl:

Error occurred running command: '/bin/sh -c sudo -S -p '#node-sudo-passwd#' /etc/letsencrypt/ --issue --home /etc/letsencrypt --domain --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail'

Not sure what I'm doing wrong.

1 Answer

I could only get it to work if I stopped Ghost before running setup.
ghost stop
ghost setup

Have another answer? Share your knowledge.