أحاول تثبيت إضافة Discourse Math. إنها أول إضافة أقوم بتثبيتها. يعمل Discourse على آلة افتراضية متواضعة جدًا تحت GCP.
لقد قمت بتعديل ملف app.yml على النحو التالي:
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/discourse/discourse-math.git
بعد تشغيل . /launcher rebuild app، ظهرت الرسالة أدناه من خادمي الافتراضي، مشيرة إلى مشكلة في الذاكرة، ولا تزال الإضافة غير ظاهرة في إعدادات Discourse، مما يوحي بأنها لم تُثبّت. هل تعني الرسالة أدناه أنه بسبب نقص الذاكرة، لم يحدث أي شيء فعليًا؟ أنا مندهش من أن 5 جيجابايت لا تكفي لتحميل الإضافة. هل هناك طريقة للتحقق من حدوث التحميل؟ أم أن المشكلة تكمن في ملف app.yml الذي لم أقم بتعديله بشكل صحيح؟
root@discourse-gcp1:/var/discourse# ./launcher rebuild app
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
2.0.20200512-1735: Pulling from discourse/base
Digest: sha256:7f6c5be23a8e4237cecafaca9d041de5964f8237345b7b183cebdee1f73ed024
Status: Downloaded newer image for discourse/base:2.0.20200512-1735
docker.io/discourse/base:2.0.20200512-1735
You have less than 5GB of free space on the disk where /var/lib/docker is located. You will need more space to cont
inue
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.6G 5.3G 4.4G 55% /
Would you like to attempt to recover space by cleaning docker images and containers in the system?(y/N)y
If the cleanup was successful, you may try again now
root@discourse-gcp1:/var/discourse#