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.
أعتقد أنه تم خفض الحد بالفعل قليلاً، لأن بعض المزودين يقدمون أقل بقليل من 1 جيجابايت عندما تحصل على جهاز بسعة 1 جيجابايت اسمية. (ربما انظر خطأ فادح عند محاولة تشغيل Docker (Oracle VM))
ما هو مزودك؟ ماذا يُظهر الأمر free -m --si
؟
(في أي حال، إذا كان لديك مساحة مبادلة + ذاكرة وصول عشوائي كافية، فستعمل المنتديات. إذا كان لديك ذاكرة وصول عشوائي قليلة جدًا، فقد تعمل المنتديات بشكل أبطأ وقد تستغرق الترقيات وقتًا أطول. 3 جيجابايت من مساحة المبادلة + ذاكرة الوصول العشوائي كافية لمنتديات صغيرة، وهي ما أستخدمه.)
شكرًا - أعتقد أن هذا يبرر تعديلًا من 990 إلى شيء أقل قليلاً - ربما 980. الهدف بالتأكيد هو دعم عروض السلع بـ 1G اسمي، وعلى الرغم من أنه قد يكون هناك حد أقصى صارم، إلا أنه أصغر بكثير من ذلك، لذا فإن تعديلًا صغيرًا للأسفل لن يعرض أحدًا للخطر.