I have an 502 bad gateway error when accessing www.<my_domain>/ghost
Ghost-CLI version: 1.24.0
Installed Ghost version: v5.28.0
Node.js version - found v16.17.0
I have followed this tutorial and my port numbers in my ghost’s config file and the proxy_pass in ghost site’s nginx configuration files match.
In /var/www/ghost/config.production.json I can see:
“port”: 2368,
“host”: “127.0.0.1”
In /etc/nginx/sites-available/<my_domain>.com-ssl.conf and /etc/nginx/sites-available/<my_domain>.com.conf - both have:
proxy_pass http://127.0.0.1:2368;
This is a fresh Ghost install, I have just added A-records and configured SSL with an email. My next step was to access www.<my_domain>/ghost to create an admin.
@Cathy_Sarisky I think it is because of the error during installation.
I install Ghost from the DigitalOcean Marketplace. The only input that was required from me so far is domain name. This is an error:
✔ Setting up "ghost" system user
✖ Setting up "ghost" mysql user
What are my next steps?
Also, right after self-installation process it tries to start and:
If it were me and this was a brand new droplet I didn’t have anything invested in, I’d spin up a new droplet and see if the one-click install ran correctly on the second try.
Then I’d hope for someone on the forum with more DO droplet experience than me to help out.