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 http://wiki.ocsinventory-ng.org. Read it before asking your question.

"All software" tab empty in OCS Inventory server [closed]

Hi,

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

I tried to run cron_all_software.php file in crontab but it shows error as you can see below:

Server configuration:

Ubuntu server: 22.04

OCS Inventory Server:  2.11.1

MariaDB: 10.6.7

PHP: 8.1

Apache: 2.4.52

Thanks in advance for any help.

closed with the note: Solved by adding missing 'software_link' tab
in OCS Inventory NG server for Unix by (380 points)
closed by

2 Answers

0 votes

Hi. I'm using Debian 11... Try this:

# nano /etc/cron.d/ocsinventory

In the file paste this:

1 * * * * www-data cd /usr/share/ocsinventory-reports/ocsreports/crontab/ && /usr/bin/php cron_all_software.php

I hope it works on you... By the way, www-data is my default user for apache2, change it for your web server usr
by (330 points)
0 votes
Hey,

thanks for the reply, I already figured it out. Somehow there was a missing table named 'software_link', manually adding it and running cron_all_software.php solved it.
by (380 points)
 
Powered by Question2Answer
...