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 · 0 comments
Open

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

Kimbaras opened this issue Jan 10, 2025 · 0 comments

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

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