You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_ _ ____ _ _
| \ | | _____ __ | _ \ ___| (_) ___
| \| |/ _ \ \ /\ / / | |_) / _ | | |/ __|
| |\ | __/\ V V / | _ | __| | | (__
|_| \_|\___| \_/\_/ |_| \_\___|_|_|\___|
Welcome to New Relic. Let's set up full stack observability for your environment.
Our Data Privacy Notice: https://newrelic.com/termsandconditions/services-notices
✔ Connecting to New Relic Platform
Connected
Installing New Relic PHP Agent
==> Installing Infrastructure Agent
Detecting available SSL ciphers...
- SSLv3
- TLSv1
- TLSv1.2
- TLSv1.3
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 https://download.newrelic.com/infrastructure_agent/linux/apt focal InRelease
Get:7 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
Ign:4 https://apt.newrelic.com/debian newrelic InRelease
Hit:8 https://apt.newrelic.com/debian newrelic Release
Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:10 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/tiagohillebrandt/wp-cli/ubuntu focal InRelease
Fetched 4583 B in 2s (3030 B/s)
Reading package lists...
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 https://download.newrelic.com/infrastructure_agent/linux/apt focal InRelease
Get:7 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
Ign:1 https://apt.newrelic.com/debian newrelic InRelease
Hit:8 https://apt.newrelic.com/debian newrelic Release
Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:10 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/tiagohillebrandt/wp-cli/ubuntu focal InRelease
Fetched 4583 B in 2s (2719 B/s)
Reading package lists...
Running agent status check attempt...
Agent status check ok.
Infra key: i-0f1ea3215388a62e8
✔ Installing Infrastructure Agent
Installed
==> Installing Logs Integration
✔ Installing Logs Integration
Installed
==> Installing PHP Agent
PHP Warning: Module "newrelic" is already loaded in Unknown on line 0
What is the name of your PHP application? (Double-quote (") is not a valid character in the name) app1
Restart the PHP web service after PHP agent installation? Selecting 'y' will automatically restart php-fpm, nginx, or apache depending on the service that is detected. Selecting 'n' will require you to manually restart the process when prompted. (y/n)y
Confirmation: The following options were selected. If you wish to change an option, please select 'n' at the prompt and restart the installation.
* The following application name was selected: app1
* Automatic process restart was selected. This installation will restart the php-fpm or nginx process depending on the application architecture detected.
Note: If you are hosting your PHP application on something other than apache, nginx, or php-fpm, please select 'n' and check out our other installation options:
https://docs.newrelic.com/docs/agents/php-agent/installation/php-agent-installation-overview/
Do you want to install the PHP Agent Y/N (default: Y)?
===> Detecting services
Found service: php8.2-fpm
Found service: nginx
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 https://download.docker.com/linux/ubuntu focal InRelease
Hit:7 https://download.newrelic.com/infrastructure_agent/linux/apt focal InRelease
Ign:1 https://apt.newrelic.com/debian newrelic InRelease
Hit:8 https://apt.newrelic.com/debian newrelic Release
Get:9 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
Hit:10 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/tiagohillebrandt/wp-cli/ubuntu focal InRelease
Fetched 4583 B in 1s (3259 B/s)
Reading package lists...
deb http://apt.newrelic.com/debian/ newrelic non-free
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 https://download.newrelic.com/infrastructure_agent/linux/apt focal InRelease
Hit:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 https://download.docker.com/linux/ubuntu focal InRelease
Ign:1 https://apt.newrelic.com/debian newrelic InRelease
Hit:7 https://apt.newrelic.com/debian newrelic Release
Get:8 https://deb.nodesource.com/node_14.x focal InRelease [4583 B]
Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:11 http://ppa.launchpad.net/tiagohillebrandt/wp-cli/ubuntu focal InRelease
Fetched 4583 B in 1s (3546 B/s)
Reading package lists...
===> Installing New Relic PHP Agent package
===> Installing New Relic PHP Agent
Downloading newest PHP Agent Release
AGENT VERSION: 11.1.0.14
Found agent version: 11.1.0.14
Running PHP Agent installer
===> Configuring New Relic PHP Agent
nrinstall-20240920-083108-3846560.log
nrinstall-20240920-083108-3846560.sysinfo
===> Restarting the services, as needed
This step causes the changes to newrelic.ini to be picked up.
Restarting php8.2-fpm as privileged user root
Sleeping for 10 seconds to give process time to recover.
===> Send queryable transactions
! Installing php-agent-installer
Failed
New Relic installation complete
--------------------
Installation Summary
✔ Infrastructure Agent (installed)
✔ Logs Integration (installed)
! PHP Agent (incomplete)
Installation was successful overall, however, one or more installations could not be completed.
Follow the instructions at the URL below to complete the installation process.
⮕ https://onenr.io/0Bj33b3eGjX
View your logs at the link below:
⮕ https://onenr.io/0LwGmqmppj6
--------------------
Your Environment
Ubuntu 20.04
Additional context
I have spent a day debugging ansible role, then newrelic-cli, then finally this.
Debug logs have no relevant debug.
Links provided by the cli to docs and logs are useless.
apm-php unsupported un ubuntu 20.04
Description
Steps to Reproduce
sudo NEW_RELIC_API_KEY=NRAK-XXX NEW_RELIC_ACCOUNT_ID=YYY /usr/local/bin/newrelic install -n php-agent-installer
Expected Behavior
Installed php agent.
Relevant Logs / Console output
Your Environment
Additional context
I have spent a day debugging ansible role, then newrelic-cli, then finally this.
Debug logs have no relevant debug.
Links provided by the cli to docs and logs are useless.
I see similar issues ignored for years.
At this point, I'm wondering whether NewRelic needs clients at all.
I'm considering switching our monitoring to another solution.
The text was updated successfully, but these errors were encountered: