重启配置 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.

《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 2

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

6年前 评论

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

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

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