[Solved] Redis MISCONF ERROR: Redis is configured to save RDB snapshots

Today I ran the Magento2 update command on a new server and found that Redis was having problems

Warning: 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.

Solution.

1. Execute: redis-cli, enter redis client;

2, then execute: config set stop-writes-on-bgsave-error no

OK

Similar Posts: