Laravel 错误 503 服务不可用服务

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/48514228/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 17:18:54  来源:igfitidea点击:

Laravel Error 503 Service Unavailable Service

phplaravelservercpanel

提问by Nasser Ali Karimi

Error 503 Service Unavailable Service Unavailable

错误 503 服务不可用 服务不可用

Guru Meditation: XID: 5312211

上师冥想:XID:5312211

Varnish cache server

优化缓存服务器

I working on cpanel and subdomain but i got this error from laravel project. do you can help me to solve this? I using cpanel and laravel 5.5

我在 cpanel 和子域上工作,但是我从 laravel 项目中得到了这个错误。你能帮我解决这个问题吗?我使用 cpanel 和 laravel 5.5

回答by SW_IR

Looks like you ran the artisan down command, but not the up command. Just run:

看起来您运行了 artisan down 命令,但没有运行 up 命令。赶紧跑:

php artisan up

and than you will get:

然后你会得到:

"Application is now live."

“应用程序现已上线。”

回答by Saurabh Mistry

if have tried php artisan upcommand and your site still not up and gives 503 then ,

如果尝试过php artisan up命令并且您的站点仍未启动并给出 503,则

delete downfile inside /storage/framework/

删除下来的文件中/存储/框架/

enter image description here

在此处输入图片说明

回答by Sinan Eldem

If you get "Laravel Error 503 Service Unavailable Service" but there is no info in log file, check filesystem status. You may have filled up disk space. Check what's filling it:

如果您收到“Laravel 错误 503 服务不可用服务”但日志文件中没有信息,请检查文件系统状态。您可能已经填满了磁盘空间。检查什么填充它:

cd / && sudo du -h --max-depth=1 -x

回答by Mcfaith

503 Service Unavailable The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state

503 Service Unavailable 服务器当前不可用(过载或停机维护)。一般来说,这是一个临时状态