rennokki / laravel-aws-eb

Ready-to-deploy configuration to run Laravel on AWS Elastic Beanstalk.
482 stars 130 forks source link

Error on deployment - post-autoload-dump event returned with error code 254 #41

Closed SergejSi closed 3 years ago

SergejSi commented 3 years ago

Hey,

when I'm trying to deploy my app, i get the following error:

Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Thu Dec  3 20:52:56 2020 (12547): Fatal Error Insufficient shared memory!
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 254

2020/12/03 20:52:56.916040 [INFO] Executing cleanup logic
2020/12/03 20:52:56.927649 [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 to install Composer dependencies specified in 'composer.json' in your source bundle. The deployment failed.","timestamp":1607028776,"severity":"ERROR"},{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1607028776,"severity":"ERROR"}]}]}

Do anyone know, how to solve it?

dhrumil4u360 commented 3 years ago

It looks like memory issue. Please check out eb-engine.log file for more accurate information. If it's composer memory issue, this should help :

https://stackoverflow.com/questions/36107400/composer-update-memory-limit

rennokki commented 3 years ago

Make the following change: https://github.com/rennokki/laravel-aws-eb/commit/ae5274cf4b7f9a14bfcd98d446c4fc3c9c78e6fa

SergejSi commented 3 years ago

I'm still get the error. Maybe I'm overlooking something.

Below my 100 Last log lines. Thanks for your help

`---------------------------------------- /var/log/nginx/access.log

172.31.21.130 - - [04/Dec/2020:08:08:54 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:08:57 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:09:09 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:09:12 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:09:24 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:09:27 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:09:39 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:09:42 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:09:54 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:09:57 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:10:09 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:10:12 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:10:24 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:10:27 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:10:39 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:10:42 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:10:54 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:10:57 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:11:09 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:11:12 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:11:24 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:11:27 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:11:39 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:11:42 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:11:54 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:11:57 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:12:09 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:12:12 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:12:24 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:12:27 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:12:39 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:12:42 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:12:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:12:57 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:13:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:13:12 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:13:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:13:27 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:13:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:13:42 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:13:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:13:57 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:14:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:14:12 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:14:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:14:27 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:14:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:14:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:14:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:14:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:15:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:15:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:15:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:15:28 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:15:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:15:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:15:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:15:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:16:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:16:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:16:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:16:28 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:16:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:16:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:16:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:16:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:17:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:17:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:17:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:17:28 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:17:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:17:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:17:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:17:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:18:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:18:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:18:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:18:28 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:18:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:18:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:18:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:18:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:19:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:19:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:19:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:19:28 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:19:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:19:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:19:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:19:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:20:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:20:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:20:25 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:20:28 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:20:40 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:20:43 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:20:55 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:20:58 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.21.130 - - [04/Dec/2020:08:21:10 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-" 172.31.8.114 - - [04/Dec/2020:08:21:13 +0000] "GET / HTTP/1.1" 200 24832 "-" "ELB-HealthChecker/2.0" "-"


/var/log/nginx/error.log


/var/log/eb-engine.log

2020/12/04 08:18:22.434173 [INFO] Executing cleanup logic 2020/12/04 08:18:22.434295 [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 to install Composer dependencies specified in 'composer.json' in your source bundle. The deployment failed.","timestamp":1607069902,"severity":"ERROR"},{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1607069902,"severity":"ERROR"}]}]}

2020/12/04 08:18:22.434493 [INFO] Platform Engine finished execution on command: app-deploy

2020/12/04 08:20:35.801256 [INFO] Starting... 2020/12/04 08:20:35.801306 [INFO] Starting EBPlatform-PlatformEngine 2020/12/04 08:20:35.801336 [INFO] reading event message file 2020/12/04 08:20:35.802054 [INFO] no eb envtier info file found, skip loading env tier info. 2020/12/04 08:20:35.802138 [INFO] Engine received EB command cfn-hup-exec

2020/12/04 08:20:35.899861 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:xxxxx:stack/awseb-e-fs2g2sbbhj-stack/1b4c5370-3607-11eb-8d01-069c86174f12 -r AWSEBAutoScalingGroup --region eu-central-1 2020/12/04 08:20:36.271773 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:xxxxx:stack/awseb-e-fs2g2sbbhj-stack/1b4c5370-3607-11eb-8d01-069c86174f12 -r AWSEBBeanstalkMetadata --region eu-central-1 2020/12/04 08:20:36.622191 [INFO] checking whether command bundle-log is applicable to this instance... 2020/12/04 08:20:36.622204 [INFO] this command is applicable to the instance, thus instance should execute command 2020/12/04 08:20:36.622209 [INFO] Engine command: (bundle-log)

2020/12/04 08:20:36.623096 [INFO] Executing instruction: GetBundleLogs 2020/12/04 08:20:36.623102 [INFO] Bundle Logs... 2020/12/04 08:20:36.749429 [INFO] Executing cleanup logic 2020/12/04 08:20:36.749540 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1607070036,"severity":"INFO"}]}]}

2020/12/04 08:20:36.749599 [INFO] Platform Engine finished execution on command: bundle-log

2020/12/04 08:21:20.207205 [INFO] Starting... 2020/12/04 08:21:20.207256 [INFO] Starting EBPlatform-PlatformEngine 2020/12/04 08:21:20.207271 [INFO] reading event message file 2020/12/04 08:21:20.207411 [INFO] no eb envtier info file found, skip loading env tier info. 2020/12/04 08:21:20.207474 [INFO] Engine received EB command cfn-hup-exec

2020/12/04 08:21:20.274023 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:xxx:stack/awseb-e-fs2g2sbbhj-stack/1b4c5370-3607-11eb-8d01-069c86174f12 -r AWSEBAutoScalingGroup --region eu-central-1 2020/12/04 08:21:20.628704 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:xxxxx:stack/awseb-e-fs2g2sbbhj-stack/1b4c5370-3607-11eb-8d01-069c86174f12 -r AWSEBBeanstalkMetadata --region eu-central-1 2020/12/04 08:21:20.930838 [INFO] checking whether command tail-log is applicable to this instance... 2020/12/04 08:21:20.930852 [INFO] this command is applicable to the instance, thus instance should execute command 2020/12/04 08:21:20.930856 [INFO] Engine command: (tail-log)

2020/12/04 08:21:20.930903 [INFO] Executing instruction: GetTailLogs 2020/12/04 08:21:20.930908 [INFO] Tail Logs... 2020/12/04 08:21:20.932559 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log 2020/12/04 08:21:20.935977 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log 2020/12/04 08:21:20.937497 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log


/var/log/eb-hooks.log

Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:nodejs-12.20.0-1nodesource.x86_64 1/1 Verifying : 2:nodejs-12.20.0-1nodesource.x86_64 1/1

Installed: nodejs.x86_64 2:12.20.0-1nodesource

Complete!

2020/12/04 08:17:47.333050 [INFO] Running command .platform/hooks/prebuild/install_memcached_discovery.sh 2020/12/04 08:17:47.340083 [INFO] Running command .platform/hooks/prebuild/install_supervisor.sh 2020/12/04 08:17:55.455964 [INFO] 0 ansible2 available \ [ =2.4.2 =2.4.6 =2.8 =stable ] 2 httpdmodules available [ =1.0 =stable ] 3 memcached1.5 available \ [ =1.5.1 =1.5.16 =1.5.17 ] 5 postgresql9.6 available \ [ =9.6.6 =9.6.8 =stable ] 6 postgresql10 available [ =10 =stable ] 8 redis4.0 available \ [ =4.0.5 =4.0.10 =stable ] 9 R3.4 available [ =3.4.3 =stable ] 10 rust1 available \ [ =1.22.1 =1.26.0 =1.26.1 =1.27.2 =1.31.0 =1.38.0 =stable ] 11 vim available [ =8.0 =stable ] php7.2 available \ [ =7.2.0 =7.2.4 =7.2.5 =7.2.8 =7.2.11 =7.2.13 =7.2.14 =7.2.16 =7.2.17 =7.2.19 =7.2.21 =7.2.22 =7.2.23 =7.2.24 =7.2.26 =stable ] _ lamp-mariadb10.2-php7.2 available \ [ =10.2.10_7.2.0 =10.2.10_7.2.4 =10.2.10_7.2.5 =10.2.10_7.2.8 =10.2.10_7.2.11 =10.2.10_7.2.13 =10.2.10_7.2.14 =10.2.10_7.2.16 =10.2.10_7.2.17 =10.2.10_7.2.19 =10.2.10_7.2.22 =10.2.10_7.2.23 =10.2.10_7.2.24 =stable ] 18 libreoffice available \ [ =5.0.6.2_15 =5.3.6.1 =stable ] 19 gimp available [ =2.8.22 ] 20 docker=latest enabled \ [ =17.12.1 =18.03.1 =18.06.1 =18.09.9 =stable ] 21 mate-desktop1.x available \ [ =1.19.0 =1.20.0 =stable ] 22 GraphicsMagick1.3 available \ [ =1.3.29 =1.3.32 =1.3.34 =stable ] 23 tomcat8.5 available \ [ =8.5.31 =8.5.32 =8.5.38 =8.5.40 =8.5.42 =8.5.50 =stable ] 24 epel=latest enabled [ =7.11 =stable ] 25 testing available [ =1.0 =stable ] 26 ecs available [ =stable ] 27 corretto8 available \ [ =1.8.0_192 =1.8.0_202 =1.8.0_212 =1.8.0_222 =1.8.0_232 =1.8.0242 =stable ] 28 firecracker available [ =0.11 =stable ] 29 golang1.11 available \ [ =1.11.3 =1.11.11 =1.11.13 =stable ] 30 squid4 available [ =4 =stable ] php7.3 available \ [ =7.3.2 =7.3.3 =7.3.4 =7.3.6 =7.3.8 =7.3.9 =7.3.10 =7.3.11 =7.3.13 =stable ] 32 lustre2.10 available \ [ =2.10.5 =2.10.8 =stable ] 33 java-openjdk11 available [ =11 =stable ] 34 lynis available [ =stable ] 35 kernel-ng available [ =stable ] 36 BCC available [ =0.x =stable ] 37 mono available [ =5.x =stable ] 38 nginx1=latest enabled [ =stable ] 39 ruby2.6 available [ =2.6 =stable ] 40 mock available [ =stable ] 41 postgresql11 available [ =11 =stable ] 42 php7.4=latest enabled [ =stable ] 43 livepatch available [ =stable ] 44 python3.8 available [ =stable ] 45 haproxy2 available [ =stable ] 46 collectd available [ =stable ] 47 aws-nitro-enclaves-cli available [ =stable ] 48 R4 available [ =stable ]

Now you can install:

yum clean metadata

yum install epel-release

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 221 packages excluded due to repository priority protections Package epel-release-7-11.noarch already installed and latest version Nothing to do Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 221 packages excluded due to repository priority protections No packages marked for update Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 221 packages excluded due to repository priority protections Package supervisor-3.4.0-1.el7.noarch already installed and latest version Nothing to do No config updates to processes

2020/12/04 08:17:55.456004 [INFO] Running command .platform/hooks/prebuild/update_composer.sh

`

rennokki commented 3 years ago

It's an obvious issue with the composer self-update command within the platform shell scripts.

Are you using any t3/t3a burstable instances?

SergejSi commented 3 years ago

I'm currently using the t2.small instances

rennokki commented 3 years ago

I'll look into it.

dhrumil4u360 commented 3 years ago

@SergejSi Please SSH to your EC2 instance and go to /var/app/staging . There you will find failed build files. Run php artisan package:discover command there. Hopefully that should reveal you what exactly gone wrong.

rennokki commented 3 years ago

It's because of the composer self-update that eats a lot of memory for some kind of reason.

rennokki commented 3 years ago

@SergejSi It seems like it's related to the platform. I initially ran on Amazon Linux 2 3.1.3 then downgraded to Amazon Linux 2 3.1.0 (This is the platform name: PHP 7.4 running on 64bit Amazon Linux 2/3.1.0, replace 7.4 with 7.2 i guess)

Downgrade to 3.1.0 until I investigate further options.

SergejSi commented 3 years ago

After

  1. Rebuild the Application
    • Disable the composer self-update script
    • change the composer command to command: "COMPOSER_MEMORY_LIMIT=-1 php /usr/bin/composer.phar install --no-dev --no-interaction --prefer-dist --optimize-autoloader"
  2. Comment out the cache clear script

It seems to work, but i currently have to rebuild the app every time i deploy the app. Further more the permission "make_folders_writable" seems to do nothing. I still get the permission denied error, after the app is deployed, for each error that written to the log.txt

rennokki commented 3 years ago

Is your app stateless (you don't mind losing the instance between updates) ?

SergejSi commented 3 years ago

yes, the app is stateless

rennokki commented 3 years ago

Then you can set the update policy to Rolling With Additional Batch and on each deploy there will be new EC2 instances that will be deployed and they seem to be tolerant on the memory since on spin-up they got more memory available for you to work with. This also ensures that your app serves the traffic while the new application version is deploying, making it longer to deploy, but no downtime is involved, even if the deployment fails at some point.

Regarding the permissions fix, this commit changed the bash script name from make_folders_writable.sh to x_make_folders_writable.sh (https://github.com/rennokki/laravel-aws-eb/commit/5824e6d4efa053a869cf2b0ff4f3af78f1e6cbaa), making sure it runs after run_caches.sh that messed up the entire structure permissions.

SergejSi commented 3 years ago

@rennokki, thanks a lot for your support! After implementation of the above mentioned steps, the deployment still fails. In the laravel.log i found the horizon error:

[2020-12-04 15:34:08] production.ERROR: Command "horizon" is not defined. {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"horizon\" is not d$
[stacktrace]
#0 /var/app/current/vendor/symfony/console/Application.php(254): Symfony\\Component\\Console\\Application->find('horizon')
#1 /var/app/current/vendor/symfony/console/Application.php(166): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Consol$
#2 /var/app/current/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symf$
#3 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfo$
#4 /var/app/current/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#5 {main}
"}
[2020-12-04 15:34:10] production.ERROR: Command "horizon" is not defined. {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"horizon\" is not d$

Last 100 Lines

----------------------------------------
/var/log/nginx/access.log
----------------------------------------
172.31.3.89 - - [06/Dec/2020:11:27:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:27:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:27:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:27:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:27:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:27:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:27:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:27:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:27:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:27:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:27:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:28:01 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:28:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:28:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:28:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:28:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:28:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:28:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:28:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:28:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:28:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:28:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:28:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:29:01 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:29:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:29:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:29:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:29:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:29:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:29:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:29:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:29:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:29:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:29:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:29:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:30:02 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:30:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:30:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:30:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:30:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:30:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:30:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:30:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:30:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:30:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:30:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:30:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:31:01 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:31:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:31:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:31:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:31:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:31:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:31:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:31:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:31:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:31:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:31:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:31:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:32:01 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:32:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:32:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:32:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:32:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:32:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:32:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:32:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:32:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:32:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:32:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:32:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:33:01 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:33:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:33:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:33:16 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:33:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:33:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:33:31 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:33:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:33:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:33:39 +0000] "GET / HTTP/1.1" 200 75919 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36" "89.247.254.94"
172.31.33.87 - - [06/Dec/2020:11:33:46 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:33:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:33:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:34:02 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:34:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:34:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:34:17 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:34:19 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:34:22 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:34:32 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:34:34 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:34:37 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:34:47 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:34:49 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:34:52 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:35:02 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.3.89 - - [06/Dec/2020:11:35:04 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.16.178 - - [06/Dec/2020:11:35:07 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.87 - - [06/Dec/2020:11:35:17 +0000] "GET / HTTP/1.1" 200 75781 "-" "ELB-HealthChecker/2.0" "-"

----------------------------------------
/var/log/nginx/error.log
----------------------------------------
2020/12/05 16:16:34 [warn] 5232#0: *25637 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/00/0000000002 while reading upstream, client: 172.31.33.87, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 17:00:04 [warn] 5232#0: *27044 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/00/0000000003 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 18:11:21 [error] 5232#0: *28391 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /TP/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 18:11:22 [error] 5232#0: *28391 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /TP/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 18:11:22 [error] 5232#0: *28396 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /thinkphp/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 18:11:24 [error] 5232#0: *28396 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 18:11:24 [error] 5232#0: *28396 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 18:11:26 [error] 5232#0: *28396 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /TP/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 18:11:26 [error] 5232#0: *28396 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /elrekt.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 19:00:04 [warn] 5232#0: *29190 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/00/0000000004 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 19:16:41 [warn] 5232#0: *29456 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/00/0000000005 while reading upstream, client: 172.31.33.87, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/05 20:00:07 [warn] 5232#0: *30161 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/00/0000000006 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 21:00:10 [warn] 5232#0: *31122 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/00/0000000007 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 21:40:04 [warn] 5232#0: *31773 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/00/0000000008 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 21:44:04 [warn] 5232#0: *31837 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/00/0000000009 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 21:49:04 [warn] 5232#0: *31917 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/01/0000000010 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 21:57:05 [warn] 5232#0: *32050 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/01/0000000011 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 22:47:52 [warn] 5232#0: *32867 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/01/0000000012 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 23:00:08 [warn] 5232#0: *33067 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/01/0000000013 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 23:45:03 [warn] 5232#0: *33785 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/01/0000000014 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/05 23:49:55 [warn] 5232#0: *33863 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/01/0000000015 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 00:00:04 [warn] 5232#0: *34027 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/01/0000000016 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 00:25:12 [warn] 5232#0: *34431 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/01/0000000017 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 00:52:43 [warn] 5232#0: *34871 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/01/0000000018 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 01:00:07 [warn] 5232#0: *34989 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/01/0000000019 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 01:15:06 [warn] 5232#0: *35234 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/02/0000000020 while reading upstream, client: 172.31.33.87, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 01:28:53 [warn] 5232#0: *35456 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/02/0000000021 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 01:32:39 [warn] 5232#0: *35518 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/02/0000000022 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "awseb-awseb-o28vybsiyrt5-1416018310.eu-central-1.elb.amazonaws.com"
2020/12/06 02:00:02 [warn] 5232#0: *35958 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/02/0000000023 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 02:00:10 [warn] 5232#0: *35960 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/02/0000000024 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 02:49:58 [warn] 5232#0: *36767 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/02/0000000025 while reading upstream, client: 172.31.33.87, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 02:59:20 [warn] 5232#0: *36919 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/02/0000000026 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 03:00:27 [warn] 5232#0: *36937 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/02/0000000027 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 03:59:38 [warn] 5232#0: *37888 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/02/0000000028 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 04:25:01 [warn] 5232#0: *38297 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/02/0000000029 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 04:42:17 [warn] 5232#0: *38573 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/03/0000000030 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 05:00:03 [warn] 5232#0: *38857 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/03/0000000031 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 05:21:04 [warn] 5232#0: *39198 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/03/0000000032 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 05:38:44 [warn] 5232#0: *39486 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/03/0000000033 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 06:01:36 [warn] 5232#0: *39861 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/03/0000000034 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 06:56:02 [warn] 5232#0: *40738 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/03/0000000035 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 07:00:03 [warn] 5232#0: *40802 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/03/0000000036 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 07:00:09 [warn] 5232#0: *40804 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/03/0000000037 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 07:05:24 [error] 5232#0: *40893 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "POST /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 07:05:24 [error] 5232#0: *40896 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 07:07:09 [warn] 5232#0: *40941 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/03/0000000038 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 07:10:09 [warn] 5232#0: *40989 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/03/0000000039 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 07:46:50 [warn] 5232#0: *41577 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/04/0000000040 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 07:49:57 [error] 5232#0: *41629 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /echo.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "5.188.210.227", referrer: "https://www.google.com/"
2020/12/06 08:18:45 [error] 5232#0: *42101 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "POST /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 08:18:45 [error] 5232#0: *42107 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 08:36:07 [error] 5232#0: *42401 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /TP/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 08:36:09 [error] 5232#0: *42401 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /TP/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 08:36:09 [error] 5232#0: *42408 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /thinkphp/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 08:36:11 [error] 5232#0: *42401 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 08:36:11 [error] 5232#0: *42408 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 08:36:12 [error] 5232#0: *42408 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /TP/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 08:36:13 [error] 5232#0: *42408 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.16.178, server: , request: "GET /elrekt.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "18.195.44.95"
2020/12/06 09:00:09 [warn] 5232#0: *42808 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/04/0000000041 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 09:37:56 [warn] 5232#0: *43419 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/04/0000000042 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 09:45:02 [warn] 5232#0: *43533 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/04/0000000043 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 09:55:22 [warn] 5232#0: *43699 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/04/0000000044 while reading upstream, client: 172.31.33.87, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 10:00:03 [warn] 5232#0: *43777 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/04/0000000045 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:30:04 [warn] 5232#0: *44265 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/04/0000000046 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:40:16 [warn] 5232#0: *44472 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/04/0000000047 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:40:19 [warn] 5232#0: *44474 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/04/0000000048 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:40:31 [warn] 5232#0: *44478 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/04/0000000049 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:41:01 [warn] 5232#0: *44490 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/05/0000000050 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:42:02 [warn] 5232#0: *44514 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/05/0000000051 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:44:02 [warn] 5232#0: *44562 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/05/0000000052 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:45:17 [warn] 5232#0: *44592 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/05/0000000053 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:46:02 [warn] 5232#0: *44608 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/05/0000000054 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:46:32 [warn] 5232#0: *44620 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/05/0000000055 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:47:14 [warn] 5232#0: *44636 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/05/0000000056 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:50:02 [warn] 5232#0: *44704 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/05/0000000057 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:50:17 [warn] 5232#0: *44710 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/05/0000000058 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:50:32 [warn] 5232#0: *44716 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/05/0000000059 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:50:47 [warn] 5232#0: *44722 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/06/0000000060 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:51:02 [warn] 5232#0: *44728 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/06/0000000061 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 10:55:47 [warn] 5232#0: *44844 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/06/0000000062 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:00:03 [warn] 5232#0: *44946 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/06/0000000063 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:00:06 [warn] 5232#0: *44948 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/06/0000000064 while reading upstream, client: 172.31.16.178, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:00:18 [warn] 5232#0: *44952 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/06/0000000065 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:01:00 [warn] 5232#0: *44968 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/6/06/0000000066 while reading upstream, client: 172.31.33.87, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:03:47 [error] 5232#0: *45036 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /TP/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:03:48 [error] 5232#0: *45041 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /TP/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:03:49 [error] 5232#0: *45036 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /thinkphp/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:03:50 [error] 5232#0: *45041 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:03:50 [error] 5232#0: *45036 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:03:51 [error] 5232#0: *45041 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /TP/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:03:52 [error] 5232#0: *45036 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.31.33.87, server: , request: "GET /elrekt.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "52.58.198.113"
2020/12/06 11:05:18 [warn] 5232#0: *45090 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/7/06/0000000067 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:05:33 [warn] 5232#0: *45096 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/8/06/0000000068 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:10:33 [warn] 5232#0: *45216 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/9/06/0000000069 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:15:18 [warn] 5232#0: *45330 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/0/07/0000000070 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:16:03 [warn] 5232#0: *45348 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/1/07/0000000071 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:16:18 [warn] 5232#0: *45354 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/2/07/0000000072 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:18:48 [warn] 5232#0: *45417 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/3/07/0000000073 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:20:34 [warn] 5232#0: *45459 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/4/07/0000000074 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"
2020/12/06 11:25:34 [warn] 5232#0: *45581 an upstream response is buffered to a temporary file /var/lib/nginx/tmp/fastcgi/5/07/0000000075 while reading upstream, client: 172.31.3.89, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "172.31.18.20"

----------------------------------------
/var/log/eb-engine.log
----------------------------------------

2020/12/06 11:04:23.427803 [INFO] Platform Engine finished execution on command: bundle-log

2020/12/06 11:04:37.213014 [INFO] Starting...
2020/12/06 11:04:37.213060 [INFO] Starting EBPlatform-PlatformEngine
2020/12/06 11:04:37.213076 [INFO] reading event message file
2020/12/06 11:04:37.213174 [INFO] no eb envtier info file found, skip loading env tier info.
2020/12/06 11:04:37.213232 [INFO] Engine received EB command cfn-hup-exec

2020/12/06 11:04:37.290727 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBAutoScalingGroup --region eu-central-1
2020/12/06 11:04:37.646679 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBBeanstalkMetadata --region eu-central-1
2020/12/06 11:04:38.003856 [INFO] checking whether command tail-log is applicable to this instance...
2020/12/06 11:04:38.003870 [INFO] this command is applicable to the instance, thus instance should execute command
2020/12/06 11:04:38.003874 [INFO] Engine command: (tail-log)

2020/12/06 11:04:38.003925 [INFO] Executing instruction: GetTailLogs
2020/12/06 11:04:38.003930 [INFO] Tail Logs...
2020/12/06 11:04:38.004148 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log
2020/12/06 11:04:38.005988 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log
2020/12/06 11:04:38.007533 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-hooks.log
2020/12/06 11:04:38.009014 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log
2020/12/06 11:04:38.097857 [INFO] Executing cleanup logic
2020/12/06 11:04:38.097946 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1607252678,"severity":"INFO"}]}]}

2020/12/06 11:04:38.097962 [INFO] Platform Engine finished execution on command: tail-log

2020/12/06 11:26:14.395949 [INFO] Starting...
2020/12/06 11:26:14.395998 [INFO] Starting EBPlatform-PlatformEngine
2020/12/06 11:26:14.396014 [INFO] reading event message file
2020/12/06 11:26:14.396111 [INFO] no eb envtier info file found, skip loading env tier info.
2020/12/06 11:26:14.396169 [INFO] Engine received EB command cfn-hup-exec

2020/12/06 11:26:14.472438 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBAutoScalingGroup --region eu-central-1
2020/12/06 11:26:14.827910 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBBeanstalkMetadata --region eu-central-1
2020/12/06 11:26:15.176484 [INFO] checking whether command app-deploy is applicable to this instance...
2020/12/06 11:26:15.176499 [INFO] this command is not applicable to the instance, thus instance shouldn't execute command
2020/12/06 11:26:15.176503 [INFO] skip command app-deploy for this instance...
2020/12/06 11:26:15.176510 [ERROR] Ignoring not applicable command.
2020/12/06 11:26:15.176513 [INFO] Executing cleanup logic
2020/12/06 11:26:15.176563 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Ignoring not applicable command.","returncode":0,"events":[]}]}

2020/12/06 11:26:15.176725 [INFO] Platform Engine finished execution on command: app-deploy

2020/12/06 11:26:21.082915 [INFO] Starting...
2020/12/06 11:26:21.082964 [INFO] Starting EBPlatform-PlatformEngine
2020/12/06 11:26:21.082980 [INFO] reading event message file
2020/12/06 11:26:21.083079 [INFO] no eb envtier info file found, skip loading env tier info.
2020/12/06 11:26:21.083138 [INFO] Engine received EB command cfn-hup-exec

2020/12/06 11:26:21.159345 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBAutoScalingGroup --region eu-central-1
2020/12/06 11:26:21.521790 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBBeanstalkMetadata --region eu-central-1
2020/12/06 11:26:21.869154 [INFO] checking whether command bundle-log is applicable to this instance...
2020/12/06 11:26:21.869168 [INFO] this command is not applicable to the instance, thus instance shouldn't execute command
2020/12/06 11:26:21.869172 [INFO] skip command bundle-log for this instance...
2020/12/06 11:26:21.869179 [ERROR] Ignoring not applicable command.
2020/12/06 11:26:21.869183 [INFO] Executing cleanup logic
2020/12/06 11:26:21.869231 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Ignoring not applicable command.","returncode":0,"events":[]}]}

2020/12/06 11:26:21.869289 [INFO] Platform Engine finished execution on command: bundle-log

2020/12/06 11:27:23.780201 [INFO] Starting...
2020/12/06 11:27:23.780255 [INFO] Starting EBPlatform-PlatformEngine
2020/12/06 11:27:23.780271 [INFO] reading event message file
2020/12/06 11:27:23.780369 [INFO] no eb envtier info file found, skip loading env tier info.
2020/12/06 11:27:23.780427 [INFO] Engine received EB command cfn-hup-exec

2020/12/06 11:27:23.839183 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBAutoScalingGroup --region eu-central-1
2020/12/06 11:27:24.202473 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBBeanstalkMetadata --region eu-central-1
2020/12/06 11:27:24.548542 [INFO] checking whether command tail-log is applicable to this instance...
2020/12/06 11:27:24.548557 [INFO] this command is applicable to the instance, thus instance should execute command
2020/12/06 11:27:24.548561 [INFO] Engine command: (tail-log)

2020/12/06 11:27:24.548608 [INFO] Executing instruction: GetTailLogs
2020/12/06 11:27:24.548612 [INFO] Tail Logs...
2020/12/06 11:27:24.548828 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-hooks.log
2020/12/06 11:27:24.550551 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log
2020/12/06 11:27:24.552107 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log
2020/12/06 11:27:24.553696 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log
2020/12/06 11:27:24.644865 [INFO] Executing cleanup logic
2020/12/06 11:27:24.644956 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment completed successfully.","timestamp":1607254044,"severity":"INFO"}]}]}

2020/12/06 11:27:24.645034 [INFO] Platform Engine finished execution on command: tail-log

2020/12/06 11:35:18.587993 [INFO] Starting...
2020/12/06 11:35:18.588043 [INFO] Starting EBPlatform-PlatformEngine
2020/12/06 11:35:18.588060 [INFO] reading event message file
2020/12/06 11:35:18.588173 [INFO] no eb envtier info file found, skip loading env tier info.
2020/12/06 11:35:18.588238 [INFO] Engine received EB command cfn-hup-exec

2020/12/06 11:35:18.667969 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBAutoScalingGroup --region eu-central-1
2020/12/06 11:35:19.033976 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:393673693458:stack/awseb-e-fs2g2sbbhj-stack/919a59e0-3644-11eb-b7eb-0aee1f35785e -r AWSEBBeanstalkMetadata --region eu-central-1
2020/12/06 11:35:19.384087 [INFO] checking whether command tail-log is applicable to this instance...
2020/12/06 11:35:19.384100 [INFO] this command is applicable to the instance, thus instance should execute command
2020/12/06 11:35:19.384104 [INFO] Engine command: (tail-log)

2020/12/06 11:35:19.384153 [INFO] Executing instruction: GetTailLogs
2020/12/06 11:35:19.384157 [INFO] Tail Logs...
2020/12/06 11:35:19.384367 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/access.log
2020/12/06 11:35:19.386134 [INFO] Running command /bin/sh -c tail -n 100 /var/log/nginx/error.log
2020/12/06 11:35:19.387744 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log

----------------------------------------
/var/log/eb-hooks.log
----------------------------------------

Complete!

2020/12/04 15:32:49.847731 [INFO] Running command .platform/hooks/prebuild/install_memcached_discovery.sh
2020/12/04 15:32:49.854375 [INFO] Running command .platform/hooks/prebuild/install_supervisor.sh
2020/12/04 15:32:57.780823 [INFO]   0  ansible2                 available    \
        [ =2.4.2  =2.4.6  =2.8  =stable ]
  2  httpd_modules            available    [ =1.0  =stable ]
  3  memcached1.5             available    \
        [ =1.5.1  =1.5.16  =1.5.17 ]
  5  postgresql9.6            available    \
        [ =9.6.6  =9.6.8  =stable ]
  6  postgresql10             available    [ =10  =stable ]
  8  redis4.0                 available    \
        [ =4.0.5  =4.0.10  =stable ]
  9  R3.4                     available    [ =3.4.3  =stable ]
 10  rust1                    available    \
        [ =1.22.1  =1.26.0  =1.26.1  =1.27.2  =1.31.0  =1.38.0
          =stable ]
 11  vim                      available    [ =8.0  =stable ]
  _  php7.2                   available    \
        [ =7.2.0  =7.2.4  =7.2.5  =7.2.8  =7.2.11  =7.2.13  =7.2.14
          =7.2.16  =7.2.17  =7.2.19  =7.2.21  =7.2.22  =7.2.23
          =7.2.24  =7.2.26  =stable ]
  _  lamp-mariadb10.2-php7.2  available    \
        [ =10.2.10_7.2.0  =10.2.10_7.2.4  =10.2.10_7.2.5
          =10.2.10_7.2.8  =10.2.10_7.2.11  =10.2.10_7.2.13
          =10.2.10_7.2.14  =10.2.10_7.2.16  =10.2.10_7.2.17
          =10.2.10_7.2.19  =10.2.10_7.2.22  =10.2.10_7.2.23
          =10.2.10_7.2.24  =stable ]
 18  libreoffice              available    \
        [ =5.0.6.2_15  =5.3.6.1  =stable ]
 19  gimp                     available    [ =2.8.22 ]
 20  docker=latest            enabled      \
        [ =17.12.1  =18.03.1  =18.06.1  =18.09.9  =stable ]
 21  mate-desktop1.x          available    \
        [ =1.19.0  =1.20.0  =stable ]
 22  GraphicsMagick1.3        available    \
        [ =1.3.29  =1.3.32  =1.3.34  =stable ]
 23  tomcat8.5                available    \
        [ =8.5.31  =8.5.32  =8.5.38  =8.5.40  =8.5.42  =8.5.50
          =stable ]
 24  epel=latest              enabled      [ =7.11  =stable ]
 25  testing                  available    [ =1.0  =stable ]
 26  ecs                      available    [ =stable ]
 27  corretto8                available    \
        [ =1.8.0_192  =1.8.0_202  =1.8.0_212  =1.8.0_222  =1.8.0_232
          =1.8.0_242  =stable ]
 28  firecracker              available    [ =0.11  =stable ]
 29  golang1.11               available    \
        [ =1.11.3  =1.11.11  =1.11.13  =stable ]
 30  squid4                   available    [ =4  =stable ]
  _  php7.3                   available    \
        [ =7.3.2  =7.3.3  =7.3.4  =7.3.6  =7.3.8  =7.3.9  =7.3.10
          =7.3.11  =7.3.13  =stable ]
 32  lustre2.10               available    \
        [ =2.10.5  =2.10.8  =stable ]
 33  java-openjdk11           available    [ =11  =stable ]
 34  lynis                    available    [ =stable ]
 35  kernel-ng                available    [ =stable ]
 36  BCC                      available    [ =0.x  =stable ]
 37  mono                     available    [ =5.x  =stable ]
 38  nginx1=latest            enabled      [ =stable ]
 39  ruby2.6                  available    [ =2.6  =stable ]
 40  mock                     available    [ =stable ]
 41  postgresql11             available    [ =11  =stable ]
 42  php7.4=latest            enabled      [ =stable ]
 43  livepatch                available    [ =stable ]
 44  python3.8                available    [ =stable ]
 45  haproxy2                 available    [ =stable ]
 46  collectd                 available    [ =stable ]
 47  aws-nitro-enclaves-cli   available    [ =stable ]
 48  R4                       available    [ =stable ]

Now you can install:
 # yum clean metadata
 # yum install epel-release
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
221 packages excluded due to repository priority protections
Package epel-release-7-11.noarch already installed and latest version
Nothing to do
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
221 packages excluded due to repository priority protections
No packages marked for update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
221 packages excluded due to repository priority protections
Package supervisor-3.4.0-1.el7.noarch already installed and latest version
Nothing to do
No config updates to processes

2020/12/04 15:32:57.780871 [INFO] Running command .platform/hooks/prebuild/update_composer.sh
2020/12/04 15:34:07.577244 [INFO] Running command .platform/hooks/predeploy/restart_services.sh
2020/12/04 15:34:08.115006 [INFO] Running command .platform/hooks/postdeploy/create_cron_files.sh
2020/12/04 15:34:08.132852 [INFO] * * * * * root /usr/bin/php /var/app/current/artisan schedule:run 1>> /dev/null 2>&1

2020/12/04 15:34:08.132879 [INFO] Running command .platform/hooks/postdeploy/make_folders_writable.sh
2020/12/04 15:34:08.176787 [INFO] Running command .platform/hooks/postdeploy/restart_supervisorctl.sh
2020/12/04 15:34:11.185252 [INFO] laravel-worker:laravel-worker_00: ERROR (spawn error)

2020/12/04 15:34:11.185285 [INFO] Running command .platform/hooks/postdeploy/run_caches.sh
rennokki commented 3 years ago

Remove the step that calls the horizon command.