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
We use the New Relic PHP Daemon. We install this through the tar and execute the New Relic installer script
RUN curl -L https://download.newrelic.com/php_agent/archive/10.19.0.9/newrelic-php5-10.19.0.9-linux-musl.tar.gz | tar -C /tmp -zx \
&& /tmp/newrelic-php5-10.19.0.9-linux-musl/newrelic-install install \
&& rm -rf /tmp/newrelic-php5-* /tmp/nrinstall*
The above will result in the following error. I've also tried newer versions of the New Relic PHP Daemon, but that does not change anything.
1.892 FATAL: failed to copy daemon init script to /etc/init.d/newrelic-daemon
1.892 FATAL: New Relic agent installation failed.
When I do a ls -lha /etc/init.d/ I can see that this directory does not exist.
The newrelic installer executes this
if logcmd cp -f "${ilibdir}/scripts/init.${ostype}" "${osdifile}"; then
logcmd chmod 755 "${osdifile}" || {
fatal "failed to set permissions on ${osdifile}"
}
else
fatal "failed to copy daemon init script to ${osdifile}"
fi
So it tries to copy a script to init.d and that's where it fails.
A workaround is pinning the version to 3.19, ex php:8.3-fpm-alpine3.19
I would like to use 3.20. How to resolve this? Do I need to do something to make this directory available? Is this something the Alpine Linux needs to fix, or New Relic in their installer?
The text was updated successfully, but these errors were encountered:
We use the New Relic PHP Daemon. We install this through the tar and execute the New Relic installer script
The above will result in the following error. I've also tried newer versions of the New Relic PHP Daemon, but that does not change anything.
When I do a
ls -lha /etc/init.d/
I can see that this directory does not exist.The newrelic installer executes this
So it tries to copy a script to init.d and that's where it fails.
A workaround is pinning the version to 3.19, ex
php:8.3-fpm-alpine3.19
I would like to use 3.20. How to resolve this? Do I need to do something to make this directory available? Is this something the Alpine Linux needs to fix, or New Relic in their installer?
The text was updated successfully, but these errors were encountered: