Question

404 error after creating a Ghost droplet

I was following a tutorial for creating a Droplet with Ghost. Even without setting up the domain name, it looks like I must be able to open and see a Ghost message to continue with the installation, just opening the IP address, but in my case, I only see a 404 error.

What did I do wrong?


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.

✖ Starting Ghost One or more errors occurred.

  1. ConfigError

Error detected in the production configuration.

Message: connect ECONNREFUSED 127.0.0.1:3306 Configuration Key(s): database.connection.host / database.connection.port Current Value(s): 127.0.0.1 / 3306

Help: Ensure that MySQL is installed and reachable. You can always re-run ghost setup to try again.

  1. GhostError

Message: Ghost was able to start, but errored during boot with: connect ECONNREFUSED 127.0.0.1:3306 Help: Unknown database error Suggestion: journalctl -u ghost_www-pashtech-co-uk -n 50

KFSys
Site Moderator
Site Moderator badge
November 4, 2023

Heya @davided9d7e06860044efb1cd874fc,

Did you use the MarketPlace Ghost Droplet :

https://marketplace.digitalocean.com/apps/ghost

Or are you trying to manually configure Ghost? Additionally, can you post what steps you have followed and from which tutorial?

Bobby Iliev
Site Moderator
Site Moderator badge
November 2, 2023

Hi there,

Did you use the 1-Click Ghost installation image from the Marketplace or did you install Ghost manually?

I could suggest using the 1-Click installation from the Marketplace:

https://marketplace.digitalocean.com/apps/ghost

I’ve just tested it and it seems to be working as expected.

What you could do is, as this is a new Droplet, delete it and spin up a new one using the link above.

Let me know how it goes!

Best,

Bobby

Try DigitalOcean for free

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

Sign up

Featured on Community

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