Question

I can't configure Ghost 1-click droplet. It keeps getting error.

Posted October 21, 2020 117 views
GhostUbuntu 18.04

For the domain, I pointed both @ and www to the Droplet IP.

The first errors come up when I enter the domain on the setup.
I first tried www.mydomain.com. It says it is not pointed.
I next tried mydomain.com. It gets the same error.
When I entered http://mydomain.com, it continued to nginx installment. Then I got “ProcessError” with the following message:

Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#'  /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain mydomain.com --web                                                                             root /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountema                                                                             il abe.johnrick@gmail.com
[Wed Oct 21 11:17:29 UTC 2020] mydomain.com:Verify error:Invalid responsefrom http://mydomain.com/.well-known/acme-challenge/AAAAAAAAAAAAAAA                                                                             GP0domHlrhfOR73ijZs5thE [167.99.187.81]:
[Wed Oct 21 11:17:29 UTC 2020] Please add '--debug' or '--log' to check more details.
[Wed Oct 21 11:17:29 UTC 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Wed Oct 21 11:17:19 UTC 2020] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Wed Oct 21 11:17:20 UTC 2020] Create account key ok.
[Wed Oct 21 11:17:20 UTC 2020] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Wed Oct 21 11:17:22 UTC 2020] Registered
[Wed Oct 21 11:17:22 UTC 2020] ACCOUNT_THUMBPRINT='AAAAAAAAAAAAAAAAAAAAAAAA'
[Wed Oct 21 11:17:22 UTC 2020] Creating domain key
[Wed Oct 21 11:17:22 UTC 2020] The domain key is here: /etc/letsencrypt/mydomain.com/mydomain.com.key
[Wed Oct 21 11:17:22 UTC 2020] Single domain='mydomain.com'
[Wed Oct 21 11:17:22 UTC 2020] Getting domain auth token for each domain
[Wed Oct 21 11:17:24 UTC 2020] Getting webroot for domain='mydomain.com'
[Wed Oct 21 11:17:25 UTC 2020] Verifying: mydomain.com

What could be the problem here?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
4 answers

Hi @johnrick,

I take it you are using www.mydomain.com and mydomain.com as an example but you are actually using an actual domain controlled by you, correct?

If not, you’ll need to point an actual live domain to the droplet to make it work.

Regards,
KFSys

Hey there @johnrick,

This may seem like a stupid question but… by mydomain.com you are entering the name of your domain, right? For example, if I want to set it up on my domain, I would input asciinaut.sh.

My idea is - you are entering your domain, and not the word mydomain?

Best,
Dennis

@KFSys @denislavgavrilov mydomain.com is a placeholder for my real domain. Turns out there is an issue when using this 1-click when using SSH. It worked when I used password.

Have you tried pointing a domain to your droplet and then configuring the domain and adding SSL to it ?

After pointing a domain your droplet, login to SSH

Switch to the ghost manager user:

sudo -i -u ghost-mgr

cd in to your ghost directory (default is /var/www/ghost)

cd /var/www/ghost

Set the domain for Ghost - > Run:

ghost config url.

Add SSL

ghost setup nginx ssl

Switch blog URL to SSL address

ghost config url.

Finally

ghost restart

Submit an Answer