prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

Cannot start local data cluster

Open PhilipBridges opened this issue 8 years ago • 9 comments

After using "prisma local start", I get this error:

The Compose file ! '...\prisma-cli-core\dist\commands\local\docker\docker-compose.yml' ! is invalid because: ! services.prisma-database.ports is invalid: Invalid port "0.0.0.0:local:local", should be ! [[remote_ip:]remote_port[-remote_port]:]port[/protocol]

And it doesn't seem to matter what I change it to.

PhilipBridges avatar Feb 20 '18 12:02 PhilipBridges

try updating the images from prisma local upgrade

zifahm avatar Feb 20 '18 12:02 zifahm

Same error. Even tried on a clean boilerplate.

PhilipBridges avatar Feb 20 '18 15:02 PhilipBridges

@fonzied Could you share your .env and ~/.prisma/config.yml files maybe? (even if dev version; remove the secret(s) before :smile:)

akoenig avatar Feb 21 '18 21:02 akoenig

So I fixed the problem by using someone else's docker-compose file that is configured differently, now it just infinitely loops at "Booting local development cluster..." :/

PhilipBridges avatar Feb 22 '18 15:02 PhilipBridges

I get stuck at this step too, Just loops forever. DEBUG="*" offers no useful information as it just outputs the commands.

I have noticed the networks get created though.

fatjoeluke avatar Feb 23 '18 09:02 fatjoeluke

Hey everyone, can you share your prisma version and docker ps? 🙂

marktani avatar Feb 24 '18 19:02 marktani

@marktani #2013 appears to be the issue that i was facing. Looked like a hanging process but really the connection speed was making it take longer than expected.

fatjoeluke avatar Mar 06 '18 12:03 fatjoeluke

It seems all problems were resolved :slightly_smiling_face:

For anyone still running into this problem, you might need to also upgrade your docker-compose version.

marktani avatar Mar 23 '18 16:03 marktani

I stuck in this problem as well. And my docker osx software is fresh installed.
docker-compose version 1.20.1, build 5d8c71b

wuzhuzhu avatar Mar 28 '18 12:03 wuzhuzhu