Details
-
Help
-
Resolution: Not A Bug
-
Major
-
None
-
Professional Edition
-
Current OS Version = Red Hat Enterprise Linux release 9.2 (Plow)
Current Kernel = 5.14.0-284.11.1.el9_2.x86_64
OS Upgrade Path performed included inline upgrade from RHEL 8.7 <> RHEL 9.0 <> 9.1
[root@crilobservium observium]# python --version
Python 3.9.16
[root@crilobservium observium]#
[root@crilobservium observium]# php --version
PHP 8.2.6 (cli) (built: May 9 2023 06:25:31) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies
[root@crilobservium observium]#
[root@crilobservium observium]# mysql --version
mysql Ver 15.1 Distrib 10.5.16-MariaDB, for Linux (x86_64) using EditLine wrapper
[root@crilobservium observium]#
Current OS Version = Red Hat Enterprise Linux release 9.2 (Plow) Current Kernel = 5.14.0-284.11.1.el9_2.x86_64 OS Upgrade Path performed included inline upgrade from RHEL 8.7 <> RHEL 9.0 <> 9.1 [ root@crilobservium observium]# python --version Python 3.9.16 [ root@crilobservium observium]# [ root@crilobservium observium]# php --version PHP 8.2.6 (cli) (built: May 9 2023 06:25:31) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.2.6, Copyright (c) Zend Technologies with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies [ root@crilobservium observium]# [ root@crilobservium observium]# mysql --version mysql Ver 15.1 Distrib 10.5.16-MariaDB, for Linux (x86_64) using EditLine wrapper [ root@crilobservium observium]#
Description
After upgrading OS, the WebUI is blank and does not display anything, all PHP scripts are failing. Please assist me with getting things back up and running. Let me know what further information you require. Here are the errors that get returned when running some of the php scripts from cron, device rename / add for example.
[root@crilobservium observium]# /opt/observium/discovery.php -u
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/discovery.php(19): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]# /opt/observium/discovery.php -h all
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/discovery.php(19): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]# /opt/observium/discovery.php -h all
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/discovery.php(19): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]# /opt/observium/housekeeping.php -ysel
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/housekeeping.php(18): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]# /opt/observium/housekeeping.php -yrptb
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/housekeeping.php(18): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]# ./rename_device.php
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/rename_device.php(19): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]# ./add_device.php
PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/observium/includes/functions.inc.php:2449
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(157): load_sqlconfig()
#1 /opt/observium/add_device.php(21): include('...')
#2 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2449
[root@crilobservium observium]#