简体   繁体   English

AWS ElasticBeanstalk“找不到要执行的文件”

[英]AWS ElasticBeanstalk “no files found to execute”

I am still new to this, so please pardon the inexperience. 我对此还很陌生,所以请原谅。

I am currently developing a website with a coder using python and flask, and it needs to be placed into elastic beanstalk. 我目前正在使用python和flask开发带有编码器的网站,并且需要将其放入弹性beantalk中。

The website was developed offline, and we are trying to upload it to EB. 该网站是离线开发的,我们正在尝试将其上传到EB。 We have followed the instructions on the AWS support, and have been able to get the "Hello World!" 我们已经按照AWS支持的说明进行操作,并且能够获得“ Hello World!”。 sample site working. 样本站点工作。 However, upon reading the logs, it shows that, at the bottom, "No files found to execute" 但是,在读取日志后,它显示在底部“没有找到要执行的文件”

When we upload our website, it shows the same error in the logs, but instead of showing the website, it would show Internal 500 error. 当我们上传网站时,它会在日志中显示相同的错误,但是如果不显示网站,它将显示Internal 500错误。

Any advice is appreciated! 任何建议表示赞赏!

An internal 500 error can be caused by many reasons. 内部500错误可能是由多种原因引起的。 The "No files found to execute" issue seems interesting...Could you link to your log file? “找不到要执行的文件”问题似乎很有趣...您可以链接到日志文件吗? Or, more specifically, just show the /var/log/httpd/error_log section of your log file. 或者,更具体地说,仅显示日志文件的/ var / log / httpd / error_log部分。 This is usually very helpful to diagnosing things that go wrong after a successful deployment. 这通常对于成功部署后的故障诊断很有帮助。 Sorry I can't give a definitive answer yet - 500 is very generic! 抱歉,我无法给出确切的答案-500非常通用!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM