Hi,
I imported a new host using the GUI, then exported the XML and changed it with the information for the new asset, and tried to import it using the perl script.
The script outputs "Loading file.xml...OK", but the new asset cannot be found in OCS.
The Apache access log shows 200:
127.0.0.1 - - [27/Mar/2025:14:41:20 -0400] "POST / HTTP/1.1" 200 10968 "-" "OCS-NG_INJECTOR_PL_v3"
I saw A LOT of similar questions https://ask.ocsinventory-ng.org/search?q=import&start=10 and unfortunately even the official documentation (https://wiki.ocsinventory-ng.org/03.Basic-documentation/Administration-of-OCS-Inventory-NG/#importing-inventory-for-non-network-connected-computers) seems to be old, as it references a non-existent script (Ocsinventory_local.pl)
PHP Version : 7.4.33
Web Server : Apache/2.4.62 (Debian)
Database Server : Debian 11 version 10.5.28-MariaDB-0+deb11u1-log
Version OCSReports: 2.12.3
Thank you,
George
Hi,
I imported a new host using the GUI, then exported the XML and changed it with the information for the new asset, and tried to import it using the perl script.
The script outputs "Loading file.xml...OK", but the new asset cannot be found in OCS.
The Apache access log shows 200:
127.0.0.1 - - [27/Mar/2025:14:41:20 -0400] "POST / HTTP/1.1" 200 10968 "-" "OCS-NG_INJECTOR_PL_v3"I saw A LOT of similar questions https://ask.ocsinventory-ng.org/search?q=import&start=10 and unfortunately even the official documentation (https://wiki.ocsinventory-ng.org/03.Basic-documentation/Administration-of-OCS-Inventory-NG/#importing-inventory-for-non-network-connected-computers) seems to be old, as it references a non-existent script (Ocsinventory_local.pl)
PHP Version : 7.4.33
Web Server : Apache/2.4.62 (Debian)
Database Server : Debian 11 version 10.5.28-MariaDB-0+deb11u1-log
Version OCSReports: 2.12.3
Thank you,
George