I've been trying to install Discourse on a FreeBSD VM without any success.
According to discourse installation guide the only supported platform is Docker, although it is possible to install it without Docker. Since I have to install two Discourse instance, going without Docker is not an option (Yes, I know there is jail but the discourse bundled web-based GUI for updating won't work without Docker which is a pain in the butt).
I followed this guide on FreeBSD wiki:
But, upon bootstraping Discourse:
I get the following error
I investigated the bootstrap script:
And, tried the following command on csh/bash prompt:
Which outputs the following:
I also checked if I have ca_root_nss installed, and it was there.
So, does anyone knows why
According to discourse installation guide the only supported platform is Docker, although it is possible to install it without Docker. Since I have to install two Discourse instance, going without Docker is not an option (Yes, I know there is jail but the discourse bundled web-based GUI for updating won't work without Docker which is a pain in the butt).
I followed this guide on FreeBSD wiki:
$ cd /usr/ports/sysutils/docker-freebsd
$ make config-recursive
$ make install clean
$ kldload zfs
$ dd if=/dev/zero of=/usr/local/dockerfs bs=1024K count=4000
$ zpool create -f zroot /usr/local/dockerfs
$ zfs list
$ zpool list
$ zfs create -o mountpoint=/usr/docker zroot/docker
$ service docker onestart
$ ps auxw | grep docker
But, upon bootstraping Discourse:
$ bash launcher bootstrap app
I get the following error
Code:
Cannot connect to the docker daemon - verify it is running and you have access
I investigated the bootstrap script:
Code:
# 1. docker daemon running?
# we send stderr to /dev/null cause we don't care about warnings,
# it usually complains about swap which does not matter
test=`$docker_path info 2> /dev/null`
if [[ $? -ne 0 ]] ; then
echo "Cannot connect to the docker daemon - verify it is running and you have access"
exit 1
fi
And, tried the following command on csh/bash prompt:
$ docker info
Which outputs the following:
Code:
Get http://%2Fvar%2Frun%2Fdocker.sock/v1.19/info: EOF. Are you trying to connect to a TLS-enabled daemon without TLS?
I also checked if I have ca_root_nss installed, and it was there.
So, does anyone knows why
docker info
fails?