Exit with STRG+X and type Y then press enter to save the file.
Launch the setup.
./discourse-setup
Now answer some questions.
Hostname for your Discourse? [discourse.example.com]:forum.domain.tld Email address for admin account(s)? [me@example.com,you@example.com]:mail@domain.tld SMTP server address? [smtp.example.com]:Plesk(Yeah write Plesk in the line) SMTP port? [587]: 25(The Port from the Mailserver in Plesk is 25) SMTP user name? [user@example.com]:mail@domain.tld SMTP password? [pa$$word]:password123 Let's Encrypt account email? (ENTER to skip) [me@example.com]:(to skip this press enter)
It takes a while, wait until you get back to the command line. The Docker container fails to start. It doesn’t matter. Now we change the app.yml to work with Plesk.
I now use Plesk Obsidian on Ubuntu 20 and the only setting I need to tweak to allow Discourse to work along other web applications is to add a proxy rule that redirects the port 80 to another (8060 in my case) - and of course, the redirections as well of the port 8060 → 80 and 9443 → 443 in app.yml.
Also, the SSL certificate is automatically renewed without any additional action.
It’s way simpler than before.
Those lines tell discourse to ignore your proxy servers address and report the address of the actual computer making the request.
The let’s encrypt issue, is because you need not to pass that request to discourse but to the let’s encrypt client that the reverse proxy is running. You could probably add some stuff to tell it to handle that /well-known request itself. Perhaps you’re friends W can help figure that out
Unfortunately I’m not receiving the email to activate.
When I use all email settings on Outlook it’s functional but when I use the same settings I don’t receive anything.
I did exactly what you wrote but there aren’t even mail data in logs.
Es ist sehr gut möglich, dass ein VPS-Anbieter eine Plesk- oder OS-Konfiguration hat, die andere Konfigurationen als meine benötigt, um Discourse zum Laufen zu bringen.
Ich könnte Ihnen über das Forum helfen, aber nicht auf andere Weise, und ich stehe auch nicht für bezahlte Arbeit zur Verfügung. Aber bitte beachten Sie, dass ich weder ein Discourse-Experte noch ein Linux-Experte oder ein Plesk-Experte bin.
Wenn Sie weitere Hilfe über das Forum wünschen, müssen Sie mehr Informationen angeben:
Ist Discourse installiert?
Haben Sie irgendetwas von dem angewendet, was im allerersten Thema beschrieben wird? Denn es ist sehr gut möglich, dass diese Informationen veraltet sind. Wie gesagt, ich musste fast nichts tun, um Discourse zum Laufen zu bringen.
Welche Fehlermeldung gibt das Forum zurück, wenn Sie die URL öffnen? Können Sie die URL teilen, wenn sie öffentlich ist?
Können Sie mir die Nginx/Docker-Proxy-Informationen für Ihre Domain in Plesk mitteilen?
Läuft Ihr Discourse-Container?
Bitte geben Sie alle zusätzlichen Informationen an, die Sie für nützlich halten.
Ich verstehe, dass Sie Schwierigkeiten haben, so wie ich, als ich Discourse zum ersten Mal installieren musste (und das war auch auf Plesk – eine nicht unterstützte Installation).
Ich bin gerne bereit, Ihnen hier zu helfen, da die daraus resultierenden Informationen auch anderen Menschen helfen können, aber bitte, um anderer (und Ihrer selbst) willen, müssen Sie mehr Informationen darüber geben, was Sie tatsächlich getan haben, was nicht funktioniert, ob Sie Fehlermeldungen haben usw. … Überprüfen Sie meine vorherige Nachricht.
Wenn Sie diese einfachen Richtlinien nicht befolgen können, wird Ihnen niemand hier helfen können oder wollen.
Nehmen Sie sich Zeit, um Ihre Antwort zu schreiben, und seien Sie so präzise wie möglich.
3 „Gefällt mir“
Canapin
(Coin-coin le Canapin)
Hat dieses Thema aufgeteilt,
16