Uhm, so my website kinda dropped dead a few days ago - returning a “ERR_CONNECTION_REFUSED” - and after getting in touch with DigitalOcean since I’ve got a droplet here, they helped me restart the server using commands I weren’t at all familiar with. The thing is I don’t really know anything about running my own website, less how to use a web console, so I’ve totally forgotten all about what I had to go through 2 years ago in order to get my website/blog up and running in the first place X)
Having restarted the server and accessing it using PuTTY, I couldn’t find anything on the server though. No files at all. Still, after the restart, my domain would at least feed me an error that I had configured myself - though I only vaguely remember doing so. So something should still exist somewhere…
DigitalOcean asked me to try and restart Ghost using a few commands, but the console/server told me that “ghost” was an unrecognized service… No wonder since the server didn’t seem to have anything on it.
Having read up on some old tutorials, I found a part on how to install Ghost on a server and since I kinda remember doing all that before, I decided to go for it again. So now I’ve got the blog up and running again but naturally, it’s an empty shell and for some reason I couldn’t even log back in without creating a new user! Also, the user interface isn’t what it used to be, but maybe that’s just because I’ve never updated Ghost for the past 2 years since I didn’t really know how to do it and didn’t wanna screw things up (why fix something if it ain’t broken, right?).
Wondering if there’s any way I could find out where all my old files went, or else I’m gonna have to copy-paste all of my updates back onto the blog (I’ve got them all saved as Word documents) ._.
Also, when I checked the error log as requested by DigitalOcean before I reinstalled Ghost, I got this message - which doesn’t tell me anything:
2015/10/31 20:49:24 [error] 22940#0: *83 connect() failed (111: Connection refused) while connecting to upstream, client: 126.96.36.199, server: conradargo.me_, request: “GET /robots.txt HTTP/1.1”, upstream: “http://127.0.0.1:2368/robots.txt”, host: “conradargo.me”
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.