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.
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