錯誤提示:php
local.ERROR: exception 'Predis\Response\ServerException' with message 'MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.' in /data/wwwroot/xxxx.com/xxx/vendor/predis/predis/src/Client.php:370
redis
錯誤翻譯:異常'Predis\Response\ServerException'帶有消息'MISCONF Redis '被配置爲保存RDB快照,但目前沒法在磁盤上持久保存。可能修改數據集的命令將被禁用。請查看Redis日誌瞭解錯誤的詳細信息翻譯
解決方案: 127.0.0.1:6379> config set stop-writes-on-bgsave-error no
日誌
原理:關閉配置項stop-writes-on-bgsave-error解決該問題code