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

[BUG] Local import with ocsinventory-injector is not working #1654

Open
Kimbaras opened this issue Jan 10, 2025 · 1 comment
Open

[BUG] Local import with ocsinventory-injector is not working #1654

Kimbaras opened this issue Jan 10, 2025 · 1 comment

Comments

@Kimbaras
Copy link

Kimbaras commented Jan 10, 2025

OCS Inventory version
Version : 2.12.3

Describe the bug
Trying to import a machine using the local import tool, ocsinventory-injector returns "OK" from terminal but the machine is not displayed in the GUI.

To Reproduce
Steps to reproduce the behavior:
Get the .ocs file from any machine with the agent.
Copy the .ocs to the OCS server and execute the command

ocsinventory-injector -v -f <machine file>.ocs -u https://ocs.example.com/ --cafile /path/to/ca-file

The command returns the following:

Loading machine-name_and_date.ocs...OK

Expected behavior
The locally imported machine should be visible in the GUI

@Lea9250
Copy link
Contributor

Lea9250 commented Feb 20, 2025

Hi @Kimbaras

Could you check within the activity.log of the server for any reference to that specific device after attempting to import it?
The path for the log file should be /var/log/ocsinventory-server/activity.log

Best regards,
Léa

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

No branches or pull requests

5 participants