Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help! OCS Inventory all software Empty #468

Open
jgaribaldo5 opened this issue Oct 15, 2024 · 1 comment
Open

Help! OCS Inventory all software Empty #468

jgaribaldo5 opened this issue Oct 15, 2024 · 1 comment

Comments

@jgaribaldo5
Copy link

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Operating system : Ubuntu 22.04

Server informations

Perl version : v5.34.0
Mysql / Mariadb / Percona version : Mariadb 10.6.18

OCS Inventory informations

Ocs server version : 2.12.3

Problem's description

Hi,
Recently I installed OCS Inventory server 2.12.3 without any troubles, but after adding agents either with deployment tool or manual install on local machine, tab "All software" is empty.

image

Reading the OCS Inventory forum, it was recommended to manually run the task to load the information of all the software collected by the agents. However, I encountered the following error.

image


/bin/php /usr/share/ocsinventory-reports/ocsreports/crontab/cron_all_software.php

PHP Fatal error: Uncaught Error: Call to undefined function mysqli_report() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:171
Stack trace:
#0 /usr/share/ocsinventory-reports/ocsreports/crontab/cron_all_software.php(10): dbconnect()
#1 {main}
thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 171


I appreciate the support you can give me.
Regards,

@Lea9250
Copy link
Contributor

Lea9250 commented Oct 21, 2024

Hi @jgaribaldo5

Which PHP version are you currently running? Have the necessary PHP modules been installed, particularly php-mysql?

Regards,
Léa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants