Project

General

Profile

Actions

Bug #13985

closed

Telegraf error After Update PFSense to 23.01

Added by Marijan Kruljac almost 2 years ago. Updated 6 months ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Telegraf
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
23.01
Affected Architecture:
amd64

Description

Telegraf craches after update to 23.01
Hardware: Netgate 6100
Telegraf Version: 0.9_6
https://github.com/pfsense/FreeBSD-ports/commits/devel/net-mgmt/pfSense-pkg-Telegraf

Crash report details:

PHP Errors:
[19-Feb-2023 10:00:54 Europe/Zurich] PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /usr/local/pkg/telegraf.inc:132
Stack trace:
#0 /usr/local/pkg/telegraf.inc(132): implode(',', NULL)
#1 /etc/inc/pkg-utils.inc(781) : eval()'d code(1): telegraf_resync_config()
#2 /etc/inc/pkg-utils.inc(781): eval()
#3 /etc/inc/pkg-utils.inc(906): eval_once(' telegra...')
#4 /etc/rc.packages(76): install_package_xml('Telegraf')
#5 {main}
thrown in /usr/local/pkg/telegraf.inc on line 132
[19-Feb-2023 10:01:02 Europe/Zurich] PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /usr/local/pkg/telegraf.inc:132
Stack trace:
#0 /usr/local/pkg/telegraf.inc(132): implode(',', NULL)
#1 /etc/inc/pkg-utils.inc(715) : eval()'d code(1): telegraf_resync_config()
#2 /etc/inc/pkg-utils.inc(715): eval()
#3 /etc/rc.start_packages(66): sync_package('Telegraf')
#4 {main}
thrown in /usr/local/pkg/telegraf.inc on line 132


Files

clipboard-202304201822-ruwzs.png (39 KB) clipboard-202304201822-ruwzs.png Marijan Kruljac, 04/20/2023 11:22 AM
clipboard-202304201823-jutcz.png (14.6 KB) clipboard-202304201823-jutcz.png Marijan Kruljac, 04/20/2023 11:23 AM
clipboard-202304201826-bxomu.png (107 KB) clipboard-202304201826-bxomu.png Marijan Kruljac, 04/20/2023 11:27 AM

Related issues

Is duplicate of Bug #14861: PHP error when pings are enabled but no ping hosts are definedResolvedMarcos M

Actions
Actions

Also available in: Atom PDF