I’ve been trying to install Discourse, but without success so far.
I have a VPS with 1 GB ram and a 2gb swap file. Whenever I run ./discourse-setup I get the following error. (I’ve done a few clean installs on this VPS and also tried with 5b and 10gb swap files)
As you can see in the screenshots there’s enough space free in the swap file.
I’ve searched the forums but all I get is either “the setup should make ask to make a swap file itself” or “you can make a swap file and then run the installation again”
You have less than 1000mb of ram. The message is correct. You can either get more ram, edit discourse-setup to skip the test, or create a yml file by hand.
I believe the limit was already moved down just a little, because some providers provide just a little less than 1G when you get a machine with a nominal 1G. (Perhaps see Fatal error when trying to start Docker (Oracle VM))
What’s your provider? What does free -m --si
show?
(In any case, if you have enough swap+RAM then the forum will function. If you have too little RAM the forum may run slower and upgrades may take longer. 3G of swap+RAM is enough for a small forum, and it’s what I use.)
Thanks - I think that justifies an adjustment from 990 to something a little less - perhaps 980. The intention is surely to support commodity offerings with a nominal 1G, and although there might be a hard limit, it’s much smaller than that, so a small adjustment downward would put no-one in jeopardy.