Project

General

Profile

Actions

Bug #14407

closed

pfSense-pkg-syslog-ng package error

Added by Kaan Kayan over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
syslog-ng
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.7.0
Affected Plus Version:
23.05
Affected Architecture:
amd64

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

Actions #1

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)
Actions #2

Updated by Jim Pingle over 1 year ago

  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle over 1 year ago

  • Status changed from New to In Progress
Actions #4

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
Actions #5

Updated by Kaan Kayan over 1 year ago

It is fixed now and the service is working properly.

Actions #6

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

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF