Exit with STRG+X and type Y then press enter to save the file.
Launch the setup.
Now answer some questions.
Hostname for your Discourse? [discourse.example.com]:forum.domain.tld Email address for admin account(s)? [email@example.com,firstname.lastname@example.org]:email@example.com SMTP server address? [smtp.example.com]:Plesk(Yeah write Plesk in the line) SMTP port? : 25(The Port from the Mailserver in Plesk is 25) SMTP user name? [firstname.lastname@example.org]:email@example.com SMTP password? [pa$$word]:password123 Let's Encrypt account email? (ENTER to skip) [firstname.lastname@example.org]:(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
It is very possible that a VPS provider has a Plesk or OS configuration that needs different configurations than mine to make Discourse work.
I’d be able to help you through the forum, but not via another way, and I’m also not available for work. But please, be aware that I’m not a Discourse expert, neither a Linux expert, and neither a Plesk expert.
If you want more help through the forum though, you need to provide more information:
Is Discourse installed?
Did you apply any kind of what is described in the very first topic? Because it is very possible that this information is outdated. As I said, I had to do almost nothing to have Discourse working.
What error message returns the forum when you open the URL? Can you share the URL if public?
Can you tell me what is the nginx/docker proxy information for your domain in Plesk?
Is your Discourse container running?
Please provide any additional information that you could find useful.
I understand that you struggle, as I struggled myself when I had to install Discourse on the very first time (and it was on Plesk too – an unsupported install).
Again, I’m willing to help you here as resulting information can help other people too, but please, for the sake of others (and yourself), you need to provide more information about what you actually did, what doesn’t work, if you have any error message etc… Check my previous message.
If you cannot follow these simple guidelines, nobody here will be able or even willing to help you.
Take your time to write your reply and be as precise as you can be.
(Coin-coin le Canapin)
Split this topic