adflkjlvm
(Juan Sanchez)
7 مايو 2025، 10:06م
1
أواجه الآن فشلاً في محاولة تحديث Discourse إلى أحدث إصدار. المسار للملف:
/etc/nginx/conf.d/outlets/server/20-https.conf
غير موجود على نسختي الافتراضية من Ubuntu 24.04. أو ربما يعني الخطأ أدناه أنه مفقود في تثبيت nginx في صورة docker. يبدو أن هناك مشكلة في pups-1.2.1.
أي مساعدة ستكون موضع تقدير. أنا لا أستخدم nginx على نظامي الرئيسي، حيث أنني أستخدم:
- "templates/web.socketed.template.yml"
كما هو مقترح في:
https://meta.discourse.org/t/installing-discourse-behind-reverse-proxy-using-recommended-supported-installation/300191
FAILED
--------------------
Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/nginx/conf.d/outlets/server/20-https.conf
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/replace_command.rb:11:in `read'
replace failed with the params {"filename"=>"/etc/nginx/conf.d/outlets/server/20-https.conf", "from"=>"/listen 443
ssl;(/
listen \x5B::\x5D:443 ssl;)?/", "to"=>"listen unix:/shared/nginx.https.sock ssl;\nset_real_ip_from unix:;"}
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.
e3176c7debb5ed1c106765e76f5896b83dac3bb21dd3478b2ac043cbcb8032e1
adflkjlvm
(Juan Sanchez)
7 مايو 2025، 10:54م
4
أعتقد أن هناك خطأ لأن:
- "templates/web.socketed.template.yml"
يريد:
10-http.conf
20-https.conf
لكن التعليمات تقول بتعليق المزودين:
#- "templates/web.ssl.template.yml"
#- "templates/web.letsencrypt.ssl.template.yml"
وإذا قمت بإلغاء التعليق عن الملف الأول مرة أخرى، فإن web.ssl.template.yml يحذف 10-http.conf
adflkjlvm
(Juan Sanchez)
7 مايو 2025، 11:33م
5
لزيادة تعقيد الوضع، عندما أحاول تجنب آخر commit:
7b042d6157
بفعل
git reset --hard HEAD^1
يقوم ./launcher rebuild app بعمل git pull.
pfaffman
(Jay Pfaffman)
7 مايو 2025، 11:38م
6
أعتقد أنه إذا قمت بتشغيل
./launcher bootstrap app
فلن يتم السحب. عند الانتهاء، يمكنك تدمير التطبيق وتشغيله. قد تحتاج إلى إيقاف التطبيق إذا كان قيد التشغيل الآن.
adflkjlvm
(Juan Sanchez)
8 مايو 2025، 12:18ص
8
تمكنت من تشغيل شيء ما عن طريق القيام بما يلي:
git reset --hard HEAD^1
git checkout -b mybranch
./launcher rebuild app
لذلك يبدو أن الالتزام 7b042d6157 يتسبب في مشاكل في إعداداتي.
MarkoK
(Marko)
8 مايو 2025، 4:27ص
9
أواجه نفس رسالة الخطأ هنا.
أستخدم أيضًا Discourse خلف وكيل عكسي.
تمكنت من إعادة تشغيله باستخدام:
git reset --hard HEAD^1
./launcher bootstrap app
./launcher start app
إعجابَين (2)
جئت إلى هنا بنفس المشكلة، وحاولت إعادة النشر لترقية وتثبيت إضافة. أستخدم Discourse خلف وكيل عكسي أيضًا.
إذًا، هل هذه مشكلة في Discourse؟
إعجاب واحد (1)
sam
(Sam Saffron)
9 مايو 2025، 2:34ص
12
يبدو أن هذا يتعلق بهذا الالتزام من قبل @nbianca ، سنضع علامة أولوية عالية على هذا، وسنبدأ العمل على إصلاح قريبًا جدًا.
committed 03:56PM - 07 May 25 UTC
This config has several 'include' statements that serve as extension
outlets. Mo… st of the "find & replace" instructions from templates
files have been replaced to use outlets.
This commit also deprecates IPv6 template in favor of an automatic
implementation that relies on container's connectivity.
4 إعجابات
tgxworld
(Alan Tan)
9 مايو 2025، 3:10ص
15
لقد تراجعنا عن التغييرات في الوقت الحالي بينما نعمل على إصلاح.
main ← revert_broken_changes
opened 02:51AM - 09 May 25 UTC
This reverts commit 7b042d6157555c886e1cdcf77e8cb67c56ff8333.
`web.socketed.t… emplate.yml` is broken
8 إعجابات
nbianca
(Bianca)
9 مايو 2025، 1:33م
16
شكراً على التقرير. لقد كنت أعمل على إصلاح وسيتم دمجه قريباً:
main ← nginx-outlets
opened 12:05PM - 09 May 25 UTC
This reapplies commit 3c2234830a71e7590a0eaa9b73da46fd2c09ea71 with a fix to kee… p outlet files instead of removing them so `replace` continues to work.
4 إعجابات