504 Gateway Time-out - Reddit installation on Ubuntu 14.04
A few months ago I set up a 0.5gb droplet to get a small project of mine online. This was based off Reddit’s open source software, and installed by simply running a script on Ubuntu 14.04 (https://github.com/reddit/reddit/wiki/reddit-install-script-for-Ubuntu). I had to give it a 4gb swap and increase swappiness to 90, but it worked. Now I’m trying the same (and with a 1gb droplet this time), but all I get is 504 gateway time-out errors. Absolutely nothing else. The favicon loads, but that’s it. The script said the installation was a success (and it works when I ran it on a VM), all of Reddit’s dependencies seem to be working, but I keep getting 504 errors (for 2 days now).
I have a 4gb swap with 90 swappiness, and this is just frustrating given that it worked a few months ago but won’t now. Before running the script, I also installed apache2 and made sure that worked, but sadly that’s all that did. Is there anything else I can do (other than trying a 2gb+ droplet)?
My droplet’s ip: 184.108.40.206
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.