مناقشة حول راسبيري باي | مدونة

طلب ميزة طال انتظاره من مجتمعنا أصبح متاحًا أخيرًا! اعتبارًا من اليوم، يمكنك استضافة نسخة كاملة من Discourse على Raspberry Pi بسعر 35 دولارًا. يمكنك المتابعة واتباع دليل التثبيت الرسمي الخاص بنا، وسيعمل مباشرةً على أي طراز حديث من Raspberry Pi.


هذا موضوع مناقشة مصاحب للمدخل الأصلي على https://blog.discourse.org/2021/12/2021-12-07-discourse-on-a-raspberry-pi/
54 إعجابًا

مرة أخرى، يتمتع Discourse بتأثير كبير حقًا على الصناعة!

16 إعجابًا

هذا رائع.
أعتقد أنه يجدر بالذكر أن Oracle Cloud تقدم مجانًا دائمًا 4 نوى Ampere A1 تعتمد على ARM و 24 جيجابايت من ذاكرة الوصول العشوائي يمكن استخدامها في ما يصل إلى 4 أجهزة افتراضية.

17 إعجابًا

هذه ذريعة رائعة لي للحصول على جهاز Raspberry Pi آخر :tada:

18 إعجابًا

رائع! :heart_eyes:
لطالما أردت إنشاء شبكة محلية لجيراني مع نسخة طبق الأصل من منتدانا عليها، لاستخدامها في الاتصالات في حالات الطوارئ عند انقطاع التيار الكهربائي. سيكون من الممتع محاولة تشغيل هذا الآن!

12 إعجابًا

هذا رائع.
لقد ذكرته لـ جيف جيرلينج.
ربما سنحصل على فيديو على YouTube حول إنشاء موقع Discourse على مجموعة Raspberry Pi.

9 إعجابات

هل تعتقد أن شخصًا عاديًا يمكنه تثبيت Discourse باتباع التعليمات بعناية، أم سيحتاج المرء إلى أن يكون مطورًا لفهم المصطلحات؟

3 إعجابات

هذا رائع!

ماذا عن فرق الأداء بين استخدام RPi4 مع بطاقة SD أو SSD؟ هل بطاقة SD كافية؟

وجدت هذا: Install Discourse on a residential internet with Cloudflare Tunnel

السؤال الأخير: هل تستخدم نظام تشغيل 64 بت أم 32 بت مع RPi4؟ Ubuntu Server 20.04.3 LTS 64 بت لـ Raspberry Pi 4؟

4 إعجابات

طالما أن قاعدة البيانات صغيرة، فلا ينبغي أن يكون هناك فرق. إذا كانت قاعدة بياناتك أكبر من ذاكرة الوصول العشوائي للجهاز Pi، فقد يكون ذلك مؤشرًا على التغيير إلى شيء أكثر قوة قليلاً :sweat_smile:

إصدار Raspbian arm64 من Index of /raspios_lite_arm64/images/raspios_lite_arm64-2021-11-08

4 إعجابات

للأسف، فشل…

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean' failed with return #<Process::Status: pid 3539 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["[ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'"]}
53e9103763b3963785452f314d9c0023f280ebe76d33a1271a6439d23e8c8ad9
** 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.
إعجاب واحد (1)

هل يمكنك

الرجاء التمرير للأعلى والبحث عن رسائل خطأ سابقة، قد يكون هناك أكثر من رسالة.

؟

إعجاب واحد (1)
I, [2022-01-24T00:30:34.893970 #1]  INFO -- : cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'
warning Resolution field "lodash@4.17.21" is incompatible with requested version "lodash@4.17.15"
2022-01-24 00:31:15.883 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:31:26.025 UTC [3596] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:31:55.876 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:06.068 UTC [3606] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:15.830 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:26.023 UTC [3617] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:40.294 UTC [3621] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:55.848 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:33:06.000 UTC [3627] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:33:20.766 UTC [3628] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:33:55.862 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:06.039 UTC [3634] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:22.558 UTC [3635] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:35.852 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:46.031 UTC [3637] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:55.859 UTC [59] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:35:06.036 UTC [3638] LOG:  using stale statistics instead of current ones because stats collector is not responding
error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz: ESOCKETTIMEDOUT".
I, [2022-01-24T00:35:14.127245 #1]  INFO -- : yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info If you think this is a bug, please open a bug report with the information provided in "/var/www/discourse/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I, [2022-01-24T00:35:14.128342 #1]  INFO -- : Terminating async processes
I, [2022-01-24T00:35:14.128463 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 52
I, [2022-01-24T00:35:14.128549 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 113
2022-01-24 00:35:14.128 UTC [52] LOG:  received fast shutdown request
113:signal-handler (1642984514) Received SIGTERM scheduling shutdown...
113:M 24 Jan 2022 00:35:14.221 # User requested shutdown...
113:M 24 Jan 2022 00:35:14.221 * Saving the final RDB snapshot before exiting.
I, [2022-01-24T00:35:24.131678 #1]  INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid:52 did not terminate cleanly, forcing termination!
I, [2022-01-24T00:35:24.132139 #1]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid:113 did not terminate cleanly, forcing termination!
إعجاب واحد (1)

وهناك ها هو:

اتصالك غير مستقر للغاية لبناء Discourse. لقد قمت بإعادة البناء على جهاز Pi4 السلكي الخاص بي دون مشكلة، لذا قد ترغب في التحقق من شبكتك.

4 إعجابات

موقعك الإلكتروني معطل.


أيضًا، إذا كان صحيحًا، عيد ميلاد سعيد :tada:

5 إعجابات

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

شكرًا!

6 إعجابات

مرحباً @Falco، شكراً لمشاركتك هذه المعلومة الرائعة.
لقد قمت بتشغيل أول منتدى خاص بي!!! بفضلك!!!
هل يمكنني الوصول إلى المنتدى باستخدام عنوان IP المحلي للجهاز؟ عندما يكون اسم مضيف Discourse الخاص بي مضبوطاً بالفعل على نطاق (حصلت عليه من freenom).
عندما حاولت الوصول إلى المنتدى باستخدام عنوان IP الخاص بالجهاز، ظلت الصفحة عالقة في التحميل ولم تتمكن من التحميل أبداً.
لدي حالة استخدام حيث يكون جهاز العميل الخاص بي متصلاً بشبكة VPN ولا يمكنه الوصول إلى الإنترنت. الطريقة الوحيدة التي يمكنني من خلالها الوصول إلى المنتدى هي عبر عنوان IP الخاص بالشبكة المحلية.

إعجابَين (2)

قد تجد هذه المناقشة مفيدة. أنت تطلب الدعم في تثبيت غير قياسي للغاية:

إعجابَين (2)

شكرا @merefield.
أجد أنه عند استخدام curl على عنوان IP المحلي للخادم، فإنه يعيد الصفحة ولكن ليس باستخدام المتصفح.
هل الأمر يتعلق بإعدادات المتصفح؟

تحتاج إلى الوصول إلى التطبيق عبر اسم النطاق لعدة أسباب. الوصول عبر عنوان IP غير مدعوم على حد علمي.

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

تم، شكراً على التأكيد.

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