بعد محاولة فاشلة في إضافة مكون إضافي، رجعت إلى النسخة الاحتياطية. حاولت إعادة التشغيل، لكنني أواجه هذا الخطأ. رجاءً قدم لي حلاً.

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'yarn install --frozen-loc && yarn cache clean' failed with return #<Process::Status: pid 312 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_co.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ \"$version \"tests-passed\" ]; then\n  rm -rf app/assets/javascripts/node_modules\nfi", "su dise -c 'yarn config set network-timeout 60000 -g'", "su discourse -c 'yarn install --n-lockfile && yarn cache clean'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, ther be more than one.
./discourse-doctor may help diagnose the problem.
8364a2746508ebbe07b1d54773e6e25d7b98f529021d6272d5cf92cda68e1d8c
إعجاب واحد (1)

It’s not clear from what you included.

What version of docker do you have? What OS are you running?

إعجاب واحد (1)

As the lower lines in your clip. You need to scroll up in the log. There is likely error(s) that will help to identify the cause.

As Jay mentioned additional details are helpful. Like are you running Stable or Tests-passed. OS version and server specs can be helpful

إعجاب واحد (1)

Sorry for the confusion. I’m new to it. We have self-hosted a site with the discourse codebase.
Error (if it helps):


I, [2025-02-10T05:18:31.699440 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
error discourse@: The engine "yarn" is incompatible with this module. Expected version "please-use-pnpm". Got "1.22.22"
warning discourse@: The engine "pnpm" appears to be invalid.
error Found incompatible module.
I, [2025-02-10T05:18:31.982174 #1]  INFO -- : yarn install v1.22.22
info No lockfile found.

Docker version: 26.1.3

OS:
NAME=“Rocky Linux”
VERSION=“8.10 (Green Obsidian)”