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 #1

Updated by Kris Phillips over 1 year ago

Unable to replicate in pfSense CE 2.7. Possible it's just an issue on Plus for some reason.

Actions #2

Updated by Marijan Kruljac over 1 year ago

New knowledge, have installed the community version virtually.
The Telegraf Package Dependencies are different.

Community Edition 2.6:

lsof-4.94.0,8  telegraf-1.20.4 

works Fine.

PfSense+: Fails

Actions #3

Updated by aleksei prokofiev over 1 year ago

I've tested on
23.01-RELEASE (amd64)
built on Fri Feb 10 20:06:33 UTC 2023
FreeBSD 14.0-CURRENT

I can't reproduce the errors, telegraf is successfully installed and the service is running.

Actions #4

Updated by Lev Prokofev over 1 year ago

Can't reproduce,
Installed 2.6 CE
Installed and configure Telegraf with influx DB
Upgraded to 23.01
no errors occurred.

Actions #5

Updated by Marijan Kruljac over 1 year ago

@aleksei prokofiev, what dependent Telefraf Package have you?

Actions #6

Updated by Marcos M 6 months ago

  • Is duplicate of Bug #14861: PHP error when pings are enabled but no ping hosts are defined added
Actions #7

Updated by Marcos M 6 months ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF