أتلقى الخطأ التالي عند محاولة إعادة البناء. رأيت موضوعًا مشابهًا هنا وأزلت بعض الإضافات ولكن ذلك لم يحل المشكلة
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake assets:precompile:build' failed with return #<Process::Status: pid 666 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"build", "hook"=>"assets_precompile_build", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile:build'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
4490985a65ce2bcadfb9a4dbf82c674b9fd999dc32d42cc9e7c3c265f73c9c6c
لقد واجهت هذه المشكلة، ففي بعض الأحيان لا تكون المشكلة هي أن ذاكرة الوصول العشوائي (RAM) صغيرة جدًا، بل يجب أن تكون ناتجة عن عدم تخصيص ذاكرة الوصول العشوائي يدويًا لـ Docker، قبل استعادة نسخة احتياطية من موقعك، يجب عليك أولاً تنفيذ الأمر ./discourse-setup، وبعد ذلك سيقوم تلقائيًا بتخصيص الذاكرة لـ Docker، وبعد ذلك يمكنك الضغط على Ctrl + C لإنهاء الأمر، وتحميل النسخة الاحتياطية لـ app.yml، ثم تنفيذ ./launcher rebuild app.