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.
Qual è il tuo provider? Cosa mostra free -m --si
?
(In ogni caso, se hai abbastanza swap+RAM, il forum funzionerà. Se hai poca RAM, il forum potrebbe funzionare più lentamente e gli aggiornamenti potrebbero richiedere più tempo. 3G di swap+RAM sono sufficienti per un piccolo forum, ed è quello che uso.)
Grazie, penso che ciò giustifichi un aggiustamento da 990 a qualcosa di un po’ meno, forse 980. L’intenzione è sicuramente di supportare le offerte di materie prime con un nominale di 1G, e sebbene possa esserci un limite massimo, è molto più piccolo di così, quindi un piccolo aggiustamento verso il basso non metterebbe nessuno in pericolo.