【发布时间】:2023-03-16 06:52:01
【问题描述】:
今天我收到了 Heroku 的一封电子邮件,宣布他们为 PHP 开发了新的 buildpack。 从那时起,当我对我的 Laravel 4 应用程序进行新部署时,我收到了这个错误:
应用程序错误应用程序发生错误,无法提供您的页面。请稍后重试。如果您是应用程序所有者,请查看您的日志以了解详细信息。
我什至用干净的代码制作了一个新应用程序,但我遇到了同样的错误。 git 部署显示没有错误。
这是我来自 Papertrail 的日志:
pr 29 21:04:07 shielded-ocean-5349 heroku/web.1:状态从 从 4 月 29 日 21:04:08 开始崩溃 shielded-ocean-5349 heroku/web.1: 使用命令
sh www/conf/web-boot.sh4 月 29 日启动进程 21:04:08 shielded-ocean-5349 heroku/web.1: 进程以状态退出 2 Apr 29 21:04:13 shielded-ocean-5349 app/web.1: sed: 无法读取 /app/apache/conf/httpd.conf:没有这样的文件或目录 4 月 29 日 21:04:13 shielded-ocean-5349 app/web.1:触摸:无法触摸/app/apache/logs/access_log': No such file or directory Apr 29 21:04:13 shielded-ocean-5349 app/web.1: exec: 25: /app/apache/bin/httpd: not found Apr 29 21:04:13 shielded-ocean-5349 app/web.1: www/conf/web-boot.sh: 16: cannot create /app/apache/conf/httpd.conf: Directory nonexistent Apr 29 21:04:13 shielded-ocean-5349 app/web.1: www/conf/web-boot.sh: 16: cannot create /app/apache/conf/httpd.conf: Directory nonexistent Apr 29 21:04:13 shielded-ocean-5349 app/web.1: www/conf/web-boot.sh: 16: cannot create /app/apache/conf/httpd.conf: Directory nonexistent Apr 29 21:04:13 shielded-ocean-5349 app/web.1: www/conf/web-boot.sh: 17: cannot create /app/apache/conf/httpd.conf: Directory nonexistent Apr 29 21:04:13 shielded-ocean-5349 app/web.1: touch: cannot touch/app/apache/logs/error_log': 没有这样的文件或目录
欢迎任何帮助。
【问题讨论】:
标签: heroku deployment laravel buildpack