How to connect my wordpress site to discourse forum

Hello support team,

We’re interested in discourse forum software and want to know more about it.

  1. We use WordPress websites as well on windows and linux.
    Can you tell us more about the possibilities of using/integrating discourse forum software with or in combination with wordpress websites and including one login mechanism?
    How to connect my wordpress site to discourse forum?
  2. Is there a difference between ‘discourse-master.zip’ file on “discourse.org” and wp-discourse plugin?
  3. After unzip the file, how to install it (because I don’t see an install file)?
  4. If there are more specific things I should know about our situation (wordpress websites) I would like to know about them.

With regards,
mesan00

1 Like

You might also want to learn more about how searches work. See WP Discourse plugin installation and setup for starters.

2 Likes

Hello,

Thanks at lot!

with regards,

1 Like

Hello Jay,

while installing discourse on a linux server I get this errors at the end:

DISCOURSE_SMTP_PASSWORD left at incorrect default of pa$$word
Sorry, these containers/app.yml settings aren't valid -- can't continue!
If you have unusual requirements, edit containers/app.yml and then:
./launcher bootstrap app

[root@owsoel14401 discourse]# ./launcher bootstrap app
ERROR: Docker version 1.13.1 not supported, please upgrade to at least 17.03.1, or recommended 17.06.2

We use docker 1.13.1, is this a problem for the installation?

With regards,
mesan00

That seems pretty self explanatory. You must configure smtp.

It’s hard to say from that message, but my guess is that you should upgrade to 17. 06.02. I think 17.03.01 should work.

2 Likes

Hello Jay,

Thanks for your response. I didn’t know that the version of docker was one of the requirements.
I upgrade docker to 19.03.13, but while installing I get this errormessages about docker.io and netstat:

 [root@owsoel14401 discourse]# ./discourse-setup
**which: no docker.io in (/opt/rh/rh-git218/root/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin)**
**which: no docker.io in (/opt/rh/rh-git218/root/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin)**
**./discourse-setup: line 282: netstat: command not found**
**./discourse-setup: line 282: netstat: command not found**

Ports 80 and 443 are free for use
‘samples/standalone.yml’ -> ‘containers/app.yml’
Found 3GB of memory and 4 physical CPU cores
setting db_shared_buffers = 768MB
setting UNICORN_WORKERS = 8
containers/app.yml memory parameters updated.

Can you tell me what I should do before I continue the installation?

With regards,

Ghislain Mesaka

You’ll need to install netstat or configure by hand.

Are you using a recent Ubuntu?

apt install netstat

Should do it, I think. If not, you can Google to see how to install it.

If you can run docker then those docker.io messages don’t matter.

1 Like

Hi Jay,

We are trying to install discourse first on our testing machine which does not have an internet connectie.
On this machine we put discourse and docker packages.
While installing I see that discourse is trying to get a connection with https://registry-1.docker.io/v2/.

See below:

*Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)*
*Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)*
*Unable to find image 'discourse/base:2.0.20201004-2310' locally*
*docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).*

The url https://registry-1.docker.io/v2/ gives me this msg: {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

Can I download the package from https://registry-1.docker.io/v2/ and put them directly on my testing machine, so I don’t need an internet connection?

Second question: On the community I read this:

You can install discourse on a computer that has an internet connection and transfer the docker image to the disconnected computer. That’s not really a supported install, and some things require connectivity. Maybe Google “transfer docker image” or something like that.

Can you tell me what things require connectivity?

With regards,

Ghislain Mesaka

1 Like

Hey Ghislain. Sorry but configuring a Discourse instance that cannot connect to the internet is beyond the scope of what I can support here for free. If you have a budget, you can contact me or post in #marketplace.

Perhaps someone else can help you.

My suggestion would be to configure a test server somewhere that can connect to the internet.

2 Likes

Dear Jay,

Thanks again for your reaction.
I understand your point.
I would like to explain our situation.
Within our company our choice has gone to 2 forum-applications.
One of them is “Discourse Forum”.
At this point our goal is to investigate whether the application meets all our acceptance criteria.
That is the reason we want to install the application on our test environment first, which environnment
doesn’t have a internet connection.

However, according to our policy, our development, testing and acceptance environment do not have an internet connection, except our production environment.
Of course we would like to pay for your services.
What we want is the following:

  • Test Environment:
    In the context of investigating whether the application meets our criteria, we would like to install
    discourse on our test environment first without internetconnection.
    • Are there options to do this?
    • Is it possible to get a docker-image from you so we don’t need an internet connection during the
      installation?
  • Production environment:
    For security risks, it is not desirable for us that the installation of Discourse makes a connection with
    the outside world, through an internet connection. Our policy does not allow that.
    • Do you have options for this special case for us for an offline installation in our production
      environment, including packages, security fixes for later? I suppose there are companies that want
      the same too.

If you think It should be possible for both the test and production environment, in the context as explained above, we would like to use your services againt payment, of which we would like to know the fees.

With regards,
Ghislain Mesaka