1GB ram Discourse setup / swap file error


(dimu) #1

Hi ,

I am trying to install discourse on vultr sever with 1 gb Ram, but I can not do final setup ( ./discourse-setup )
getting error 2gb swap file needed.

help!!


(Bas van Leeuwen) #2

How much swap do you have?
Can you increase it?


(dimu) #3

currently 1GB ram = 1GB swap , is it possible to increase more swap > 1gb


(Bas van Leeuwen) #4

I would suggest you increase swap to 2GB or more


(dimu) #5

OK , will check …


(dimu) #6

It worked. …


(Bas van Leeuwen) #7

Great! :slight_smile:

fyi: the debug message that you showed kind of hinted to this as well; Discourse needs to move some stuff around during setup and it needs at least >2GB of memory (but part of that can be in swap) to make that happen.