Hi,
Please https://forum.netdivo.com is not opening
How can I know what is wrong?
The server is running and I have restarted it several times.
Hi,
Please https://forum.netdivo.com is not opening
How can I know what is wrong?
The server is running and I have restarted it several times.
Your Ping goes to request timed out.
This can be due to a firewall preventing connections to your server or discourse not running.
Can you ssh into your server and do
cd /var/discourse
docker ps
It will give you an output to verify if your discourse container is actually running or not.
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/r
un/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/json: dial unix /va
r/run/docker.sock: connect: permission denied
Pls, how do I resolve this?
Are You performing this as root? If not then try
sudo docker ps
If it still reports the same issue then Your docker is probably not running. You’ll need to find out how docker was installed to restart it.
Discourse isn’t running try this:
cd /var/discourse
./launcher start app
this returned :
starting up existing container
- /usr/bin/docker start app
Error response from daemon: driver failed programming external connectivity on endpoint ap
p (9076151599bb0371571888de949fc4c3e747160792902ea5c483536fabaf99cc): Error starting userl
and proxy: listen tcp 0.0.0.0:80: bind: address already in use
Error: failed to start containers: app
docker info :
/var/discourse# docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 9
Server Version: 18.09.2
Please run
netstat -alpn | grep 80
And share your output
Ps: You need to update docker
see output :
/var/discourse# netstat -alpn | grep 80
tcp6 0 0 :::80 :::* LISTEN 911/apache2
tcp6 0 0 172.26.13.42:80 213.95.35.221:25030 SYN_RECV -
tcp6 0 0 172.26.13.42:80 213.95.35.221:27615 SYN_RECV -
tcp6 0 0 172.26.13.42:80 213.95.35.221:6406 SYN_RECV -
tcp6 0 0 172.26.13.42:80 213.95.35.221:48296 SYN_RECV -
unix 2 [ ACC ] STREAM LISTENING 19680 816/dockerd /var/run/do
cker/metrics.sock
unix 3 [ ] STREAM CONNECTED 17604 809/systemd-logind
unix 2 [ ] DGRAM 18293 809/systemd-logind
unix 2 [ ] DGRAM 18283 806/rsyslogd
unix 3 [ ] STREAM CONNECTED 18299 809/systemd-logind
unix 3 [ ] STREAM CONNECTED 18099 816/dockerd
You have apache2 running on Your server, it needs to be stopped and uninstalled before you could start discourse docker.
Try
service apache2 stop
apt purge apache* -y
cd /var/discourse
./launcher start app
Append sudo to the command e.g.:
sudo -i
service apache2 stop
apt purge apache* -y
cd /var/discourse
./launcher start app
Wow! It works. Site back online!
Thanks so much!