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

《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
讨论数量: 2

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

7年前 评论

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

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

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