مرحباً يا رفاق.
لقد قمت بالتحديث إلى أحدث إصدار - أعتقد ذلك - والآن أحصل على “عفوًا” سيئة السمعة
الشيء الوحيد - بينما أنا هاوٍ - الذي تمكنت من العثور عليه، معتقدًا أنه قد يكون مهمًا، هو:
عاجل: فشل في تهيئة افتراضي الموقع: ActiveRecord::StatementInvalid PG::UndefinedTable: خطأ: العلاقة "flags" غير موجودة
السطر 10: WHERE a.attrelid = '"flags"'::regclass
ما ورد أعلاه هو من unicorn.stderr.log
بالنسبة لمبرمج/مطور، ربما يقول هذا شيئًا ما - هل سيكون من الممكن “إصلاح” تثبيتي هذا؟
كل الأفكار المشتركة محل تقدير كبير! شكرًا.
إذا حاولت إعادة البناء، هل ما زال هذا يحدث؟
عند محاولة التمهيد - تم إزالة الحاوية في صندوق البناء - ولكن لا ينبغي أن يختلف ذلك عن “إعادة البناء” - الإصدار/الإصدار الأصلي/القديم الآن، يفشل دائمًا مع:
I, [2025-07-05T03:22:21.183304 #1] INFO -- : cd /var/www/discourse & su discourse -c 'yarn install --frozen-lockfile & yarn cache clean'
error discourse@: The engine "node" is incompatible with this module. Expected version ">= 20". Got "18.17.1"
error discourse@: The engine "yarn" is incompatible with this module. Expected version "please-use-pnpm". Got "1.22.19"
warning discourse@: The engine "pnpm" appears to be invalid.
error Found incompatible module.
I, [2025-07-05T03:22:21.330613 #1] INFO -- : yarn install v1.22.19
info No lockfile found.
[1/5] Validating package.json...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'yarn install --frozen-lockfile & yarn cache clean' failed with return #<Process::Status: pid 206 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["if [ \"$version\" != \"tests-passed\" ]; then\n rm -rf app/assets/javascripts/node_modules\nfi", "su discourse -c 'yarn install --frozen-lockfile & yarn cache clean'"]}
bootstrap failed with exit code 1
كان هذا هو السبب في أنني حصلت على إصدار جديد تم تمهيده وهذا الإصدار الأحدث وحصلت على هذه المشكلة.
بالمناسبة هل من الممكن الحصول على إصدار/إصدار محدد باستخدام git و| launcher؟
إعجاب واحد (1)