We are running OCSInventory server ( 2.9.x) on Ubuntu 20.04
I just installed a private CVE search server (v4.1.0.dev285) on the same machine and I can access it without issues via the web interface.
Now, I configured the CVE search management as follows:
BTW: i am unsure about the expire time setting, to what should it be set? The explenation isn't clear to me
I ran the "cd /usr/share/ocsinventory-reports/ocsreports/crontab/ && php cron_cve.php" command as instructed.
Then, when I check the 'Inventory > CVE Reporting', nothing is reported there which would be very strange indeed.
Anyone with an idea where I could start my search?
(cve-search.log is nearly empty:
2022-01-24 16:54:39,195 - lib.Authentication - WARNING - Could not find auth loader file!
2022-01-24 16:54:39,234 - __main__ - INFO - Running version: 4.1.0.dev285
2022-01-24 16:54:39,403 - __main__ - INFO - Running async mode: gevent
2022-01-24 16:54:39,403 - __main__ - INFO - Server starting...
2022-01-24 16:54:40,199 - lib.Authentication - WARNING - Could not find auth loader file!
2022-01-24 16:54:40,240 - __main__ - INFO - Running version: 4.1.0.dev285
2022-01-24 16:54:40,470 - __main__ - INFO - Running async mode: gevent
2022-01-24 16:54:40,471 - __main__ - INFO - Server starting...)
When I manually run "cron_CVE.php":
Get software publisher ...
Software publisher OK ...
CVE treatment started ...
Please wait, CVE processing is in progress. It could take a few hours
0 CVE has been added to database
and that is done in a few seconds, not hours.