Redis 报错了

{
    "message": "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.",
    "status_code": 500,
    "debug": {
        "line": 370,
        "file": "/var/www/loans/vendor/predis/predis/src/Client.php",
        "class": "Predis\\Response\\ServerException",

docker-compose exec redis bash

OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "chdir to cwd (\"/data\") set in config.json failed: no such file or directory": unknown
相信时间和变化
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 3
liyu001989

重新启动试试,可能内存不够之类的,看看日志 或者 https://my.oschina.net/esdn/blog/1489079

5年前 评论

@liyu001989docker-compose exec redis bash 试图进入命令行,结果报错了:

OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "chdir to cwd (\"/data\") set in config.json failed: no such file or directory": unknown
5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!