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
Software table is missing in the Database #451
Comments
To solve the problem we have reviewed the creation of the Database and launched the creation of the missing software table with the following result:
It seems that the problem is here it fails to create the table during installation We create the table following what is included in the installation script except for the creation of the KEYs, which we do one by one and it is done correctly This solves all the errors we had in the agent registration |
Hi @kiwib1b, This has been fixed with PR OCSInventory-NG/OCSInventory-ocsreports#1590, which was merged into our master branch on the ocsreports repository. Thank you for reporting the issue. Regards, |
General informations
Operating system : Red Hat Enterprise Linux release 9.3 (Plow)
Server informations
Perl version : perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-thread-multi
Mysql / Mariadb / Percona version : mariadb-server-10.5.22-1.el9_2.x86_64
OCS Inventory informations
Ocs server version : ocsinventory-server-2.12.1-1
Problem's description
I have a recently installed OCS server but agent dont works correctly. I am using both the official agent and fusion inventory.
With fusion inventory it gives me the following error:
It duplicates my entries because it is unable to delete duplicates since the software table is missing
With the OCS agent (OCS-NG_WINDOWS_AGENT_v2.10.1.0) on a Windows server it does not even register:
if I disable it from collecting software information it registers but it duplicates itself and does not delete like fusion inventory:
The problem with everything is that the software table is missing from the database, which generates duplicates and nothing is recorded if I activate it to collect the software information. I don't know why when I installed this table it wasn't created.
The text was updated successfully, but these errors were encountered: