- Newest
- Most votes
- Most comments
You need to check the contents of "eb-engine.log" as described in the log.
Please refer to the following document to check the logs.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.logging.html
eb-engine.log: 2023/04/06 15:02:26.715112 [ERROR] An error occurred during execution of command [app-deploy] - [CheckProcfileForJavaApplication]. Stop running the command. Error: there is no Procfile and no .jar file at root level of your source bundle
2023/04/06 15:02:26.715115 [INFO] Executing cleanup logic 2023/04/06 15:02:26.715182 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1680793346715,"severity":"ERROR"}]}]}
Relevant content
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 6 days ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 19 days ago
eb-engine.log2023/04/06 15:02:26.715112 [ERROR] An error occurred during execution of command [app-deploy] - [CheckProcfileForJavaApplication]. Stop running the command. Error: there is no Procfile and no .jar file at root level of your source bundle
2023/04/06 15:02:26.715115 [INFO] Executing cleanup logic 2023/04/06 15:02:26.715182 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1680793346715,"severity":"ERROR"}]}]}
can you tell mehow to fix it?
can you tell me how to fix it?
It is possible that the folder is not zipped properly.
Zip the files and subfolders, not the parent folder, as described in the following documentation.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-sourcebundle.html#using-features.deployment.source.gui