قال ترقية واجهة المستخدم إنني بحاجة إلى إجراء ترقية لسطر الأوامر، لذا أحاول التمهيد، ولكنه يفشل. لقد حاولت التعليق على جميع الإضافات باستثناء docker_manager في حال كانت هناك مشكلة بها، ولكن لم يتغير شيء. هذه هي نهاية الرسائل، أي أفكار؟
I, [2022-02-20T00:22:02.802120 #1] INFO -- : cd /var/www/discourse & [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production & yarn cache clean'
I, [2022-02-20T00:22:02.833608 #1] INFO -- :
I, [2022-02-20T00:22:02.835084 #1] INFO -- : cd /var/www/discourse & su discourse -c 'bundle exec rake plugin:pull_compatible_all'
WARNING: Plugins were activated before running `rake plugin:pull_compatible_all`
You should prefix this command with LOAD_PLUGINS=0
I, [2022-02-20T00:22:17.738184 #1] INFO -- : docker_manager is already at latest compatible version
I, [2022-02-20T00:22:17.739383 #1] INFO -- : cd /var/www/discourse & su discourse -c 'bundle exec rake db:migrate'
I, [2022-02-20T00:22:32.881239 #1] INFO -- :
I, [2022-02-20T00:22:32.882131 #1] INFO -- : cd /var/www/discourse & su discourse -c 'bundle exec rake themes:update assets:precompile'
sh: 1: yarn: not found
I, [2022-02-20T00:22:42.298037 #1] INFO -- : Checking 'Hamburger Theme Selector' for 'default'... up to date
Checking 'discourse-category-banners' for 'default'... up to date
Checking 'Hamburger links component' for 'default'...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 5174 exit 127>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
20aaf3f585012c6c3468f5a0f408f8546bc0a13db1da166771719e0197b4dab6
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
تم تثبيته في الأصل باستخدام discourse-setup ما لم يكن عقلي يتلاشى، نعم. ثم تم تقسيمه إلى حاويات منفصلة للبيانات والويب فقط باتباع التعليمات الموجودة هنا. كما أن لديه الآن وكيل nginx أمامه. لقد نجح في الإقلاع في الماضي على الرغم من ذلك.
$ free -mh
total used free shared buff/cache available
Mem: 3.8Gi 1.8Gi 790Mi 278Mi 1.2Gi 1.4Gi
Swap: 2.0Gi 436Mi 1.6Gi
حسنًا، يجب أن أتجنب القيام بهذه الأشياء عندما أكون متعبًا بعض الشيء، لأن ذلك يؤدي إلى القيام بأشياء غبية تمامًا. مثل تفويت git pull تمامًا والنسيان التام لذلك بغض النظر عن عدد المرات التي تنظر فيها !
تساءلت لفترة وجيزة عما إذا كان هناك شيء غريب في مكون السمة alt-logo المهمل (الذي قمت بتشعبته قبل الالتزام بالحد الأقصى للإصدار، حيث لا يزال يتعين علي استخدامه)، ولكن لحسن الحظ لم يكن كذلك.