I am on Ghost Version 2.37.0
Whenever I try to upload an image I get the following error

This is the log file generated
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":30,"msg":"Ghost is running in production...","time":"2019-10-20T05:51:25.218Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":30,"msg":"Your site is now available on https://shantesh.com/","time":"2019-10-20T05:51:25.219Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":30,"msg":"Ctrl+C to shut down","time":"2019-10-20T05:51:25.220Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Can't connect to the bootstrap socket (localhost 8000) ECONNREFUSED","time":"2019-10-20T05:51:25.232Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Tries: 0","time":"2019-10-20T05:51:25.233Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Retrying...","time":"2019-10-20T05:51:25.233Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Can't connect to the bootstrap socket (localhost 8000) ECONNREFUSED","time":"2019-10-20T05:51:25.387Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Tries: 1","time":"2019-10-20T05:51:25.388Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Retrying...","time":"2019-10-20T05:51:25.390Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Can't connect to the bootstrap socket (localhost 8000) ECONNREFUSED","time":"2019-10-20T05:51:25.543Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Tries: 2","time":"2019-10-20T05:51:25.544Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Retrying...","time":"2019-10-20T05:51:25.545Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":40,"msg":"Can't connect to the bootstrap socket (localhost 8000) ECONNREFUSED","time":"2019-10-20T05:51:25.698Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":30,"msg":"Ghost boot 2.923s","time":"2019-10-20T05:51:25.701Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":30,"req":{"meta":{"requestId":"0fdd7296-2c3e-40c1-b069-143e35fed84b","userId":null},"url":"/favicon.png","method":"GET","originalUrl":"/favicon.png","params":{},"headers":{"x-forwarded-for":"[IP ADDRESS]","x-forwarded-proto":"https","x-real-ip":"[IP ADDRESS]","host":"shantesh.com","connection":"close","user-agent":"Mozilla/5.0 Safari/537.36","accept-encoding":"identity"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-type":"image/png","content-length":4714,"etag":"\"e6092167a3aac801ea0ef30c3cf7a18d\"","cache-control":"public, max-age=86400"},"statusCode":200,"responseTime":"3ms"},"msg":"","time":"2019-10-20T05:51:52.853Z","v":0}
{"name":"Log","hostname":"ghost-droplet","pid":28114,"level":30,"req":{"meta":{"requestId":"59b0cbc8-e429-4252-b8e1-47de2f6089a8","userId":null},"url":"/author/shantesh/","method":"GET","originalUrl":"/author/shantesh/","params":{"slug":"shantesh"},"headers":{"x-forwarded-for":"[IP ADDRESS]","x-forwarded-proto":"https","x-real-ip":"[IP ADDRESS]","host":"shantesh.com","connection":"close","amp-cache-transform":"google;v=\"1..2\"","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8","from":"googlebot(at)googlebot.com","user-agent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","accept-encoding":"gzip,deflate,br","if-modified-since":"Sat, 19 Oct 2019 20:59:16 GMT"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","cache-control":"public, max-age=0","content-type":"text/html; charset=utf-8","etag":"W/\"11450-KMUkbfnourfP8mOlx5pIYIrYRHQ\"","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"771ms"},"msg":"","time":"2019-10-20T05:51:52.871Z","v":0}
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!
Hi @shantesh,
It seems like your port 8000 is either in use by a different service or for some reason ghost couldn’t actually create the socket.
Please run
sudo netstat -tulpen | grep 8000
and see if port 8000 is already in use. If it is then change the port on ghost config or disable the process that is using the port from your ghost configuration file.
If this doesn’t help, please provide us with your configratuon file and th e ouput of this command
netstat -tulpen
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.