重启配置 Homestead 的时候报错?

homestead-7: createdb: could not connect to database template1: could not connect to server: No such file or directory
homestead-7: Is the server running locally and accepting
homestead-7: connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 2

请问你处理好了吗?我也遇到相同的问题了

6年前 评论

遇到了同样的错误,我的原因是:Homestead 管理脚本Homestead Box 虚拟机盒子 版本不一致。

  • lc-homestead-12.0.0 需要 v13.2.1 分支的管理脚本
  • lc-homestead-11.0.0 需要 v7.8.0 分支的管理脚本
3年前 评论

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