Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Redis::CommandError – MISCONF Redis is configured to save RDB snapshots

I recently ran into a problem I hadn’t encountered before on my Mac. I was getting an error from Redis:

MISCONF Redis is configured to save Rdb Snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

The fix is simple. From a terminal window, enter the Redis CLI. From a terminal window type:

redis-cli

Use the command:

config set stop-writes-on-bgsave-error no

You should get an OK response, then type exit to get out of the reds-cli.

Try again where you received the error and everything should be working as expected.

The post Redis::CommandError – MISCONF Redis is configured to save RDB snapshots appeared first on Accidental Technologist.



This post first appeared on Accidental Technologist - Musings About Entreprene, please read the originial post: here

Share the post

Redis::CommandError – MISCONF Redis is configured to save RDB snapshots

×

Subscribe to Accidental Technologist - Musings About Entreprene

Get updates delivered right to your inbox!

Thank you for your subscription

×