Redisgraph: Appendonly disabled redisgraph module

Created on 17 May 2021  路  3Comments  路  Source: RedisGraph/RedisGraph

i am using redisgraph for a while now.i want to add AOF persistency. the appendonly command disables redisgraph module. redisinsight will also tell u that.
if be removed command will work correctly.
this works
docker run -p 6379:6379 --volume=D:\docker\data:/data --name redisg -it --rm redislabs/redisgraph:edge
but in this one graph is off
docker run -p 6379:6379 --volume=D:\docker\data:/data --name redisg -it --rm redislabs/redisgraph:edge --appendonly yes

help wanted

All 3 comments

Hi @mdazartash,

This is a Docker CMD/ENTRYPOINT issue - your appendonly directive causes the module to not get loaded because it overwrite the default command. You can resolve this by adding the load directive explicitly:

 docker run -p 6379:6379 --volume=D:\docker\data:/data --name redisg -it --rm redislabs/redisgraph:edge --appendonly yes --loadmodule src/redisgraph.so

@mdazartash

For redisgraph container, this one does it:

docker run -p 6379:6379 --volume=D:\docker\data:/data --name redisg -it --rm redislabs/redisgraph:edge --appendonly yes --loadmodule /usr/lib/redis/modules/redisgraph.so

Thank u guys, it worked.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sceat picture Sceat  路  5Comments

Sceat picture Sceat  路  6Comments

mdecuir picture mdecuir  路  12Comments

WitchsCat picture WitchsCat  路  10Comments

K-Jo picture K-Jo  路  9Comments