I'm trying to set up a local development environment and am getting stuck with database issues. Any help is appreciated.
Running OS X 10.11
Gotten through the setup instructions but when I run make run
I get the following:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
make: *** [start-docker] Error 255
When I try make clean-docker,
then make start-docker
, then make run-server
, I get this:
[2016/11/16 06:38:42 EST] [INFO] Server is initializing...
[2016/11/16 06:38:42 EST] [INFO] Pinging sql master database
[MySQL] 2016/11/16 06:38:42 packets.go:32: EOF
[2016/11/16 06:38:42 EST] [CRIT] Failed to ping db err:driver: bad connection
exit status 102
docker ps
:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2066b033613e mattermost/webrtc:latest "/bin/sh -c /opt/janu" 12 minutes ago Up 11 minutes 0.0.0.0:7088-7089->7088-7089/tcp, 0.0.0.0:8188-8189->8188-8189/tcp mattermost-webrtc
3c46780a03ef osixia/openldap:1.1.6 "/container/tool/run" 15 minutes ago Up 15 minutes 0.0.0.0:389->389/tcp, 0.0.0.0:636->636/tcp mattermost-openldap
295feb9e3957 postgres:9.4 "/docker-entrypoint.s" 15 minutes ago Up 15 minutes 0.0.0.0:5432->5432/tcp mattermost-postgres
9bc309abd2a2 mysql:5.7 "docker-entrypoint.sh" 16 minutes ago Up 15 minutes 0.0.0.0:3306->3306/tcp mattermost-mysql
Any ideas?