<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ocsinventory Q&amp;A - Recent questions and answers</title>
<link>https://ask.ocsinventory-ng.org/qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: Prevent OcsService.exe file from disappearing</title>
<link>https://ask.ocsinventory-ng.org/15134/prevent-ocsservice-exe-file-from-disappearing?show=15580#a15580</link>
<description>Isso ocorreu nas empresas na qual realizo administração.&lt;br /&gt;
&lt;br /&gt;
Os serviços do OCS Agente simplismente desaparece.&lt;br /&gt;
&lt;br /&gt;
Neste caso eu criei um script BAT/CMD que valida a existencia do Serviço, caso nao exista ele cria apontando para o arquivo no seu devido diretorio.&lt;br /&gt;
&lt;br /&gt;
Se o arquivo nao existir, ele reinstala o OCS Agente novamente.&lt;br /&gt;
&lt;br /&gt;
Se estiver tudo Ok, apenas força um inventario que não faz mal nenhum.&lt;br /&gt;
&lt;br /&gt;
Se tiver interesse, entre em contato comigo pelo WhatsApp +55 62 9 9410-8188</description>
<category>OCS Inventory NG agent for Windows</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15134/prevent-ocsservice-exe-file-from-disappearing?show=15580#a15580</guid>
<pubDate>Wed, 22 Apr 2026 21:35:43 +0000</pubDate>
</item>
<item>
<title>Answered: SNMPv3 Community Strings not hashed in Dashboard</title>
<link>https://ask.ocsinventory-ng.org/15572/snmpv3-community-strings-not-hashed-in-dashboard?show=15579#a15579</link>
<description>&lt;p&gt;This is almost certainly a bug or design flaw; clear text should not be displayed. With SNMPv3, passphrases must be protected (at least masked or hashed when displayed).&lt;br&gt;&lt;br&gt;Showing plain text on the dashboard is a security risk.&lt;br&gt;&lt;br&gt;&amp;nbsp;Solution:&lt;br&gt;&lt;br&gt;Hide/mask (****) instead of displaying directly. Save as hash/encrypted.&lt;br&gt;&lt;br&gt;If not fixed → restrict dashboard access immediately.&lt;br&gt;&lt;br&gt;=&amp;gt; This should be considered a fix, not a feature. &lt;a rel=&quot;nofollow&quot; href=&quot;https://geometrygames.io&quot;&gt;Geometry Dash&lt;/a&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15572/snmpv3-community-strings-not-hashed-in-dashboard?show=15579#a15579</guid>
<pubDate>Wed, 22 Apr 2026 08:58:18 +0000</pubDate>
</item>
<item>
<title>Answered: Email notification design flaw</title>
<link>https://ask.ocsinventory-ng.org/15569/email-notification-design-flaw?show=15578#a15578</link>
<description>A new version has been released, sadly, they didn't mention a fix in the changelog...</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15569/email-notification-design-flaw?show=15578#a15578</guid>
<pubDate>Fri, 17 Apr 2026 11:13:15 +0000</pubDate>
</item>
<item>
<title>Answered: Profiles folder overwritten everytime in docker</title>
<link>https://ask.ocsinventory-ng.org/15562/profiles-folder-overwritten-everytime-in-docker?show=15577#a15577</link>
<description>I've created custom profiles, that way, they don't get overwritten on restart.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15562/profiles-folder-overwritten-everytime-in-docker?show=15577#a15577</guid>
<pubDate>Thu, 16 Apr 2026 08:53:32 +0000</pubDate>
</item>
<item>
<title>Answered: Incompatible legacy installer package in MacOS</title>
<link>https://ask.ocsinventory-ng.org/15553/incompatible-legacy-installer-package-in-macos?show=15575#a15575</link>
<description>I just asked this question too. I guess its time to learn how to roll my own.</description>
<category>OCS Inventory NG agent for MacOS X</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15553/incompatible-legacy-installer-package-in-macos?show=15575#a15575</guid>
<pubDate>Wed, 08 Apr 2026 15:03:49 +0000</pubDate>
</item>
<item>
<title>OCS Agent 2.10.3 MacOS package incompatible Tahoe</title>
<link>https://ask.ocsinventory-ng.org/15574/ocs-agent-2-10-3-macos-package-incompatible-tahoe</link>
<description>OCS Inventory Agent 2.10.3 MacOS package incompatible with Tahoe 26.4&lt;br /&gt;
&lt;br /&gt;
Buidling MacOS packages for the agent is not a trivial task. The package date is from year 24' Wondering if there is an updated package for MacOS that is compatible with Tahoe?</description>
<category>OCS Inventory NG agent for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15574/ocs-agent-2-10-3-macos-package-incompatible-tahoe</guid>
<pubDate>Wed, 08 Apr 2026 13:52:55 +0000</pubDate>
</item>
<item>
<title>Answered: Erreur installation paquet - kill Windows process</title>
<link>https://ask.ocsinventory-ng.org/15559/erreur-installation-paquet-kill-windows-process?show=15573#a15573</link>
<description>&lt;pre&gt;please try this

@echo off
title Installation NotePad++
echo Installation in progress, please wait
echo.

echo Closing NotePad++
taskkill /im notepad++.exe /f &amp;gt;nul 2&amp;gt;&amp;amp;1

echo Installing &quot;NotePad++&quot;
msiexec /i &quot;npp.8.9.1.Installer.x64.msi&quot; /qn /norestart

echo.
echo Copying configuration file...
if exist &quot;C:\Program Files\Notepad++\&quot; (
    copy /Y config.model.xml &quot;C:\Program Files\Notepad++\&quot;
) else if exist &quot;C:\Program Files (x86)\Notepad++\&quot; (
    copy /Y config.model.xml &quot;C:\Program Files (x86)\Notepad++\&quot;
)

echo.
echo Installation finished
exit /B 0

The exit code 1 simply comes from the fact that Notepad++ was not running at the time of execution.&lt;/pre&gt;</description>
<category>OCS Inventory NG agent for Windows</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15559/erreur-installation-paquet-kill-windows-process?show=15573#a15573</guid>
<pubDate>Thu, 02 Apr 2026 05:53:10 +0000</pubDate>
</item>
<item>
<title>Answered: Upload MSI: CSRF ATTACK!!!</title>
<link>https://ask.ocsinventory-ng.org/15492/upload-msi-csrf-attack?show=15570#a15570</link>
<description>&lt;p&gt;It's important to note that while CSRF attacks pose significant risks, enhancing user awareness and implementing robust security measures can mitigate these threats effectively. Collaboration among developers is key!&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://ask.ocsinventory-ng.org/15492/upload-msi-csrf-attack&quot;&gt;https://ask.ocsinventory-ng.org/15492/upload-msi-csrf-attack&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://snowrider-game.io&quot;&gt;snowrider&lt;/a&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15492/upload-msi-csrf-attack?show=15570#a15570</guid>
<pubDate>Mon, 23 Mar 2026 04:08:18 +0000</pubDate>
</item>
<item>
<title>Answered: User session timeout</title>
<link>https://ask.ocsinventory-ng.org/15494/user-session-timeout?show=15567#a15567</link>
<description>&lt;p&gt;Same question (although I'm using docker).&lt;/p&gt;&lt;p&gt;I changed both :&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;session.cookie_lifetime&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;session.gc_maxlifetime&lt;/span&gt;&lt;/p&gt;&lt;p&gt;in php.ini, it did nothing.&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15494/user-session-timeout?show=15567#a15567</guid>
<pubDate>Thu, 12 Mar 2026 12:52:02 +0000</pubDate>
</item>
<item>
<title>Answered: Modifying the SSN field read by the agent.</title>
<link>https://ask.ocsinventory-ng.org/15561/modifying-the-ssn-field-read-by-the-agent?show=15565#a15565</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;If you need to change the value for inventory or asset management reasons, there are a few safer options:&lt;/p&gt;&lt;p&gt;Create a custom field and send the modified value through a plugin script.&lt;/p&gt;&lt;p&gt;Modify the value on the server side after the inventory is received (for example with database rules or post-processing &lt;a rel=&quot;nofollow&quot; href=&quot;https://snake-game.io&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt;snake game&lt;/span&gt;&lt;/a&gt;&amp;nbsp;scripts).&lt;/p&gt;&lt;p&gt;Use the registry inventory feature of the agent to send a custom identifier that replaces the serial number in your asset workflow.&lt;/p&gt;</description>
<category>OCS Inventory NG agent for Windows</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15561/modifying-the-ssn-field-read-by-the-agent?show=15565#a15565</guid>
<pubDate>Thu, 12 Mar 2026 09:27:50 +0000</pubDate>
</item>
<item>
<title>Answered: Does Officepack plugin support Office 2019?</title>
<link>https://ask.ocsinventory-ng.org/15331/does-officepack-plugin-support-office-2019?show=15558#a15558</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;My company has developed more than 90 exclusive plugins for OCS (predictive maintenance, advanced Bios informations, supervision, helpdesk &amp;amp; IT support, status summary, multiple SNMP device type, geolocation of Windows machines, Microsoft Office, AD and local users, etc.)&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;If you want more information, please contact me privately.&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;Best regards, Stephane&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=2734727748779261365&quot; style=&quot;height:206px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=15783120625242800231&quot; style=&quot;height:115px; width:600px&quot;&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15331/does-officepack-plugin-support-office-2019?show=15558#a15558</guid>
<pubDate>Sun, 15 Feb 2026 21:39:54 +0000</pubDate>
</item>
<item>
<title>Answered: Plugin for Rustdesk</title>
<link>https://ask.ocsinventory-ng.org/14384/plugin-for-rustdesk?show=15557#a15557</link>
<description>&lt;p&gt;Or, if you prefer, here's an example of a plugin we offer our clients :&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=10050707425661028885&quot; style=&quot;height:234px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/14384/plugin-for-rustdesk?show=15557#a15557</guid>
<pubDate>Sun, 15 Feb 2026 21:21:24 +0000</pubDate>
</item>
<item>
<title>Answered: Injector inventory mismatch</title>
<link>https://ask.ocsinventory-ng.org/15507/injector-inventory-mismatch?show=15556#a15556</link>
<description>&lt;p style=&quot;text-align: justify;&quot;&gt;I have the same question&lt;/p&gt;&lt;p style=&quot;text-align: right;&quot;&gt;&lt;a style=&quot;text-align: right;&quot; rel=&quot;nofollow&quot; href=&quot;https://sprunkigames.io&quot;&gt;&lt;span style=&quot;color:#ffffff&quot;&gt;&lt;span style=&quot;font-size:8px&quot;&gt;Sprunki&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;text-align:right&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: right;&quot;&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15507/injector-inventory-mismatch?show=15556#a15556</guid>
<pubDate>Tue, 10 Feb 2026 02:08:44 +0000</pubDate>
</item>
<item>
<title>Answered: Import asset using XML</title>
<link>https://ask.ocsinventory-ng.org/13938/import-asset-using-xml?show=15555#a15555</link>
<description>Interested to see what others have found works reliably for customized XML imports in 2.9.x.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/13938/import-asset-using-xml?show=15555#a15555</guid>
<pubDate>Tue, 10 Feb 2026 02:06:49 +0000</pubDate>
</item>
<item>
<title>Answered: Bitlocker Status not syncing</title>
<link>https://ask.ocsinventory-ng.org/15550/bitlocker-status-not-syncing?show=15554#a15554</link>
<description>&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=12631226445051975166&quot; style=&quot;height:73px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;Here working normally.&lt;br&gt;&lt;br&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://martinsec.com.br&quot;&gt;Call me by clicking here and I can help.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=7TZusmn_xHc&amp;amp;list=PL3bg0UWF3RTtAql0hZjFXok-Vei8AjejU&quot;&gt;Here's my free OCS course.&lt;/a&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15550/bitlocker-status-not-syncing?show=15554#a15554</guid>
<pubDate>Tue, 10 Feb 2026 01:25:48 +0000</pubDate>
</item>
<item>
<title>Answered: Linux Agent : Deflating problem</title>
<link>https://ask.ocsinventory-ng.org/15544/linux-agent-deflating-problem?show=15549#a15549</link>
<description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Change&amp;nbsp;&amp;nbsp;&lt;span style=&quot;white-space:pre-wrap&quot;&gt;server=&lt;a href=&quot;https://ocs.XXX.fr/ocsreports/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://ocs.XXX.fr/ocsreports/&lt;/a&gt; with &lt;/span&gt;&lt;span style=&quot;white-space:pre-wrap&quot;&gt;server=&lt;a href=&quot;https://ocs.XXX.fr/ocsreports/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://ocs.XXX.fr/ocsinventory/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space:pre-wrap&quot;&gt;Restart ocs agent.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space:pre-wrap&quot;&gt;Regards&lt;/span&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG agent for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15544/linux-agent-deflating-problem?show=15549#a15549</guid>
<pubDate>Wed, 21 Jan 2026 07:34:13 +0000</pubDate>
</item>
<item>
<title>Answered: Ajouter dans la documentation de API</title>
<link>https://ask.ocsinventory-ng.org/15506/ajouter-dans-la-documentation-de-api?show=15545#a15545</link>
<description>&lt;p&gt;Effectivement, cette précision manque souvent dans la documentation et peut bloquer l’accès à l’API si la configuration n’est pas activée ou si l’accès est limité à localhost.&lt;/p&gt;&lt;p style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size:8px&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://space-waves.co&quot;&gt;&lt;span style=&quot;color:#ffffff&quot;&gt;space waves&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15506/ajouter-dans-la-documentation-de-api?show=15545#a15545</guid>
<pubDate>Fri, 09 Jan 2026 03:57:14 +0000</pubDate>
</item>
<item>
<title>Answered: Synchronisation &amp; MAJ des PC OCS dans Glpi 11</title>
<link>https://ask.ocsinventory-ng.org/15505/synchronisation-%26-maj-des-pc-ocs-dans-glpi-11?show=15543#a15543</link>
<description>Bonjour,&lt;br /&gt;
&lt;br /&gt;
Non, pas de solution..&lt;br /&gt;
&lt;br /&gt;
Je me dirige vers une solution de 2 serveurs..1 GLPI...1 OCS..&lt;br /&gt;
&lt;br /&gt;
Mais ce n'est pas gagné encore..impossible de connecter la base de données OCS à GLPI..&lt;br /&gt;
&lt;br /&gt;
Donc pas de synchro..retour au point de départ..</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15505/synchronisation-%26-maj-des-pc-ocs-dans-glpi-11?show=15543#a15543</guid>
<pubDate>Fri, 12 Dec 2025 13:30:38 +0000</pubDate>
</item>
<item>
<title>Answered: Export full inventory to CSV/Excel</title>
<link>https://ask.ocsinventory-ng.org/15528/export-full-inventory-to-csv-excel?show=15541#a15541</link>
<description>There is no single built‑in “one click” export for exactly that custom dataset, but you can get close from the console and, for full control, use a SQL query on the OCS database&lt;br /&gt;
&lt;br /&gt;
Go to All Computers → Inventory / Search&lt;br /&gt;
&lt;br /&gt;
Build a query with criteria you want (or simply “all computers”), then use the column selector to add:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Computer name&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;User logged in&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Memory, processor, disk info&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Operating system&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;These fields are available in the standard search parameters.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Run the query, then use the export function (CSV) from the result list. OCS can export inventory query results to CSV, which you can open directly in Excel.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This export will not list all installed software per machine in the same row; software is a separate table and is usually reported either per machine detail or via software‑centric reports&lt;br /&gt;
&lt;br /&gt;
For a full “flat” CSV with basic hardware, OS, and software like Microsoft Office / LibreOffice, you can query the OCS MySQL/MariaDB database directly and then redirect the result to CSV</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15528/export-full-inventory-to-csv-excel?show=15541#a15541</guid>
<pubDate>Wed, 10 Dec 2025 10:30:53 +0000</pubDate>
</item>
<item>
<title>Answered: Err 404 de l'Agent</title>
<link>https://ask.ocsinventory-ng.org/15520/err-404-de-lagent?show=15540#a15540</link>
<description>Ok, merci..j'ai vus dans les doc, que ce port par défaut est fermé..&lt;br /&gt;
&lt;br /&gt;
malgré la commande bin-address = 0.0.0.0&lt;br /&gt;
&lt;br /&gt;
je vais continuer à chercher.. entre-temps je charge mon serveur GLPI, j'ai 15 ans d'archives à saisir bd corrompue..&lt;br /&gt;
c'est pour cela que le cherchais la relation entre les serveurs..pour charger les PC, (plus de 400)..depuis la nouvelle installation de GLPI, c'est galère..je suis souvent passé au travers, mais suite à MAJ, impossible..les deux serveurs sont un bon compromis..si un tombe, il y a toujours l'autre, mais chacun remonte des inventaires légèrement différents..&lt;br /&gt;
&lt;br /&gt;
Encore merci pour ton soutient..&lt;br /&gt;
&lt;br /&gt;
Je te tiendrai informer si j'arrive à joindre les deux..</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15520/err-404-de-lagent?show=15540#a15540</guid>
<pubDate>Tue, 02 Dec 2025 14:32:31 +0000</pubDate>
</item>
<item>
<title>Answered: Plugins doesn't work</title>
<link>https://ask.ocsinventory-ng.org/15510/plugins-doesnt-work?show=15519#a15519</link>
<description>Hi Sokatra,&lt;br /&gt;
&lt;br /&gt;
Indeed, OCS offers an effective solution comparable in this respect to comprehensive and expensive tools like SCCM or LANDesk, which require spending tens of thousands of euros each year, but OCS necessitate external expertise to fully exploit their capabilities.&lt;br /&gt;
&lt;br /&gt;
Regarding my plugins (all perfectly functional and up-to-date), they represent 8 to 10 years of work as an expert, so I wish good luck to anyone who wants to do the same.&lt;br /&gt;
&lt;br /&gt;
But you're right, providing the list of plugins to everyone without any initial collaboration generates ideas, but from the initial idea to the design and implementation, there's still a significant amount of research and study involved.&lt;br /&gt;
&lt;br /&gt;
Thank you for this open discussion.&lt;br /&gt;
&lt;br /&gt;
Note: Message sent via Ask private messaging</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15510/plugins-doesnt-work?show=15519#a15519</guid>
<pubDate>Tue, 18 Nov 2025 08:15:29 +0000</pubDate>
</item>
<item>
<title>Add a field &quot;FILE&quot; in administrative data</title>
<link>https://ask.ocsinventory-ng.org/15502/add-a-field-file-in-administrative-data</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;How to add a field &quot;FILE&quot; in administrative data?&lt;/p&gt;&lt;p&gt;When I add a file, I only get those field types:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;TEXT&lt;/li&gt;&lt;li&gt;TEXTAREA&lt;/li&gt;&lt;li&gt;SELECT&lt;/li&gt;&lt;li&gt;CHECKBOX&lt;/li&gt;&lt;li&gt;DATE&lt;/li&gt;&lt;li&gt;RADIOBUTTON&lt;/li&gt;&lt;li&gt;NUMBER&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;I am sure I was able to add a field in which I could put a file, before in a previous version of OCS.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Thanks a lot,&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Frédéric&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px; border-spacing: 1px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div class=&quot;col-md-6&quot;&gt;&lt;div class=&quot;col-xs-4&quot;&gt;&lt;h4&gt;Systeme&lt;/h4&gt;&lt;ul class=&quot;server-information-ul&quot;&gt;&lt;li&gt;Nom du système : Linux x86_64&lt;/li&gt;&lt;li&gt;Version :&amp;nbsp;6.12.43+deb13-amd64&lt;/li&gt;&lt;li&gt;RAM totale :&amp;nbsp;1973 Mo&lt;/li&gt;&lt;li&gt;RAM disponible :777 Mo&lt;/li&gt;&lt;li&gt;CPU :&amp;nbsp;Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz&lt;/li&gt;&lt;li&gt;Distribution :&amp;nbsp;Debian GNU/Linux 13 (trixie)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;col-md-6&quot;&gt;&lt;h4&gt;Logiciel&lt;/h4&gt;&lt;div class=&quot;col-xs-4&quot;&gt;&lt;ul class=&quot;server-information-ul&quot;&gt;&lt;li&gt;Version de PHP :&amp;nbsp;8.4.11&lt;/li&gt;&lt;li&gt;Serveur Web :&amp;nbsp;Apache/2.4.65 (Debian)&lt;/li&gt;&lt;li&gt;Serveur SQL :&amp;nbsp;MariaDB/Server version 11.8.3-MariaDB-0+deb13u1 from Debian&lt;/li&gt;&lt;li&gt;Version OCSReports:&amp;nbsp;2.12.3&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</description>
<category>Administrative console</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15502/add-a-field-file-in-administrative-data</guid>
<pubDate>Wed, 29 Oct 2025 15:12:34 +0000</pubDate>
</item>
<item>
<title>OCS Inventory SNMP return nothing</title>
<link>https://ask.ocsinventory-ng.org/15498/ocs-inventory-snmp-return-nothing</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have OCS Inventory with ARP enabled, and it works great. However, I’m trying to enable SNMP, and although everything seems configured correctly, it doesn’t work.&lt;/p&gt;&lt;p&gt;I tried running the agent locally with on a debian 12:&lt;/p&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;p&gt;ocsinventory-agent --local=/tmp/&lt;/p&gt;&lt;p&gt;…but the result is the same: ARP works, but SNMP finds 0 OID.&lt;/p&gt;&lt;p&gt;Here is an example of the log:&lt;/p&gt;&lt;pre&gt;
&lt;/pre&gt;&lt;p&gt;[Tue Oct 28 16:48:18 2025][debug] [snmpscan] Scanning device 192.168.1.1&lt;/p&gt;&lt;p&gt;&amp;nbsp;[Tue Oct 28 16:48:18 2025][info] [snmpscan] No more SNMP device to scan&amp;nbsp;&lt;/p&gt;&lt;p&gt;[Tue Oct 28 16:48:18 2025][debug] checking XML&lt;/p&gt;&lt;p&gt;&amp;nbsp;[Tue Oct 28 16:48:18 2025][debug] sending XML&lt;/p&gt;&lt;p&gt;&amp;nbsp;[Tue Oct 28 16:48:18 2025][debug] sending:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;REQUEST&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;DEVICEID&amp;gt;example-01-2025-10-28-09-37-39&amp;lt;/DEVICEID&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;QUERY&amp;gt;SNMP&amp;lt;/QUERY&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;/REQUEST&amp;gt;&lt;/p&gt;&lt;p&gt;Could you help me understand why SNMP is not returning any OID?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance!&lt;/p&gt;</description>
<category>OCS Inventory NG agent for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15498/ocs-inventory-snmp-return-nothing</guid>
<pubDate>Tue, 28 Oct 2025 16:02:38 +0000</pubDate>
</item>
<item>
<title>Add file to computer in Administrative Data</title>
<link>https://ask.ocsinventory-ng.org/15497/add-file-to-computer-in-administrative-data</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;We had an old OCSinventory server on Windows who crashed.&lt;/p&gt;&lt;p&gt;We have the SQL backup so I thought it's better to install a new up to date OCSinventory server on Debian than upload the SQL backup.&lt;/p&gt;&lt;p&gt;It wasn't that easy be it has been done.&lt;/p&gt;&lt;p&gt;Now we face 2 problems.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;In the old Windows version, we added the corresponding invoice to the computer in the Administrative tab. I remember I added that field so we were able to upload file (invoice) to the server for each computer. Now I can still see the name of that field but there are no files anymore and no possibility to add or download one. I checked and the field type is&amp;nbsp;CHECKBOX. Shouldn't it be FILE ? I cant put back FILE as a field type. How to enable that ?&lt;/li&gt;&lt;li&gt;For some computers we lost the date of purchase, it shows 1970-01-01 instead of the real&amp;nbsp;date of purchase and also instead of 01/01/1970.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Do you how I can solve this ?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;h3&gt;Informations du serveur&lt;/h3&gt;&lt;p&gt;Systeme&lt;/p&gt;&amp;nbsp;&lt;ul&gt;&lt;li&gt;Nom du système :&lt;/li&gt;&lt;li&gt;Version :&lt;/li&gt;&lt;li&gt;RAM totale :&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;li&gt;RAM disponible :&lt;/li&gt;&lt;li&gt;CPU :&lt;/li&gt;&lt;li&gt;Distribution :&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Linux x86_64&lt;/li&gt;&lt;li&gt;6.12.43+deb13-amd64&lt;/li&gt;&lt;li&gt;1973 Mo&lt;/li&gt;&lt;li&gt;870 Mo&lt;/li&gt;&lt;li&gt;Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz&lt;/li&gt;&lt;li&gt;Debian GNU/Linux 13 (trixie)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Logiciel&lt;/p&gt;&amp;nbsp;&lt;ul&gt;&lt;li&gt;Version de PHP :&lt;/li&gt;&lt;li&gt;Serveur Web :&lt;/li&gt;&lt;li&gt;Serveur SQL :&lt;/li&gt;&lt;li&gt;Version OCSReports:&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;8.4.11&lt;/li&gt;&lt;li&gt;Apache/2.4.65 (Debian)&lt;/li&gt;&lt;li&gt;-- Please help get to 10k stars at &lt;a href=&quot;https://github.com/MariaDB/Server&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://github.com/MariaDB/Server&lt;/a&gt; version 11.8.3-MariaDB-0+deb13u1 from Debian&lt;/li&gt;&lt;li&gt;2.12.3&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Thanks &amp;amp; thanks&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15497/add-file-to-computer-in-administrative-data</guid>
<pubDate>Mon, 27 Oct 2025 15:13:16 +0000</pubDate>
</item>
<item>
<title>Connect ocs server through internet nat port</title>
<link>https://ask.ocsinventory-ng.org/15496/connect-ocs-server-through-internet-nat-port</link>
<description>Hi&lt;br /&gt;
&lt;br /&gt;
I am now installed ocs-server on my local network, it work very good with local network device in the same subnet. I am using Nginx Proxy Manager (NPM) to expose it to the internet. Now I cannot connect agent from a random device via the link website which I have exposed.&lt;br /&gt;
&lt;br /&gt;
please give me a way to handle or find out the problem. I can log in and manage ocs through the internet using the preset path. I have opened port 80 and 443 on the firewall.&lt;br /&gt;
&lt;br /&gt;
kindly thanks!</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15496/connect-ocs-server-through-internet-nat-port</guid>
<pubDate>Sat, 25 Oct 2025 17:41:18 +0000</pubDate>
</item>
<item>
<title>Deployment Failed / Success</title>
<link>https://ask.ocsinventory-ng.org/15490/deployment-failed-success</link>
<description>When deploying the OCS agent (Tool Version 2.3.0.0), I receive a ‘failed’ error. In the deployment tools log, an error is detected: 'Host &amp;lt;PC323&amp;gt; *** ERROR *** Unable to open or read setup log file on remote host: The system cannot find the file specified.' However, the OCS-Windows-Agent-Setup-x86.log log says ‘SUCCESS: OCS Inventory NG Agent 2.8.0.0 successfully installed on 09/26/2025 at 9:08:03 ;-)’. I can access \\PC323\C$\ProgramData from the server. PSEXEC also works correctly since the installation was done via PSEXEC. This is annoying from a management perspective. I am never sure that the agent has been installed... Any ideas? Thanks</description>
<category>OCS Inventory NG agent for Windows</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15490/deployment-failed-success</guid>
<pubDate>Fri, 26 Sep 2025 07:54:24 +0000</pubDate>
</item>
<item>
<title>Error modifying config</title>
<link>https://ask.ocsinventory-ng.org/15488/error-modifying-config</link>
<description>Everytime i try to modify config like&lt;br /&gt;
ADVANCE_CONFIGURATION 0 -&amp;gt; 1&lt;br /&gt;
I get this error in Apache:&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; SERVERNAME-ssl_error_ssl.log &amp;lt;==&lt;br /&gt;
[Wed Sep 24 12:43:51.091630 2025] [php:error] [pid 6988:tid 6988] [client 10.0.0.0:56542] PHP Fatal error: &amp;nbsp;Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php:435\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php(435): mysqli_fetch_array()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php(449): fetchValues()\n#2 /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_config/ms_config.php(46): update_default_value()\n#3 /usr/share/ocsinventory-reports/ocsreports/require/header.php(434): require('...')\n#4 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('...')\n#5 {main}\n &amp;nbsp;thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_config_generale.php on line 435, referer: https://SERVER_URL/ocsreports/index.php?function=admin_conf&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; SERVERNAME-ssl_access_ssl.log &amp;lt;==&lt;br /&gt;
10.0.0.0 - - [24/Sep/2025:12:43:51 +0200] &amp;quot;POST /ocsreports/index.php?function=admin_conf HTTP/1.1&amp;quot; 200 8827 &amp;quot;https://SERVER_URL/ocsreports/index.php?function=admin_conf&amp;quot; &amp;quot;Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0&amp;quot;&lt;br /&gt;
10.0.0.0 - - [24/Sep/2025:12:43:51 +0200] &amp;quot;GET /ocsreports/plugins/main_sections/ms_search_soft/js/print.js HTTP/1.1&amp;quot; 200 765 &amp;quot;https://SERVER_URL/ocsreports/index.php?function=admin_conf&amp;quot; &amp;quot;Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I can change in the database itself and it changes&lt;br /&gt;
&lt;br /&gt;
The config in /etc/ocsinventory-reports/dbconfig.inc.php is correct and has read and write. (var.php i also pointing to that config)&lt;br /&gt;
&lt;br /&gt;
I am running version 2.11.1&lt;br /&gt;
&lt;br /&gt;
I cant figure out why this is.&lt;br /&gt;
Similar error when changing ADVANCE_CONFIGURATION in DB then trying to access LDAP Settings, just getting a blank page.&lt;br /&gt;
Any idea what could be wrong would be appreciated.&lt;br /&gt;
The OCS-Server itself works fine and have no issues except that i cant manually change configs using the web UI</description>
<category>Administrative console</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15488/error-modifying-config</guid>
<pubDate>Wed, 24 Sep 2025 10:50:44 +0000</pubDate>
</item>
<item>
<title>Winusers Plug in Issue</title>
<link>https://ask.ocsinventory-ng.org/15483/winusers-plug-in-issue</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have an OCS server.&lt;br /&gt;
&lt;br /&gt;
PHP version:&lt;br /&gt;
&lt;br /&gt;
Web server:&lt;br /&gt;
&lt;br /&gt;
SQL server:&lt;br /&gt;
&lt;br /&gt;
OCSReports version:&lt;br /&gt;
&lt;br /&gt;
8.2.28&lt;br /&gt;
&lt;br /&gt;
Apache/2.4.62 (Debian)&lt;br /&gt;
&lt;br /&gt;
Debian 12 version 10.11.11-MariaDB-0+deb12u1&lt;br /&gt;
&lt;br /&gt;
2.12.1&lt;br /&gt;
&lt;br /&gt;
On which I installed the Winusers plug-in, the plugin is executed successfully on the client side.&lt;br /&gt;
&lt;br /&gt;
EXECUTABLE PLUGIN =&amp;gt; Found executable plugin &amp;lt;winusers.vbs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXECUTABLE PLUGIN =&amp;gt; Plugin &amp;lt;winusers.vbs&amp;gt; executed successfully&lt;br /&gt;
&lt;br /&gt;
No errors on the server side, but this log does not appear: OCS-NG_WINDOWS_AGENT_v2.10.1.0;inventory;u:winusers&lt;br /&gt;
&lt;br /&gt;
So I don't have any information returned on the web side.</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15483/winusers-plug-in-issue</guid>
<pubDate>Wed, 10 Sep 2025 07:44:16 +0000</pubDate>
</item>
<item>
<title>Docker You can't send a file larger than 2MMB</title>
<link>https://ask.ocsinventory-ng.org/15478/docker-you-cant-send-a-file-larger-than-2mmb</link>
<description>Unable to store the agent due to error. I am familiar with the php.ini max upload size, however this is a docker container. I tried adding to the my.cnf in the Mysql container and restart via docker compose however it did not help. Any ideas where this setting should be changed. I been working at it for a while now and figured I would reach out for help. Also 2MMB is a typo so that could be why I cant upload becuase 2MMB is not a size.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15478/docker-you-cant-send-a-file-larger-than-2mmb</guid>
<pubDate>Tue, 02 Sep 2025 19:33:59 +0000</pubDate>
</item>
<item>
<title>Non remontée de données dans OCS</title>
<link>https://ask.ocsinventory-ng.org/15477/non-remont%C3%A9e-de-donn%C3%A9es-dans-ocs</link>
<description>&lt;p&gt;J'ai packagé un agent windows x64 avec les plugins Teamviewer, Office Pack et Winupdate.&amp;nbsp;&lt;br&gt;J'ai ensuite créé un script ps1 pour récupérer des informations sur des logiciels internes.&amp;nbsp;&lt;br&gt;Lorsque j'exécute le ps1 en local dans une console powershell, j'ai bien un xml en sortie mais lorsque je force la synchro de l'agent, les infos ne remontent jamais au serveur ...&amp;nbsp;&lt;br&gt;Côté serveur j'ai :&amp;nbsp;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&quot;IP_SERVER&quot; - - [20/Aug/2025:11:44:22 +0200] &quot;POST /ocsinventory HTTP/1.0&quot; 200 466 &quot;-&quot; &quot;OCS-NG_WINDOWS_AGENT_v2.11.0.1&quot;&lt;/span&gt;&lt;br&gt;&lt;br&gt;Je ne comprends pas pourquoi les infos des plugins et de mon script ne remontent pas alors que toutes les autres infos de base oui ... Merci de votre aide&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15477/non-remont%C3%A9e-de-donn%C3%A9es-dans-ocs</guid>
<pubDate>Mon, 01 Sep 2025 16:47:49 +0000</pubDate>
</item>
<item>
<title>Blank OCSInventory notification</title>
<link>https://ask.ocsinventory-ng.org/15466/blank-ocsinventory-notification</link>
<description>We have some computers in our OCS Inventory, but the report always come blank. I mean: 0 Windows and 0 Linux machines...&lt;br /&gt;
&lt;br /&gt;
What do we need to do to have this report filled?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
Regards.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15466/blank-ocsinventory-notification</guid>
<pubDate>Fri, 29 Aug 2025 15:15:31 +0000</pubDate>
</item>
<item>
<title>Criterias for cron_mailer.php to send e-mails</title>
<link>https://ask.ocsinventory-ng.org/15462/criterias-for-cron_mailer-php-to-send-e-mails</link>
<description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;I have NOTIF_FOLLOW enabled and NOTIF_PROG_TIME is set to 06:00 PM.&lt;/p&gt;&lt;p&gt;By some reason, the &quot;php cront_mailer.php&quot; does nothing, unless I &quot;hack it&quot; and change the &quot;if&quot; line to always true. Like this:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;//if($values['NOTIF_FOLLOW'] == 'ON' &amp;amp;&amp;amp; $values['NOTIF_PROG_TIME'] == date('H:i') &amp;amp;&amp;amp; array_key_exists(date('l'), $day)){&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;if (true) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&amp;nbsp; &amp;nbsp; $mail-&amp;gt;config_mailer();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&amp;nbsp; &amp;nbsp; $selected = $mail-&amp;gt;get_notif_selected();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&amp;nbsp; &amp;nbsp; $body_mail = $mail-&amp;gt;get_all_information($selected);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&amp;nbsp; &amp;nbsp; $mail-&amp;gt;send_notification($body_mail[$selected]['SUBJECT'], $body_mail[$selected]['FILE'], $selected);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I'm pretty sure that NOTIF_FOLLOW and NOTIF_PROG_TIME are ok, but what is the meaning of array_key_exists(date('l'), $day) ?&lt;/p&gt;&lt;p&gt;Thanks.&lt;br&gt;Regards.&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15462/criterias-for-cron_mailer-php-to-send-e-mails</guid>
<pubDate>Tue, 26 Aug 2025 21:07:06 +0000</pubDate>
</item>
<item>
<title>Total beginner - Software does not show</title>
<link>https://ask.ocsinventory-ng.org/15461/total-beginner-software-does-not-show</link>
<description>&lt;p&gt;Software section comes up empty. I have gotten as far as phpMyAdmin, found where the software table lives, ocsweb&amp;gt;software&lt;/p&gt;&lt;p&gt;There are over 4,000,000 entries in the software table.&lt;/p&gt;&lt;p&gt;Is there any routine maintenance, say under Operations that can be done to cut the size down, IF the size is what is causing Software not to show up in the OCS Inventory page?&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Operating System&lt;br&gt;OS Name : Linux x86_64&lt;br&gt;Version : 5.15.0-67-generic&lt;br&gt;RAM installed : 5933 MB&lt;br&gt;Free RAM : 4593 MB&lt;br&gt;CPU : Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz&lt;br&gt;Distribution : Ubuntu 20.04.3 LTS&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Software&lt;br&gt;PHP Version : 7.4.26&lt;br&gt;Web Server : Apache/2.4.41 (Ubuntu)&lt;br&gt;Database Server :Ubuntu 20.04 version 10.3.39-MariaDB-0ubuntu0.20.04.2&lt;br&gt;Version OCSReports: 2.8.1&lt;/span&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15461/total-beginner-software-does-not-show</guid>
<pubDate>Tue, 26 Aug 2025 14:25:05 +0000</pubDate>
</item>
<item>
<title>Docker Default Network Conflict</title>
<link>https://ask.ocsinventory-ng.org/15455/docker-default-network-conflict</link>
<description>We use the 127.18.x.x address range for our wireless network. How can we change the default network for the docker containers?</description>
<category>IP Discover</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15455/docker-default-network-conflict</guid>
<pubDate>Wed, 20 Aug 2025 20:17:31 +0000</pubDate>
</item>
<item>
<title>software categories not affected</title>
<link>https://ask.ocsinventory-ng.org/15454/software-categories-not-affected</link>
<description>&lt;p&gt;I've create many categories&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=4440803006054939418&quot; style=&quot;height:268px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;in all software list the categories a not affected to the software&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=17863449735067318693&quot; style=&quot;height:268px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;I've run&amp;nbsp;the php script (&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;cron_all_software.php)&lt;/span&gt;&amp;nbsp;and no changes&lt;br&gt;some software are not avalaible in the list to be add to the category list&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=13010614606554611618&quot; style=&quot;height:243px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=13882891595747812622&quot; style=&quot;height:231px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;How can I fix this ?&lt;/p&gt;&lt;p&gt;how to reset all the software inventory if necessary?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Administrative console</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15454/software-categories-not-affected</guid>
<pubDate>Wed, 20 Aug 2025 14:35:42 +0000</pubDate>
</item>
<item>
<title>Plugin Sans remontée d'infos sur serveur</title>
<link>https://ask.ocsinventory-ng.org/15453/plugin-sans-remont%C3%A9e-dinfos-sur-serveur</link>
<description>Bonjour,&lt;br /&gt;
&lt;br /&gt;
Suite à une installation vierge OCS (2.12.3) / GLPI (10.0.19) &amp;nbsp;sur Linux Debian 12 PHP 8.2 Mariadb 10&lt;br /&gt;
&lt;br /&gt;
La remontée d'inventaire GLPI et Ok, celle OCS est Ok, la relation OCS / GLPI est fonctionnelle.&lt;br /&gt;
&lt;br /&gt;
Mais sur le serveur OCS, certains plugins sont vide d'infos alors que d'autres sont correctement fonctionnelle.&lt;br /&gt;
&lt;br /&gt;
J'ai raté certainement quelques config sur le serveur, ou il y a une incompatibilité des plugins avec la version du serveur OCS.&lt;br /&gt;
&lt;br /&gt;
Si quelqu'un a une idée, j'ai épuiser toute mes ressources, et &amp;nbsp;mes solutions des années précédentes..&lt;br /&gt;
&lt;br /&gt;
Je n'ai pas fait de restauration de bd, les PC ont contacter le nouveau serveur via l'adresse IP et l'URL lors de l'installation des agents sur PC clients,&lt;br /&gt;
j'utilise plusieurs version d'agents OCS, et tous ont remonté leur inventaire correctement sauf certains plugins qui sont restés vide d'infos..&lt;br /&gt;
&lt;br /&gt;
En vous remerciant..&lt;br /&gt;
&lt;br /&gt;
Epoc..</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15453/plugin-sans-remont%C3%A9e-dinfos-sur-serveur</guid>
<pubDate>Wed, 20 Aug 2025 14:08:09 +0000</pubDate>
</item>
<item>
<title>Can't make agent work with Docker + SSL</title>
<link>https://ask.ocsinventory-ng.org/15452/cant-make-agent-work-with-docker-ssl</link>
<description>&lt;p&gt;Hi, I have set up a server (debian 12 + ocs docker image 2.12.3)&lt;/p&gt;&lt;p&gt;agent on windows 10 22h2 version 2.1.1.1&lt;/p&gt;&lt;p&gt;Architecture :&lt;/p&gt;&lt;p&gt;Windows Agent (with root-ca file deployed and specified in the config file) -&amp;gt; Docker Nginx reverse proxy [enforces https same root ca] -&amp;gt; Docker Ocs Inventory server (root-ca file deployed and specified in the config file)&lt;/p&gt;&lt;p&gt;The ocsreports interface is working fine with https, but no machine inventory appears.&lt;/p&gt;&lt;p&gt;I tried editing many configuration files (including apache inside the container) but to no avail&lt;/p&gt;&lt;p&gt;No apache access logs are written when the agent inventory is triggered.&lt;/p&gt;&lt;p&gt;Logs are written when accessing the webui.&lt;/p&gt;&lt;p&gt;I also noted the source ip in the apache logs are those of the reverse proxy and not the client computer.&lt;/p&gt;&lt;p&gt;In dockerfile &amp;amp; docker-compose, I defined :&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;OCS_SSL_KEY=/certs/ocs.key&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;OCS_SSL_CERT=/certs/ocs.pem&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;OCS_SSL_CA=/certs/ca.pem&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Agent conf :&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;[HTTP]&lt;br&gt;Server=ocs.xxxx.xx&lt;br&gt;SSL=1&lt;br&gt;CaBundle=C:\ProgramData\OCS Inventory NG\Agent\ca.pem&lt;br&gt;AuthRequired=0&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Agent logs :&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;AGENT =&amp;gt; Running OCS Inventory NG Agent Version 2.1.1.1&lt;br&gt;AGENT =&amp;gt; Using OCS Inventory NG FrameWork Version 2.1.1.1&lt;br&gt;AGENT =&amp;gt; Loading plug-in(s)&lt;br&gt;AGENT =&amp;gt; Using network connection with Communication Server&lt;br&gt;AGENT =&amp;gt; Using Communication Provider &amp;lt;OCS Inventory NG cURL Communication Provider&amp;gt; Version &amp;lt;2.1.1.1&amp;gt;&lt;br&gt;AGENT =&amp;gt; Sending Prolog&lt;br&gt;ERROR *** AGENT =&amp;gt; Failed to send Prolog &amp;lt;SSL connect error&amp;gt;&lt;br&gt;AGENT =&amp;gt; Unloading communication provider&lt;br&gt;AGENT =&amp;gt; Unloading plug-in(s)&lt;br&gt;AGENT =&amp;gt; Execution duration: 00:00:01.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;PS : when opening /ocsinventory with a browser (https), the &quot;Bad Request&quot; footer is : &lt;em style=&quot;-webkit-text-stroke-width:0px; color:#000000; display:inline !important; float:none; font-family:&amp;quot;Times New Roman&amp;quot;; font-size:medium; font-style:italic; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-decoration-thickness:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px&quot;&gt;Apache/2.4.52 (Ubuntu) Server at ocs.xxx.xx Port 80&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Maybe an apache-side issue ? (answering in cleartext on a ssl channel)&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15452/cant-make-agent-work-with-docker-ssl</guid>
<pubDate>Wed, 13 Aug 2025 15:36:59 +0000</pubDate>
</item>
<item>
<title>local import not possible/button missing</title>
<link>https://ask.ocsinventory-ng.org/15444/local-import-not-possible-button-missing</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
i have installed OCS according this instruction:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://wiki.ocsinventory-ng.org/03.Basic-documentation/Administration-of-OCS-Inventory-NG/#importing-inventory-for-non-network-connected-computers&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://wiki.ocsinventory-ng.org/03.Basic-documentation/Administration-of-OCS-Inventory-NG/#importing-inventory-for-non-network-connected-computers&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Everything is fine!&lt;br /&gt;
&lt;br /&gt;
Now, i want to import an .ocs file from an agent. When i choose &amp;quot;local import&amp;quot; i have no choice. I can only do manually entries. I have no upload button or something else. What can i do?&lt;br /&gt;
&lt;br /&gt;
I tried to import manually via terminal.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;All of our tools are available at the following URL : &lt;a href=&quot;https://github.com/OCSInventory-NG/OCSInventory-Server/tree/master/binutils&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://github.com/OCSInventory-NG/OCSInventory-Server/tree/master/binutils&lt;/a&gt; They are also present in the ocs inventory setup if you still have it on your server.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Therefore i need “Ocsinventory_local.pl”, but it is not to find on the link.&lt;br /&gt;
&lt;br /&gt;
Thanks for your help!</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15444/local-import-not-possible-button-missing</guid>
<pubDate>Thu, 31 Jul 2025 10:05:31 +0000</pubDate>
</item>
<item>
<title>push custom software XML from agent plugin</title>
<link>https://ask.ocsinventory-ng.org/15441/push-custom-software-xml-from-agent-plugin</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Trying to move from fusioninventory (FI) to OCS. I used FI to add custom softwares to the agent report. Trying to do the same with OCS.&lt;/p&gt;&lt;p&gt;So I&amp;nbsp;wrote a plugin, starting from the Example.pm plugin. Here's the inventory_handler function :&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;sub freepbx_inventory_handler {        #Use this hook to add or modify entries in the inventory XML
    my $self = shift;
    my $logger = $self-&amp;gt;{logger};

    $logger-&amp;gt;debug(&quot;Yeah you are in freepbx_inventory_handler :)&quot;);
    my $json = JSON-&amp;gt;new-&amp;gt;utf8-&amp;gt;boolean_values(0, 1);  # false → 0, true → 1
    # JSON string
    my $json_text = `/usr/sbin/fwconsole ma list --format json | tail -n1`;

&lt;/pre&gt;&lt;pre&gt;    # Decode JSON to perl object
    my $decoded = $json-&amp;gt;decode($json_text);

    my @modules;
    foreach my $entry (@{$decoded-&amp;gt;{data}}) {
        push @modules, {
            NAME     =&amp;gt; $entry-&amp;gt;[0],
            VERSION  =&amp;gt; $entry-&amp;gt;[1],
            PUBLISHER =&amp;gt; $entry-&amp;gt;[4],
            FROM =&amp;gt; 'freepbx'
        };
    }

    my $data_for_xml = {
        SOFTWARES =&amp;gt; \@modules
    };

    # Convert to XML
    my $xml = XMLout($data_for_xml, XMLDecl =&amp;gt; 0, NoAttr =&amp;gt; 1, RootName =&amp;gt; undef);
    my $xml = XMLout($data);
    $logger-&amp;gt;debug($xml);
    push @{ $inventory-&amp;gt;{xmlroot}-&amp;gt;{'CONTENT'} },{ $xml };
}&lt;/pre&gt;&lt;p&gt;When running this part of script standalone, it returns stuff like :&lt;/p&gt;&lt;pre&gt;  &amp;lt;SOFTWARES&amp;gt;
    &amp;lt;FROM&amp;gt;freepbx&amp;lt;/FROM&amp;gt;
    &amp;lt;NAME&amp;gt;userman&amp;lt;/NAME&amp;gt;
    &amp;lt;PUBLISHER&amp;gt;Sangoma&amp;lt;/PUBLISHER&amp;gt;
    &amp;lt;VERSION&amp;gt;16.0.44&amp;lt;/VERSION&amp;gt;
  &amp;lt;/SOFTWARES&amp;gt;
  &amp;lt;SOFTWARES&amp;gt;
    &amp;lt;FROM&amp;gt;freepbx&amp;lt;/FROM&amp;gt;
    &amp;lt;NAME&amp;gt;voicemail&amp;lt;/NAME&amp;gt;
    &amp;lt;PUBLISHER&amp;gt;Sangoma&amp;lt;/PUBLISHER&amp;gt;
    &amp;lt;VERSION&amp;gt;16.0.49&amp;lt;/VERSION&amp;gt;
  &amp;lt;/SOFTWARES&amp;gt;
  &amp;lt;SOFTWARES&amp;gt;
    &amp;lt;FROM&amp;gt;freepbx&amp;lt;/FROM&amp;gt;
    &amp;lt;NAME&amp;gt;webrtc&amp;lt;/NAME&amp;gt;
    &amp;lt;PUBLISHER&amp;gt;Sangoma&amp;lt;/PUBLISHER&amp;gt;
    &amp;lt;VERSION&amp;gt;16.0.17&amp;lt;/VERSION&amp;gt;
  &amp;lt;/SOFTWARES&amp;gt;

&lt;/pre&gt;&lt;p&gt;But when running ocsinventory-agent -l=./, I don't see this output in the generated .ocs file&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;What am I doing wrong ? Is there some doc somewhere ?&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15441/push-custom-software-xml-from-agent-plugin</guid>
<pubDate>Wed, 23 Jul 2025 11:52:23 +0000</pubDate>
</item>
<item>
<title>Retrieve extra info from Android Agent</title>
<link>https://ask.ocsinventory-ng.org/15439/retrieve-extra-info-from-android-agent</link>
<description>Hi there!&lt;br /&gt;
Thanks for your extensive and great work with OCS Inventory.&lt;br /&gt;
&lt;br /&gt;
This is our current setup:&lt;br /&gt;
Version OCSReports: 2.7 (Running on Debian GNU/Linux server)&lt;br /&gt;
OCS Inventory NG android Agent version 2.7&lt;br /&gt;
&lt;br /&gt;
We are using in a production server since some time without problems. We have windows, linux and macOS agents, and several standard and custom plugins deployed working fine.&lt;br /&gt;
&lt;br /&gt;
Now we're trying to extend the use to android phones also. We've tested the agent, it's working fine, but we would like to obtain some other information (for example the lastpublicip plugin)...I can't find information regarding the plugins deployment for android. Maybe we can just run some scripts in Android and extract the contents or just upload the results...&lt;br /&gt;
Could you please tell me if that's possible and how to advance on that?&lt;br /&gt;
We're looking for a setup for standard users (no adb, termux, or root access), but if requires something else we could evalute it of course.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
Guilletzky</description>
<category>OCS Inventory NG agent for Android</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15439/retrieve-extra-info-from-android-agent</guid>
<pubDate>Mon, 21 Jul 2025 18:43:01 +0000</pubDate>
</item>
<item>
<title>Error Installing Server  Rocky 9</title>
<link>https://ask.ocsinventory-ng.org/15437/error-installing-server-rocky-9</link>
<description>Hi, i'm trying to install OCS Inventory 2.12.3 using tar.gz file from github link.&lt;br /&gt;
and using mysql community server version 8.4. (Not Using MariaDB as database).&lt;br /&gt;
- the OCS Server installation completed successfuly&lt;br /&gt;
- when i try to access the web, it show this error&lt;br /&gt;
- &amp;quot;ERROR: MySQL for PHP is not properly installed.Try installing MySQL for php package (Debian: php5-mysql)&amp;quot;&lt;br /&gt;
The question :&lt;br /&gt;
- is OCS Server not support MySQL-Community-Server (not MariaDB) as it's database ?&lt;br /&gt;
- what log i should check to solved this issue ?</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15437/error-installing-server-rocky-9</guid>
<pubDate>Fri, 18 Jul 2025 12:01:57 +0000</pubDate>
</item>
<item>
<title>deployment.dll plugin</title>
<link>https://ask.ocsinventory-ng.org/15436/deployment-dll-plugin</link>
<description>&lt;pre class=&quot;tw-data-text tw-text-large tw-ta&quot; data-placeholder=&quot;Tradução&quot; id=&quot;tw-target-text&quot; data-ved=&quot;2ahUKEwjR9vPKzpuOAxWWILkGHfWvHyEQ3ewLegQIChAV&quot; dir=&quot;ltr&quot; aria-label=&quot;Texto traduzido: Good morning,  Installation package for the OCS agent for Windows and Linux with the deployment.dll plugin.  Good morning, if any participant here on the forum has the installation package for the OCS agent for Windows with the deployment.dll plugin and can send it to me by email *Emails are not allowed* I would be very grateful. Thank you.  Julio Costa&quot; style=&quot;font-size: 28px; line-height: 36px; background-color: rgb(248, 249, 250); border: none; padding: 2px 0.14em 2px 0px; position: relative; margin: -2px 0px; resize: none; font-family: inherit; overflow: hidden; width: 270px; color: rgb(31, 31, 31);&quot;&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;span lang=&quot;en&quot; class=&quot;Y2IQFc&quot;&gt;Good morning, if any participant here on the forum has the installation package for the OCS agent for Windows with the deployment.dll plugin and can send it to me by email *Emails are not allowed* I would be very grateful. Thank you.

Julio Costa&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15436/deployment-dll-plugin</guid>
<pubDate>Tue, 01 Jul 2025 12:52:53 +0000</pubDate>
</item>
<item>
<title>software count show value but no result</title>
<link>https://ask.ocsinventory-ng.org/15435/software-count-show-value-but-no-result</link>
<description>When i click on Inventory &amp;nbsp;- all software , in the tab count i see value. I click on it but i don't see any data on the next screen . &amp;nbsp;&amp;nbsp;i see the criteria for the specific app but no result .&lt;br /&gt;
I use the last ocs version on debian&lt;br /&gt;
any idea ?&lt;br /&gt;
Thanks in advance</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15435/software-count-show-value-but-no-result</guid>
<pubDate>Thu, 26 Jun 2025 07:28:21 +0000</pubDate>
</item>
<item>
<title>Problem of compatibility with old agent</title>
<link>https://ask.ocsinventory-ng.org/15430/problem-of-compatibility-with-old-agent</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;we use OCS inventory 2.1 RC1 on a old CentOS 5.x with Mysql 4.&lt;/p&gt;&lt;p&gt;Recently, we create a new server (ubuntu LTS 24.x) with the last version of OCS Inventory (2.12.3) and MariaDB (10.11.13).&lt;/p&gt;&lt;p&gt;We encounter multiples problems, as we used a very old version, as:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;update the database shema (detect incorrect version of database :&amp;nbsp;we executed manually all sql file since the correct version)&lt;/li&gt;&lt;li&gt;the installer clear the database after set database parameters (value of GUI_VERSION was too old in database : i manually update the value)&lt;/li&gt;&lt;li&gt;...&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;But it works now :)&lt;/p&gt;&lt;p&gt;We started to update few agents and notice that it not works with the new server.&lt;/p&gt;&lt;p&gt;When we start agent, communication works with server (code 200), but when it tries to do do report, it fails (code 500).&lt;/p&gt;&lt;p&gt;After some researches, we enable OCS_OPT_DBI_PRINT_ERROR in /etc/apache2/conf-enabled/z-ocsinventory-server.conf, and we found in /var/log/apache2/error.log :&lt;/p&gt;&lt;pre&gt;DBD::mysql::st execute failed: Unknown column 'SERVERNAME' in 'INSERT INTO' at /usr/share/perl5/Apache/Ocsinventory/Server/Inventory/Update.pm line 173.&lt;/pre&gt;&lt;p&gt;We discovered that some agents create reports with fields that not exist in database, as :&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Windows agent 2.1.1.3 under Windows 11&lt;/li&gt;&lt;li&gt;MacOS Agent 2.1.x/2.3.x/2.4.x/2.6.x/2.8.x under MacOSX 10.13.x&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;With Ocs Inventory 2.1, the server ignore the values but not the version 2.12.3.&lt;/p&gt;&lt;p&gt;The problem seems come from printers part :&lt;/p&gt;&lt;pre&gt;        &amp;lt;PRINTERS&amp;gt;
            &amp;lt;NAME&amp;gt;Microsoft Print to PDF&amp;lt;/NAME&amp;gt;
            &amp;lt;DRIVER&amp;gt;Microsoft Print To PDF&amp;lt;/DRIVER&amp;gt;
            &amp;lt;PORT&amp;gt;PORTPROMPT:&amp;lt;/PORT&amp;gt;
            &amp;lt;SERVERNAME /&amp;gt;
            &amp;lt;SHARENAME /&amp;gt;
            &amp;lt;RESOLUTION&amp;gt;600 x 600&amp;lt;/RESOLUTION&amp;gt;
            &amp;lt;COMMENT /&amp;gt;
            &amp;lt;SHARED&amp;gt;0&amp;lt;/SHARED&amp;gt;
            &amp;lt;NETWORK&amp;gt;0&amp;lt;/NETWORK&amp;gt;
        &amp;lt;/PRINTERS&amp;gt;&lt;/pre&gt;&lt;p&gt;We will update the agents to the last version for all computers compatibles, but as we have a lot of old computers, we solved the problem by adding the fields in database :&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ALTER TABLE printers ADD COLUMN SERVERNAME varchar(255) after DESCRIPTION;&lt;/li&gt;&lt;li&gt;ALTER TABLE printers ADD COLUMN RESOLUTION varchar(255) after DESCRIPTION;&lt;/li&gt;&lt;li&gt;ALTER TABLE printers ADD COLUMN SHARED varchar(255) after DESCRIPTION;&lt;/li&gt;&lt;li&gt;ALTER TABLE printers ADD COLUMN NETWORK varchar(255) after DESCRIPTION;&lt;/li&gt;&lt;li&gt;ALTER TABLE printers ADD COLUMN COMMENT varchar(255) after DESCRIPTION;&lt;/li&gt;&lt;li&gt;ALTER TABLE printers ADD COLUMN SHARENAME varchar(255) after DESCRIPTION;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I hope this could help some people, and the next version of Ocs Inventory server fix the problem.&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15430/problem-of-compatibility-with-old-agent</guid>
<pubDate>Mon, 23 Jun 2025 13:59:37 +0000</pubDate>
</item>
<item>
<title>Troubleshooting 403 errors in agent checkin</title>
<link>https://ask.ocsinventory-ng.org/15425/troubleshooting-403-errors-in-agent-checkin</link>
<description>New install of ocsinventory, all modules on the same (debian) server. &amp;nbsp;/ocs-reports seems to be working fine now, but when I install the agent on a test machine it can't reach the server module located at /ocsinventory&lt;br /&gt;
&lt;br /&gt;
The relevant line in the agent logs is:&lt;br /&gt;
&lt;br /&gt;
ERROR *** AGENT =&amp;gt; Failed to send Prolog &amp;lt;HTTP Status Code #403&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I've also tried manually pointing a browser at http://x.x.x.x/ocsinventory and I do indeed get a 403 error. &amp;nbsp;When I do the same from the server itself I get a blank page, which I assume is intended.&lt;br /&gt;
&lt;br /&gt;
I do not have a firewall or any network-level blocks between the agent computer and the server. &amp;nbsp;I assume I have misconfigured something.&lt;br /&gt;
&lt;br /&gt;
If I compare permissions between /usr/share/ocsinventory-reports and /usr/share/ocsinventory-server, the only difference is that /ocsinventory-reports is owned by www-data www-data and ocsinventory-server is owned by root root. &amp;nbsp;Is it possible that's the source of my problem? I'm hesitant to just go changing owners without fully understanding who the owner is *supposed* to be.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15425/troubleshooting-403-errors-in-agent-checkin</guid>
<pubDate>Thu, 12 Jun 2025 16:08:39 +0000</pubDate>
</item>
<item>
<title>Deployment and Execution on Linux Clients</title>
<link>https://ask.ocsinventory-ng.org/15422/deployment-and-execution-on-linux-clients</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
According to the documentation, package deployment and script execution have only been tested with the OCS Inventory NG Agent for Windows service. It also states that using the login script method may cause issues, such as blocking due to background downloads and lack of administrative privileges.&lt;br /&gt;
&lt;br /&gt;
Given this limitation for Windows clients, I would like to ask:&lt;br /&gt;
&lt;br /&gt;
Is the package deployment and script execution feature fully supported and functional on Linux clients? Are there any known issues or special considerations when using this feature on Linux systems?&lt;br /&gt;
&lt;br /&gt;
Thank you in advance.&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
Will</description>
<category>OCS Inventory NG agent for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15422/deployment-and-execution-on-linux-clients</guid>
<pubDate>Tue, 03 Jun 2025 11:13:59 +0000</pubDate>
</item>
<item>
<title>&quot;The requested object is not available.&quot;</title>
<link>https://ask.ocsinventory-ng.org/15417/the-requested-object-is-not-available</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I'm trying to install OCS Inventory for the first time. &amp;nbsp;I've been following the &amp;quot;Setting up an OCS Inventory Server&amp;quot; instructions in the manual, I've completed every step successfully as far as I can tell, but when I browse to the /ocs-reports/ page on my server, I get an otherwise blank page with the error message in the title. &amp;nbsp;The troubleshooting section of the manual (as well as the best information I could find by searching around) suggest that this is an issue with my apache configuration. &amp;nbsp;That's very probable; I'm a relative newbie to configuring web servers. &amp;nbsp;Is there an example configuration I should compare against? And/or, does that error message suggest to anyone that I've missed or err'd on a particular step of the setup?</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15417/the-requested-object-is-not-available</guid>
<pubDate>Fri, 23 May 2025 18:43:08 +0000</pubDate>
</item>
<item>
<title>Plugin winupdate 3.0</title>
<link>https://ask.ocsinventory-ng.org/15414/plugin-winupdate-3-0</link>
<description>&lt;p&gt;Hi folks,&lt;/p&gt;&lt;p data-sourcepos=&quot;17:1-17:327&quot;&gt;I'm currently experiencing an issue with the Winupdate 3.0 plugin for OCS Inventory. While the plugin deployment to Windows agents (version 2.11) is successful, with the .ps1 and .vbs scripts being correctly extracted into the plugins folder, the collected information isn't appearing in the OCS Inventory GUI (version 2.10.0).&lt;/p&gt;&lt;p data-sourcepos=&quot;19:1-19:134&quot;&gt;My server environment is Ubuntu 24.04, utilizing MariaDB 10.11.11-0ubuntu0.24.04.2. The plugin has been configured on the server side.&lt;/p&gt;&lt;p data-sourcepos=&quot;21:1-21:136&quot;&gt;I'm seeking your assistance in diagnosing this lack of data reporting. Do you have any insights or troubleshooting suggestions to offer?&lt;/p&gt;&lt;p data-sourcepos=&quot;21:1-21:136&quot;&gt;&lt;/p&gt;&lt;p data-sourcepos=&quot;21:1-21:136&quot;&gt;Best regards,&lt;/p&gt;</description>
<category>OCS Inventory NG plugins</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15414/plugin-winupdate-3-0</guid>
<pubDate>Thu, 22 May 2025 16:05:14 +0000</pubDate>
</item>
<item>
<title>Upgrade OCS Inventory from 1.02 RC3 to latest</title>
<link>https://ask.ocsinventory-ng.org/15407/upgrade-ocs-inventory-from-1-02-rc3-to-latest</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
We have a server with OCS Inventory running version 1.02 RC3. We want to install a new server, install a newer version of OCS Inventory, and migrate the data from the old OCS Inventory to the new one.&lt;br /&gt;
&lt;br /&gt;
In the FAQ section of the OCS Inventory website (&lt;a href=&quot;https://wiki.ocsinventory-ng.org&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://wiki.ocsinventory-ng.org&lt;/a&gt;), they don't recommend updating OCS Inventory to the latest version directly. They recommend updating to version 2.0 and then to the latest version.&lt;br /&gt;
&lt;br /&gt;
The problem I'm encountering is that I can't find version 2.0 of OCS Inventory available for download. Where can I get it?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15407/upgrade-ocs-inventory-from-1-02-rc3-to-latest</guid>
<pubDate>Fri, 09 May 2025 08:44:53 +0000</pubDate>
</item>
<item>
<title>Configure SNMP</title>
<link>https://ask.ocsinventory-ng.org/15404/configure-snmp</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;currently I am facing a problem with the setup of SNMP for OCS Inventory.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;nbsp;Problem&lt;/strong&gt; Inventory &lt;span style=&quot;font-family:Wingdings&quot;&gt;à&lt;/span&gt; SNMP &lt;span style=&quot;font-family:Wingdings&quot;&gt;à&lt;/span&gt; No devices in Table&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Expected Result&lt;/strong&gt; &lt;span style=&quot;font-family:Wingdings&quot;&gt;à&lt;/span&gt; Devices with the installed OCS Windows Agent scan the Network with IPDiscover for printer/ switches etc. With SNMP I can request information from these devices.&lt;/p&gt;&lt;p&gt;Results are shown under Inventory &amp;nbsp;&lt;span style=&quot;font-family:Wingdings&quot;&gt;à&lt;/span&gt; SNMP&lt;/p&gt;&lt;p&gt;OCSReports 2.12.3&lt;/p&gt;&lt;p&gt;Ubuntu 24.04.1 LTS&lt;/p&gt;&lt;p&gt;PHP 8.3.6&lt;/p&gt;&lt;p&gt;Maria DB 10.11.8&lt;/p&gt;&lt;p&gt;Windows Agent 2.10.1.0&lt;/p&gt;&lt;p&gt;Webserver Apache&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;OCS Server is setup to scan snmp like this:&lt;/p&gt;&lt;ul style=&quot;list-style-type:disc&quot;&gt;&lt;li&gt;Configuration --&amp;gt; General&lt;ul style=&quot;list-style-type:circle&quot;&gt;&lt;li&gt;--&amp;gt; SNMP&lt;ul style=&quot;list-style-type:square&quot;&gt;&lt;li&gt;SNMP Enable/Disable the snmp service: ON&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;--&amp;gt; Ipdiscover: ON&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Manage --&amp;gt; Network Scan&lt;ul style=&quot;list-style-type:circle&quot;&gt;&lt;li&gt;SNMP communities --&amp;gt;&amp;nbsp;&lt;ul style=&quot;list-style-type:square&quot;&gt;&lt;li&gt;Version: 2c&lt;/li&gt;&lt;li&gt;Name: public&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Configuration --&amp;gt; SNMP&lt;ul style=&quot;list-style-type:circle&quot;&gt;&lt;li&gt;--&amp;gt; Create type:&lt;ul style=&quot;list-style-type:square&quot;&gt;&lt;li&gt;Name: test&lt;/li&gt;&lt;li&gt;OID Value: 1.3.6.1.2.1.1.1&lt;/li&gt;&lt;li&gt;Value:&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;--&amp;gt; Create label:&lt;ul style=&quot;list-style-type:square&quot;&gt;&lt;li&gt;Name: testdescription&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;--&amp;gt; Type configuration&lt;ul style=&quot;list-style-type:square&quot;&gt;&lt;li&gt;Type: test&lt;/li&gt;&lt;li&gt;Label: testdescription&lt;/li&gt;&lt;li&gt;OID: 1.3.6.1.2.1.1.1&lt;/li&gt;&lt;li&gt;Use for reconciliation: yes&lt;/li&gt;&lt;li&gt;Use for IP discover: yes&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;( I also created a SNMP - community . I dont know what the purpose of them is.)&lt;/p&gt;&lt;p&gt;Now I should see results in the Inventory Table under SNMP but it is empty.&lt;/p&gt;&lt;p&gt;Why is it not working?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>SNMP</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15404/configure-snmp</guid>
<pubDate>Thu, 24 Apr 2025 11:48:56 +0000</pubDate>
</item>
</channel>
</rss>