Skip to content

Known issues

Rafał Warzycha edited this page Feb 20, 2017 · 2 revisions

Windows user notice

Please add your disk to Shared Drives in Docker - https://forums.docker.com/t/volume-mounts-in-windows-does-not-work/10693/9

Check line-endigs issue

check line-ending in those files init_shard.sh, setup.sh, setup_cnf.sh - the patch is prepared #4 or change them manually to LF, also global git config can mess this up - for example autocrlf=true

No primary detected for set cnf-serv

It's sometimes stuck on

'mongo-router | 2017-01-16T21:29:48.573+0000 W NETWORK [replSetDistLockPinger] No primary detected for set cnf-serv'. It's because quite random order in docker-compose.

My workaround was just to kill all containers related.

docker-compose -f docker-compose.1.yml -f docker-compose.2.yml  -f docker-compose.cnf.yml -f docker-compose.shard.yml rm -f
Clone this wiki locally