Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Update to 2.9.2 doesn't work

hi all,

I have update my server from Ocsinventory 2.9 to 2.9.2 but after the logon I receive a blank page.

System is Centos 7.9.2009, apache 2.4.6, php 7.4.27.

In the log I see this error:

 PHP Fatal error:  Uncaught TypeError: Argument 1 passed to XMLUrlsSerializer::serialize() must be an instance of Urls, bool given, called in /usr/share/ocsinventory-reports/ocsreports/require/config/include.php on line 57 and defined in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLUrlsSerializer.php:29\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/config/include.php(57): XMLUrlsSerializer->serialize(false)\n#1 /usr/share/ocsinventory-reports/ocsreports/require/config/include.php(46): migrate_urls_2_2(false)\n#2 /usr/share/ocsinventory-reports/ocsreports/backend/identity/methode/ldap.php(154): migrate_config_2_2()\n#3 /usr/share/ocsinventory-reports/ocsreports/backend/identity/identity.php(33): require_once('/usr/share/ocsi...')\n#4 /usr/share/ocsinventory-reports/ocsreports/require/header.php(327): require_once('/usr/share/ocsi...')\n#5 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')\n#6 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/require/config/XMLUrlsSerializer.php on line 29

May you help me.

Thanks

 Roberto
in OCS Inventory NG server for Unix by (260 points)

1 Answer

0 votes
Hi all,
I tryed to uninstall php end reinstall it without success. I also tryed to restore from backup at time before update. Nothing to do. In history log I see php version is changed on first days of this year. I think that something is changed in the functions php used by ocsinventory. My system is out of service.
All the help you can give me is welcome
Regards
   Roberto
by (260 points)
 
Powered by Question2Answer
...