איך אני בכלל מתקין את Discourse?

I’ve been running nextcloud, vaultwarden, jellyfin etc in docker containers for years, but I cannot for the life of me figure out Dicourse.

The setup script gives me some error about not being able to connect on port 80 and 443. Probably because I’m setting it up on a new server which does not have those ports forwarded as I intend to use nginx proxy manager on my other server to reverse proxy to Discourse.

I’ve tried to write a compose file based on the variables in the files, but docker can’t find a manifest when I attempt to pull discourse/base.

I’ve tried the bitnami container but I end up with no admin account and the command bitnami says to use to setup one returns errors.

I have spent the past few days on this. Can someone please help?

sounds like a non-standard install.

please note:

3 לייקים

נראה כמו תגובה אוטומטית שמתעלמת לחלוטין מהבעיות שאני חווה בהתקנה הסטנדרטית.

2 לייקים

It was an accurate response, your setup is not standard and therefore not a standard install. Free support is generally targeted at the standard install because it then remains manageable for people to provide it (for free).

If looking for free support for a non-standard install I suggest being a bit nicer to those who provide it …

Anyway have a look at this, might help:

4 לייקים

כאמור בפוסט המקורי שלי, ההתקנה הסטנדרטית היא הדבר הראשון שניסה. זה מחזיר שגיאות.

כי שלך לא!

2 לייקים

המדריך שציינת במפורש אומר שהוא מניח שיש לי את Discourse פועל. שאין לי את זה. כמו כן, אני לא מנסה להפעיל אתרים אחרים על אותה מכונה כמו Discourse, אני מנסה להפעיל את Discourse על מכונה שנייה.

כן, אבל זה מטפל במקרה שיש לך NGINX מול המכולה… אז במובנים מסוימים זו מצב דומה.

אבל אני מפתח אפליקציות פשוט עם קצת ניסיון בהנדסת מערכת כחובב. מה שאתה באמת צריך זה מומחה בהנדסת מערכות.

אם מישהו לא מצטרף אוטומטית, שקול לפרסם ב#marketplace אם יש תקציב.

3 לייקים
3 לייקים

הבעיה היא שאני לא מצליח לעבור את בדיקת הפורט בסקריפט discourse-setup ואף אחת מהפקודות של ההַרצה לא עושה כלום. כבר ערכתי את הקבצים שהוזכרו במדריך שמקשר אליו merefield לפני שפרסמתי כאן, כפי שההודעת שגיאה ב-discorde-setup המליצה, אבל אני לא יודע מה לעשות משם.

הזכרת את Bitnami - למרבה הצער, אם אתה משתמש ב-Bitinami זה יהיה קשה לפתרון ללא עזרתם.

2 לייקים

אני מבקש עזרה עם דוקר הרשמי של דיסקורס.

אני לא מצליח להריץ בכלל את דוקר הדיסקורס הרשמי.
אני מצליח להריץ את זה של Bitnami ולגשת לאתר, אך לא הצלחתי להקים חשבון מנהל עם שלהם.

where in this setup are you having problems exactly?

please post any error messages, backtraces (use code blocks), and any system details that may help.

Are you able to clone the official discourse docker image?

לייק 1

sudo ./launcher rebuild app got it going. However, after filling in the details to sign up an admin account and go to the next page, I just get this. I haven’t received any confirmation email with either the smtp port set to 587 or 465

עליך לשנות את example.com עם שם הדומיין האמיתי שלך. הדומיין הזה הוא דומיין דוגמה באינטרנט, לא הדומיין של הפורום שלך בפועל.

האם הגדרת את שם הדומיין שלך ו-DNS עדיין?

2 לייקים

yeah, changing example.com back to the server ip shows me the correct confirmation email page.

I found a DNS record typo and a mistake I made in the yml file, so email should hopefully work when I wake up.

The output of the sudo ./launcher rebuild app command also gives me some clues on what to tinker with to further customize the setup. Hopefully I’ll have a Discourse setup I’m happy with by the weekend! :slight_smile:

3 לייקים

Sorry for butting in and not reading the whole thread but OP’s problem I had myself the first time I tried to setup Discourse. Port 80 and port 443 are not open because the app isn’t using them yet. The trick is to run skip-network-check or some such command (can’t remember and at work) and setup skips the port check and then goes forward with the setup. It is in the standard setup instructions but it is easy to miss

Sorry if someone else already got this

Thanks to Jay below command is

--skip-connection-test

Then you can’t use discourse-setup or you can run it with --skip-connection-test, but you’re on your own to make it work. You also need to comment out the ssl and https templates.

That won’t work.

You should first install it on a machine that doesn’t have anything else using ports 80 and 443 to see how it works. If you’re not going to do that then you need to understand how it works before you do anything.

2 לייקים

תיקנתי את הבעיה עם שרת הדואר האלקטרוני שלי והאפליקציות ה-Docker האחרות יכולות להשתמש בכתובת הדואר האלקטרוני שאני רוצה להשתמש בה עם discourse, אבל discourse עדיין נכשל שליחת דואר אלקטרוני.

אולי תבדוק את ספק שירות האימייל שלך? ייתכן שהוא מריץ את ההודעה ברשימת ההודעות שהוחזרו.