{"err":"task: Failed to run task \"default\": task: Failed to run task \"send_transaction\": exit status 1","level":"debug","msg":"Task execution returned error","time":"2024-12-02T11:54:03Z"}
{"level":"debug","msg":"Invalid JSON string found in output file, skipping: ","time":"2024-12-02T11:54:03Z"}
{"error":"execution failed for php-agent-installer: exit status 1: \u001b[0;36m===\u003e \u001b[0;97mSend queryable transactions\u001b[38;5;240m","guid":"","level":"debug","msg":"recipe event","recipe_name":"php-agent-installer","status":"FAILED","statusCount":10,"tasks":["default","send_transaction"],"time":"2024-12-02T11:54:03Z","validationDurationMs":0}
{"level":"debug","msg":"install error encountered: exit status 1: \u001b[0;36m===\u003e \u001b[0;97mSend queryable transactions\u001b[38;5;240m","time":"2024-12-02T11:54:03Z"}
{"level":"debug","msg":"Failed while executing and validating with progress for recipe name php-agent-installer, detail:exit status 1: \u001b[0;36m===\u003e \u001b[0;97mSend queryable transactions\u001b[38;5;240m","time":"2024-12-02T11:54:03Z"}
В журналах процесса установки отображается несколько сообщений отладки, в том числе:
- В выходных данных обнаружена недопустимая строка JSON. file
- Ошибка при выполнении рецепта php-agent-installer
< li>Установка других рекомендуемых интеграций (например, Memcached
и Varnish Cache) прошла успешно, но установщик PHP-агента завершается сбоем.
curl -Ls https://download.newrelic.com/install/n ... install.sh | bash && sudo NEW_RELIC_API_KEY=NRAK-XXXX NEW_RELIC_ACCOUNT_ID=XXXXX /usr/local/bin/newrelic install -n php-agent-installer
Версия Newrelic: 0.97.1 | ВЕРСИЯ АГЕНТА: 11.3.0.16
Версия PHP: 8.1.30 та же проблема с PHP 7.4.33
Версия агента New Relic Infrastructure: 1.58.0 , GoVersion: go1.22.9, GitCommit: 1a19023b867cc2aac94959aa1bb82e3b53cb4d48, BuildDate: 2024-11-07T09:10:28Z
Среда: Debian 11
Я пытался переустановить агент, но ошибка сохраняется.
PHP Журналы агента:
2024-12-02 15:59:58.824 +0000 (3320354 3320354) info: attempt daemon connection via '@newrelic'
2024-12-02 15:59:58.824 +0000 (3320354 3320354) info: New Relic 11.3.0.16 ("corundum" - "f30642fd4f51") [daemon='@newrelic' php='7.4.33' zts=no sapi='fpm-fcgi' pid=3320354 ppid=1 uid=0 euid=0 gid=0 egid=0 backtrace=yes startup=agent os='Linux' rel='5.10.0-26-amd64' mach='x86_64' ver='#1 SMP Debian 5.10.197-1 (2023-09-29)' node='1210295.cloudwaysapps.com']
Подробнее здесь: https://stackoverflow.com/questions/792 ... -execution
Мобильная версия