Question

After several long attempts, ghost installation still fails

I managed to reach the point “Starting ghost”:

 Downloading and installing Ghost v3.40.2
✔ Finishing install process
? Enter your blog URL: https://congral.tech
✔ Configuring Ghost
✔ Setting up instance
+ sudo useradd --system --user-group ghost
+ sudo chown -R ghost:ghost /var/www/ghost/content
✔ Setting up "ghost" system user
ℹ Setting up "ghost" mysql user [skipped]
+ sudo mv /tmp/congral-tech/congral.tech.conf /etc/nginx/sites-available/congral.tech.conf
+ sudo ln -sf /etc/nginx/sites-available/congral.tech.conf /etc/nginx/sites-enabled/congral.tech.conf
+ sudo nginx -s reload
✔ Setting up Nginx
? Enter your email (For SSL Certificate) nikolaj.ivancic@congral.com
+ sudo mkdir -p /etc/letsencrypt
+ sudo ./acme.sh --install --home /etc/letsencrypt
+ sudo /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain congral.tech --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail nikolaj.ivancic@congral.com
✖ Setting up SSL
+ sudo mv /tmp/congral-tech/ghost_congral-tech.service /lib/systemd/system/ghost_congral-tech.service
+ sudo systemctl daemon-reload
✔ Setting up Systemd
+ sudo systemctl is-active ghost_congral-tech
+ sudo systemctl start ghost_congral-tech
+ sudo systemctl is-enabled ghost_congral-tech
+ sudo systemctl enable ghost_congral-tech --quiet
✔ Starting Ghost
One or more errors occurred.

1) SystemError

Message: Your domain name is not pointing to the correct IP address of your server, check your DNS has propagated and run `ghost setup ssl` again

Debug Information:
    OS: Ubuntu, v18.04.4 LTS
    Node Version: v12.18.0
    Ghost Version: 3.40.2
    Ghost-CLI Version: 1.15.3
    Environment: production
    Command: 'ghost install --auto --db=mysql --dbhost=localhost --dbname=ghost_production --dbuser=ghost --dbpass=84bc933f1f8518e08f86d4ea37f39abfa8c2e19bbc0c8b5e --dir=/var/www/ghost --start'

I do believe that DNS stuff is set correctly:

λ ping congral.tech

Pinging congral.tech [104.236.19.5] with 32 bytes of data:
Reply from 104.236.19.5: bytes=32 time=32ms TTL=54
Reply from 104.236.19.5: bytes=32 time=33ms TTL=54
Reply from 104.236.19.5: bytes=32 time=43ms TTL=54
Reply from 104.236.19.5: bytes=32 time=32ms TTL=54

Ping statistics for 104.236.19.5:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 32ms, Maximum = 43ms, Average = 35ms

c:\work
λ ping blog.congral.tech

Pinging blog.congral.tech [104.236.19.5] with 32 bytes of data:
Reply from 104.236.19.5: bytes=32 time=34ms TTL=54
Reply from 104.236.19.5: bytes=32 time=31ms TTL=54
Reply from 104.236.19.5: bytes=32 time=31ms TTL=54
Reply from 104.236.19.5: bytes=32 time=31ms TTL=54

Ping statistics for 104.236.19.5:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 31ms, Maximum = 34ms, Average = 31ms

Nevertheless, “both https://congral.tech/ghost” and “https://blog.congral.tech/ghost” fail to render the ghost page

What am I missing???


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted Answer

@bobbyiliev thanks for this follow-up, as I am happy to explain:

My answer to the question: ? Enter your blog URL: https://congral.tech was the problem. The correct answer is ? Enter your blog URL: https://blog.congral.tech (the subdomain of the congral.tech domain used to install Ghost)

Note that having the DNS section completed before starting the actual Ghost installation via the console, is the key requirement.

Bobby Iliev
Site Moderator
Site Moderator badge
January 5, 2021

Hi there,

I can see that you have successfully managed to point the domain name to the Ghost Droplet and that the Ghost installation is working successfully over HTTPS.

Would you mind sharing here with the community how you fixed the problem?

Regards, Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel