eventstore-docker icon indicating copy to clipboard operation
eventstore-docker copied to clipboard

Can't run projections

Open drozzy opened this issue 9 years ago • 2 comments

My eventstore is not actually running projections.

I am starting it with:

docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 -e EVENTSTORE_RUN_PROJECTIONS=all eventstore/eventstore

I also tried capital All. But my projections still do not actually "run". I know this because my Recently Created Streams is empty in the UI, as well as my projection's last position and checkpoint are both $ce-bee: -1.

When I run a standalone (non-docker) version with the following command, everything works as expected:

sh run-node.sh --run-projections=all --start-standard-projections

P.S.: Start --start-standard-projections is also not available in docker it seems, but I'm not sure if that has anything to do with it.

drozzy avatar Jan 24 '17 23:01 drozzy

Ok... this works:

docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 -e EVENTSTORE_RUN_PROJECTIONS=all -e EVENTSTORE_START_STANDARD_PROJECTIONS eventstore/eventstore

But here http://docs.geteventstore.com/server/3.5.0/command-line-arguments/ it says that "standard projections" is for development only.. yet without this argument, my projections don't run.

I'm a bit confused here. I guess I'll leave that in for now.

drozzy avatar Jan 24 '17 23:01 drozzy

The documentation was incorrect and was fixed in the following PR: https://github.com/EventStore/docs.geteventstore.com/pull/214.

pgermishuys avatar Jan 25 '17 08:01 pgermishuys