重启配置 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 前端工作流等。
《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
讨论数量: 2

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

5年前 评论

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

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

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