Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data after successful deploy #66

Open
Babwenbiber opened this issue Jan 25, 2022 · 2 comments
Open

No data after successful deploy #66

Babwenbiber opened this issue Jan 25, 2022 · 2 comments

Comments

@Babwenbiber
Copy link

Hey,
first of all thank you for this great kickstart of the eb integration.
Still I couldn't get my project running yet.
The project seems to deploy with a successful state, but actually does nothing.
I can't grasp the problem since the logs seem to be ok.
I need to install grpc, because I use Firebase Cloud Messaging. The installation was successful, but the last line irritates me..
I linked the last lines of the installation...

The AWS-Website has the following events:

2022-01-25 21:49:27 UTC+0100 | INFO | Deleted log fragments for this environment.
2022-01-25 21:49:24 UTC+0100 | INFO | Environment health has transitioned from Info to No Data. None of the instances are sending data.
2022-01-25 21:47:33 UTC+0100 | INFO | Environment update completed successfully.
2022-01-25 21:47:33 UTC+0100 | INFO | Successfully deployed new configuration to environment.
2022-01-25 21:46:24 UTC+0100 | INFO | Removed instance [i-04a9b74a88003a44c] from your environment.

Tail of eb-hooks.logs running: make INSTALL_ROOT="/root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0" install Installing shared extensions: /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0/usr/lib64/php/modules/ running: find "/root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0" | xargs ls -dils 9376810 0 drwxr-xr-x 3 root root 17 Jan 25 17:38 /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0 6163547 0 drwxr-xr-x 3 root root 19 Jan 25 17:38 /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0/usr 9586479 0 drwxr-xr-x 3 root root 17 Jan 25 17:38 /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0/usr/lib64 14078354 0 drwxr-xr-x 3 root root 21 Jan 25 17:38 /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0/usr/lib64/php 1347846 0 drwxr-xr-x 2 root root 21 Jan 25 17:38 /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0/usr/lib64/php/modules 1347847 114128 -rwxr-xr-x 1 root root 116864112 Jan 25 17:38 /root/pear/temp/pear-build-rootqarJMX/install-grpc-1.43.0/usr/lib64/php/modules/grpc.so

Build process completed successfully
Installing '/usr/lib64/php/modules/grpc.so'
install ok: channel://pecl.php.net/grpc-1.43.0
Extension grpc enabled in php.ini

2022/01/25 17:38:08.188993 [INFO] Running command .platform/hooks/prebuild/install_imagick.sh
2022/01/25 17:38:08.190256 [INFO] Running command .platform/hooks/prebuild/install_latest_chromium_binary.sh
2022/01/25 17:38:08.191242 [INFO] Running command .platform/hooks/prebuild/install_latest_node_js.sh
2022/01/25 18:00:01.808004 [INFO] Running command .platform/hooks/prebuild/configure_php_ini.sh
2022/01/25 18:00:01.841823 [INFO] Running command .platform/hooks/prebuild/install_grpc.sh
2022/01/25 18:00:03.488862 [INFO] Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Package autoconf-2.69-11.amzn2.noarch already installed and latest version
No package zlib1g-dev available.
No package php-dev available.
Package 1:php-pear-1.10.12-9.amzn2.noarch already installed and latest version
Nothing to do
pecl/grpc is already installed and is the same as the released version 1.43.0
install failed

eb-engine.logs 2022/01/25 20:34:28.564746 [INFO] Starting... 2022/01/25 20:34:28.564806 [INFO] Starting EBPlatform-PlatformEngine 2022/01/25 20:34:28.564823 [INFO] reading event message file 2022/01/25 20:34:28.564929 [INFO] no eb envtier info file found, skip loading env tier info. 2022/01/25 20:34:28.564991 [INFO] Engine received EB command cfn-hup-exec

2022/01/25 20:34:28.644538 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:715874412273:stack/awseb-e-pqdav8xp9p-stack/345f1150-7e03-11ec-8170-0a3e3157960e -r AWSEBAutoScalingGroup --region eu-central-1
2022/01/25 20:34:28.955618 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-central-1:715874412273:stack/awseb-e-pqdav8xp9p-stack/345f1150-7e03-11ec-8170-0a3e3157960e -r AWSEBBeanstalkMetadata --region eu-central-1
2022/01/25 20:34:29.249446 [INFO] checking whether command bundle-log is applicable to this instance...
2022/01/25 20:34:29.249460 [INFO] this command is applicable to the instance, thus instance should execute command
2022/01/25 20:34:29.249465 [INFO] Engine command: (bundle-log)

2022/01/25 20:34:29.249516 [INFO] Executing instruction: GetBundleLogs
2022/01/25 20:34:29.249521 [INFO] Bundle Logs...

install_grpc.sh
#!/bin/sh

set +e

sudo yum -y install autoconf php-pear

sudo pecl install grpc

sed -i -e '/extension="grpc.so"/d' /etc/php.ini
echo 'extension="grpc.so"' > /etc/php.d/41-grpc.ini
@rennokki
Copy link
Owner

Nothing to do
pecl/grpc is already installed and is the same as the released version 1.43.0
install failed

Does it seem like grpc is already installed in Amazon Linux 2?

@rennokki
Copy link
Owner

I think I need the full eb-hooks.logs. You can mail it to me at [email protected] in case it contains sensitive information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants