Hello there,
so I got this error
Error response from daemon: driver failed programming external connectivity on endpoint app (2cf9494e875c2910beaf80edc21a16c997aba51b23504f26bd58e381b167f45f): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
Error: failed to start containers: app
Does anyone know how to fix this?
Falco
(Falco)
23 בפברואר, 2020, 6:40pm
2
Are you trying to install Discourse in a server which is already used for other apps?
Discourse binds to default web ports, so I recommend using a brand new server for Discourse.
3 לייקים
What do you mean with brand new server?
Remah
(Just another happy Discourse user)
23 בפברואר, 2020, 6:41pm
4
You could search for that error which is that the port is already being used.
So you’re not following the official install method discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub
And you probably need this topic:
@pfaffman edited this heavily 2022.02.24. Blame me if it’s broken.
If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container.
NOTE: This is for advanced admins
This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working.
You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will …
I did follow the official instal method
Is there anyway to change the ports? If so, how and to what should I change it?
It sais the page is invalid or private
Remah
(Just another happy Discourse user)
23 בפברואר, 2020, 6:47pm
8
I grabbed this link from google: running other websites on the same machine as discourse:
@pfaffman edited this heavily 2022.02.24. Blame me if it’s broken.
If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container.
NOTE: This is for advanced admins
This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working.
You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will …
Devano_on_Crack:
I also get this arror
I noticed the whole ssl folder is empty, how can I fix that?
Also something else came with it
nginx: [warn] the “ssl” directive is deprecated, use the “listen … ssl” directive instead in /etc/nginx/sites-enabled/discourse.conf:12
Falco
(Falco)
23 בפברואר, 2020, 7:15pm
12
If your server has the ports blocked it will not be able to create certificates too.
Is this a Digital Ocean droplet? I recommend creating a new one running Ubuntu 18.04.
I don’t have Digital Ocean installed
pfaffman
(Jay Pfaffman)
24 בפברואר, 2020, 1:25pm
14
Where is this server?
The recommendation is to wipe the os with a clean installation and make sure that you have no web servers (apache or nginx) installed.
danb35
(Dan)
24 בפברואר, 2020, 1:56pm
15
If you had followed that method, you wouldn’t have gotten that error. Where is your server (or VPS), and which OS (and version) do you have installed? What else have you installed on that server?
3 לייקים