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

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
讨论数量: 2

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

5年前 评论

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

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

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