Bug #14407
closedpfSense-pkg-syslog-ng package error
100%
Description
Syslog-ng package throws an error during the installation like below.
New packages to be INSTALLED:
pfSense-pkg-syslog-ng: 1.15_13 [pfSense]
Number of packages to be installed: 1
[1/1] Installing pfSense-pkg-syslog-ng-1.15_13...
[1/1] Extracting pfSense-pkg-syslog-ng-1.15_13: .......... done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/syslog-ng.inc:299
Stack trace:
#0 /usr/local/pkg/syslog-ng.inc(46): syslogng_resync()
#1 /etc/inc/pkg-utils.inc(783) : eval()'d code(1): syslogng_install_command()
#2 /etc/inc/pkg-utils.inc(783): eval()
#3 /etc/inc/pkg-utils.inc(901): eval_once('syslogng_instal...')
#4 /etc/rc.packages(76): install_package_xml('syslog-ng')
#5 {main}
thrown in /usr/local/pkg/syslog-ng.inc on line 299
PHP ERROR: Type: 1, File: /usr/local/pkg/syslog-ng.inc, Line: 299, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/syslog-ng.inc:299
Stack trace:
#0 /usr/local/pkg/syslog-ng.inc(46): syslogng_resync()
#1 /etc/inc/pkg-utils.inc(783) : eval()'d code(1): syslogng_install_command()
#2 /etc/inc/pkg-utils.inc(783): eval()
#3 /etc/inc/pkg-utils.inc(901): eval_once('syslogng_instal...')
#4 /etc/rc.packages(76): install_package_xml('syslog-ng')
#5 {main}
thrownpkg-static: POST-INSTALL script failed
Cleaning up cache... done.
Success
Updated by Jim Pingle over 1 year ago
- Project changed from pfSense Plus to pfSense Packages
- Category changed from Package System to syslog-ng
- Priority changed from Normal-package to Normal
- Release Notes deleted (
Default)
Updated by Jim Pingle over 1 year ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
- Affected Version set to 2.7.0
Fixed in pkg version 1.16: https://github.com/pfsense/FreeBSD-ports/commit/d848b6da1957d728a867b9010ed3795d946b68c4
Updated by Kaan Kayan over 1 year ago
It is fixed now and the service is working properly.
Updated by Lev Prokofev over 1 year ago
Can confirm it working properly on
23.05-RELEASE (amd64)
built on Mon May 22 15:04:36 UTC 2023
FreeBSD 14.0-CURRENT