System Information
- Strapi Version: 3
- Operating System:
- Database: Postgres 10
- Node Version: 12
- NPM Version: 4.2.3
- Yarn Version: 1.22.0
I did the one click install on Digital Ocean marketplace, created the droplet strictly according to the recommendations on the Strapi site. When I SSH into the droplet, the opening banner says
"Strapi is still currently being installed, please wait a few
** more minutes."**
It has been a few hours.
When I try to login to the admin with the url http:mydropletIP/admin , I get the following error
502 Bad Gateway
When I check the nginx error log, I can find the following error message
*2021/06/29 11:27:06 [error] 26586#26586: 229 connect() failed (111: Connection refused) while connecting to upstream, client: 117.221.113.235, server: _, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://127.0.0.1:1337/favicon.ico”, host: “128.199.xx.xxx”, referrer: “http://128.199.xx.xxx//admin”
I did a telnet check on localhost port 1337. There is no service listening to that port on localhost.
I have not done any config changes. In fact I dropped the droplet and recreated it again with the same results.
Please help. I am a newbie to node.js
My netstat output
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 1066/systemd-resolv
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 862/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 17536/postgres
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 26583/nginx: master
tcp6 0 0 :::22 :::* LISTEN 862/sshd
My pm2 list output