kuzzleio / kuzzle

Open-source Back-end, self-hostable & ready to use - Real-time, storage, advanced search - Web, Apps, Mobile, IoT -
https://kuzzle.io
Apache License 2.0
1.43k stars 123 forks source link

Error: EACCES listen broker.sock #621

Closed benoitvidis closed 7 years ago

benoitvidis commented 7 years ago

If kuzzle configuration includes a relative socket path and that pm2 cwd is not configured to the home of kuzzle, we get this error is pm2 cwd does not contain a writeable run folder.

We need to make sure relative path are handled from kuzzle root dir.

Cooker-Monster commented 7 years ago

Kuzzle on Mac Os (El capitan) shows the same "Error: connect EACCES ./run/broker.sock" I can't figure out what going wrong (Kuzzle user newbie status !). Context: Linux installation kind without Docker (Redis & Elasticsearch pre installed). Thx !

benoitvidis commented 7 years ago

@Cooker-Monster : Do you use pm2 to manage Kuzzle? If so, do you have a cwd attribute in your configuration file, and if you have, does it point to your kuzzle root directory?

Cooker-Monster commented 7 years ago

I used pm2 and cwd was blank ... I gave up, I have switched to Docker realm ... don't have this message anymore and Kuzzle seems running well. I must dig in API, another topic by now ...