KevinWorkman reported failing to bootstrap a new Discourse instance on a 1 GB Digital Ocean droplet, encountering an out-of-memory error after 45 minutes despite following a Digital Ocean tutorial for Ubuntu 14.04. Steven identified the root cause, suggesting the lack of swap space and insufficient memory were killing the bootstrap process. kuyashi advised switching to the official Discourse Docker installation guide, noting the Digital Ocean article was outdated. Following this recommendation, KevinWorkman confirmed that the official guide resolved the issue successfully. kuyashi added that the confusion likely stemmed from the Digital Ocean article being written in 2014.
I get to the ./launcher bootstrap app part, and it goes off for about 45 minutes (even though the guide says it should only take 8 minutes), and it comes back with an error:
I was originally trying this with the default setup on Digital Ocean of Ubuntu 16.041 x64, but then I noticed that the guide uses Ubuntu 14.04 x64. So I destroyed my droplet and started a new one, but I get the same exact behavior.
In both cases I’m choosing the 1 GB droplet option, which has worked for me in the past. I’ve checked and rechecked and triple-checked my app.yml file, and everything seems to be correct.
Has anybody else encountered this error? Has something changed since the publishing of the guide I’m following?
Ack, following the official Discourse setup guide did indeed work! Now I feel like a bit of an idiot, but maybe this’ll help somebody in the future who stumbles across the (faulty?) setup guide on Digital Ocean.