<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ocsinventory Q&amp;A - Recent questions in OCS Inventory NG server for Unix</title>
<link>https://ask.ocsinventory-ng.org/questions/ocs-inventory-ng-server/ocs-inventory-ng-server-for-unix</link>
<description>Powered by Question2Answer</description>
<item>
<title>SNMPv3 Community Strings not hashed in Dashboard</title>
<link>https://ask.ocsinventory-ng.org/15572/snmpv3-community-strings-not-hashed-in-dashboard</link>
<description>Hey there,&lt;br /&gt;
I'm trying to get SNMP to run on the server, but ran into the issue (?), that custom community strings for snmp display the passwords and passphrases in clear text.&lt;br /&gt;
Is this a bug or a feature?&lt;br /&gt;
If bug, please try and fix, if feature, I will need to disable the feature again.</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</guid>
<pubDate>Thu, 26 Mar 2026 13:07:23 +0000</pubDate>
</item>
<item>
<title>Email notification design flaw</title>
<link>https://ask.ocsinventory-ng.org/15569/email-notification-design-flaw</link>
<description>There is a huge design flaw on the notification configuration page :&lt;br /&gt;
&lt;br /&gt;
When using SMPT+TLS, you have to provide at least :&lt;br /&gt;
&lt;br /&gt;
- The email address of the sender&lt;br /&gt;
&lt;br /&gt;
- The email address of the recipient&lt;br /&gt;
&lt;br /&gt;
- The credentials of an authorized account&lt;br /&gt;
&lt;br /&gt;
The email address of the sender is missing : ocs server is also using the email address of the recipient to send the email. Therefore, we can't send notifications to distribution groups and the authorized account needs to impersonate the recipients instead of using a generic email like &amp;quot;no-reply@&amp;quot;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15569/email-notification-design-flaw</guid>
<pubDate>Sat, 14 Mar 2026 18:13:10 +0000</pubDate>
</item>
<item>
<title>Profiles folder overwritten everytime in docker</title>
<link>https://ask.ocsinventory-ng.org/15562/profiles-folder-overwritten-everytime-in-docker</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I'm using docker with v2.12.3, everything is working fine except the profiles folder (where the profiles permissions are stored).&lt;br /&gt;
&lt;br /&gt;
I have the following volume mounted with docker compose :&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;- /var/docker/ocs/profilesconfdata/_data:/usr/share/ocsinventory-reports/ocsreports/config/profiles&lt;br /&gt;
&lt;br /&gt;
When I edit the permissions, the files in /var/docker/ocs/profilesconfdata/_data are updated, so far so good. But when I stop and start the container, everything is overwritten with the files from the ocs image. It's not persistent. I don't have this kind of problem with the database files for example.&lt;br /&gt;
&lt;br /&gt;
How can I prevent the ocs server from overwritting the files on startup ? It should just read them, but be able to update them if necessary.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15562/profiles-folder-overwritten-everytime-in-docker</guid>
<pubDate>Mon, 09 Mar 2026 10:22:18 +0000</pubDate>
</item>
<item>
<title>Export full inventory to CSV/Excel</title>
<link>https://ask.ocsinventory-ng.org/15528/export-full-inventory-to-csv-excel</link>
<description>&lt;p&gt;Hello OCS Community,&lt;/p&gt;&lt;p&gt;I am a new user of OCS Inventory and I am currently managing a migration project. I have successfully set up the server and deployed the agents to my network.&lt;/p&gt;&lt;p&gt;I need to extract a full report of ALL the computers registered in the server to a single Excel or CSV file.&lt;/p&gt;&lt;p&gt;Specifically, I need columns for:&lt;/p&gt;&lt;p&gt;- Computer Name and User&lt;/p&gt;&lt;p&gt;- Hardware info (RAM, CPU, HDD)&lt;/p&gt;&lt;p&gt;- Operating System&lt;/p&gt;&lt;p&gt;- Installed Software (specifically to filter Microsoft Office, LibreOffice, etc.)&lt;/p&gt;&lt;p&gt;Is there a native way in the Web Console to export this custom &quot;mass report&quot;? Or could you suggest a SQL query to extract this directly from the database?&lt;/p&gt;&lt;p&gt;My Environment:&lt;/p&gt;&lt;p&gt;- Server OS: [Ubuntu 22.04 LTS]&lt;/p&gt;&lt;p&gt;- OCS Server Versi&lt;span style=&quot;color:#000000&quot;&gt;on: [&lt;/span&gt;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.12.3/OCSNG_UNIX_SERVER-2.12.3.tar.gz&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt;2.12.3&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color:#000000&quot;&gt;]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;- OCS Agent Version: [&lt;/span&gt;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/OCSInventory-NG/WindowsAgent/releases/download/2.11.0.1/OCS-Windows-Agent-2.11.0.1_x64.zip&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt;Windows Agent 2.11.0.1 (64 bits)&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color:#000000&quot;&gt;]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Thank you very much for your help.&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15528/export-full-inventory-to-csv-excel</guid>
<pubDate>Thu, 27 Nov 2025 21:41:31 +0000</pubDate>
</item>
<item>
<title>Err 404 de l'Agent</title>
<link>https://ask.ocsinventory-ng.org/15520/err-404-de-lagent</link>
<description>&lt;p&gt;Bonjour,&lt;/p&gt;&lt;p&gt;Je pose un problème pour le quel je n'ai pas de trouvé de solution..&lt;/p&gt;&lt;p&gt;Mon serveur :&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Linux Debian 12.12&amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp;PHP 8.2.29&amp;nbsp; &amp;nbsp; -&amp;nbsp; mariadb 10.1.14&amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp;apache2.4.65&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Serveur OCS&amp;nbsp; 2.12.3&amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp;Agent OCS: 2.11.0.1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GLPI 11.0.1&amp;nbsp; (avec la nouvelle procédure d'installation)&lt;/p&gt;&lt;p&gt;Voila, j'explique mon souci:&lt;/p&gt;&lt;p&gt;J'ai tout installé, correctement (je pense) le serveur OCS fonctionne installation avec le guide d'install. j'ai installé le serveur OCS en premier, tester la remonté d'inventaire de l'agent, qui fonctionne, il contacte bien le serveur&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Log de l'agent :&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Starting OCS Inventory Agent on Wednesday, November 19, 2025 11:25:58.&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Running OCS Inventory Agent Version 2.11.0.1&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Using OCS Inventory FrameWork Version 2.11.0.1&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Loading plug-in(s)&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Using network connection with Communication Server&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Using Communication Provider &amp;lt;OCS Inventory cURL Communication&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Provider&amp;gt; Version &amp;lt;2.11.0.1&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Sending Prolog&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Prolog successfully sent&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Inventory change forced by /NOTIFY option&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Launching hardware and software checks&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Sending Inventory&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INVENTORY =&amp;gt; Network adapters inventory state changed&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Inventory successfully sent&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Unloading communication provider&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Unloading plug-in(s)&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Execution duration: 00:00:19.&lt;/p&gt;&lt;p&gt;J'ai installer le serveur GLPI avec la documentation de et recommandation de l'éditeur.&lt;/p&gt;&lt;p&gt;Pas de soucis..interface web pour les deux serveurs sur un même PC..&lt;/p&gt;&lt;p&gt;la connexion à la base de données OCS via GLPI est Ok, l'import de l'inventaire test d'OCS est positif, je retrouve bien mon inventaire via OCS.&lt;/p&gt;&lt;p&gt;Maintenant quand je désactive le site par défaut d'apache2&amp;nbsp;&lt;code&gt;(a2dissite 000-default.conf) je n'ai pas de remonté d'inventaire de l'agent OCS (le web de la console fonctionne correctement). le web de la console de GLPI est off: Err. 404&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;Si j'active le site de GLPI le web GLPI est fonctionnel, mais pas de remonté d'agent OCS..&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;les Log de l'agent sur le client:&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Starting OCS Inventory Agent on Wednesday, November 19, 2025 15:08:55.&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Running OCS Inventory Agent Version 2.11.0.1&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Using OCS Inventory FrameWork Version 2.11.0.1&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Loading plug-in(s)&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Using network connection with Communication Server&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; AGENT =&amp;gt; Using Communication Provider &amp;lt;OCS Inventory cURL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Communication Provider&amp;gt; Version &amp;lt;2.11.0.1&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Sending Prolog&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ERROR *** AGENT =&amp;gt; Failed to send Prolog &amp;lt;HTTP Status Code #404&amp;gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Unloading communication provider&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Unloading plug-in(s)&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AGENT =&amp;gt; Execution duration: 00:00:00.&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;Si quelqu'un a une idée, merci d'avance.&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;Epoc..&lt;/code&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15520/err-404-de-lagent</guid>
<pubDate>Wed, 19 Nov 2025 15:03:49 +0000</pubDate>
</item>
<item>
<title>Injector inventory mismatch</title>
<link>https://ask.ocsinventory-ng.org/15507/injector-inventory-mismatch</link>
<description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;I'm having an issue with the injector tool that sends inventories from Server A to Server B.&lt;br&gt;Both servers are running version 2.12.3.&lt;br&gt;&lt;br&gt;The problem is that the information displayed on Server B is not the same as on Server A, even though the .ocs file sent to Server B contains the correct data.&lt;br&gt;&lt;br&gt;Do you have any idea what might be causing this issue?&lt;br&gt;&lt;br&gt;Thanks in advance for your help.&lt;/p&gt;&lt;p&gt;Server A&lt;br&gt;&lt;img alt=&quot;Server A&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=17453036828863647351&quot; style=&quot;height:342px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;Server B&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;server b&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=15899530824081172044&quot; style=&quot;height:315px; width:600px&quot;&gt;&lt;br&gt;Cirvent&lt;br&gt;&lt;br&gt;French version:&lt;br&gt;&lt;br&gt;Bonjour,&lt;br&gt;&lt;br&gt;Je rencontre un problème avec l’outil injector qui envoie les inventaires d’un serveur A vers un serveur B.&lt;br&gt;Les deux serveurs sont en version 2.12.3.&lt;br&gt;&lt;br&gt;Le souci est que les informations affichées sur le serveur B ne sont pas identiques à celles du serveur A, alors que le fichier .ocs transmis contient bien les bonnes données.&lt;br&gt;&lt;br&gt;Auriez-vous une idée de l’origine possible du problème ?&lt;br&gt;&lt;br&gt;Merci d’avance pour votre aide.&lt;br&gt;&lt;br&gt;Cirvent&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15507/injector-inventory-mismatch</guid>
<pubDate>Thu, 06 Nov 2025 12:53:31 +0000</pubDate>
</item>
<item>
<title>Ajouter dans la documentation de API</title>
<link>https://ask.ocsinventory-ng.org/15506/ajouter-dans-la-documentation-de-api</link>
<description>&lt;p&gt;Bonjour,&lt;/p&gt;&lt;p&gt;Il y a des manques dans la documentation de la configuration de API,&lt;/p&gt;&lt;p&gt;il faudrait ajouter:&lt;/p&gt;&lt;p&gt;Dans le fichier : /etc/apache2/conf-available/zz-ocsinventory-restapi.conf&lt;/p&gt;&lt;p&gt;commenter la ligne en ajoutant # devant :&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Require ip 127.0.0.1&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;si le fichier &quot;zz-ocsinventory-restapi.conf&quot; n'existe pas dans &quot;/etc/apache2/conf-enabled/&quot;&lt;/p&gt;&lt;p&gt;Il faut l'activer comme suit :&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;color:#61afef&quot;&gt;sudo&lt;/span&gt; a2enconf&amp;nbsp;zz-ocsinventory-restapi&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#61afef&quot;&gt;sudo&lt;/span&gt; systemctl restart apache2&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Cela devrait faire gagner du temps à pas mal de personnes.&lt;/p&gt;&lt;p&gt;Cirvent&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</guid>
<pubDate>Wed, 05 Nov 2025 09:42:16 +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>User session timeout</title>
<link>https://ask.ocsinventory-ng.org/15494/user-session-timeout</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I'm unable to limit the user session timeout to 600 seconds to reduce opportunities for unauthorized access.&lt;br /&gt;
&lt;br /&gt;
What I did:&lt;br /&gt;
&lt;br /&gt;
- Edited the php.ini file and updated the value session.gc_maxlifetime = 600 and restarted the Apache service and the server.&lt;br /&gt;
&lt;br /&gt;
- Added the value define(&amp;quot;OCS_SESSION_TIMEOUT&amp;quot;, &amp;quot;600&amp;quot;) to the ocsinventory-reports/ocsreports/dbconfig.inc.php file.&lt;br /&gt;
&lt;br /&gt;
Do you have any idea how we can implement it?&lt;br /&gt;
Thank's</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15494/user-session-timeout</guid>
<pubDate>Mon, 13 Oct 2025 13:07:45 +0000</pubDate>
</item>
<item>
<title>Upload MSI: CSRF ATTACK!!!</title>
<link>https://ask.ocsinventory-ng.org/15492/upload-msi-csrf-attack</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;i do some first steps with OCS and run the docker 2.12.3 version.&lt;/p&gt;&lt;p&gt;I want to deploy a msi file and when uploading it, I get a &quot;CSRF ATTACK!!!&quot;-error. In the docker-folder I already included in nginx/conf/ocsinventory.conf.template under location /:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy_read_timeout&amp;nbsp; &amp;nbsp; &amp;nbsp; ${READ_TIMEOUT};&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy_connect_timeout&amp;nbsp; &amp;nbsp;${CONNECT_TIMEOUT};&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy_send_timeout&amp;nbsp; &amp;nbsp; &amp;nbsp; ${SEND_TIMEOUT};&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client_max_body_size&amp;nbsp; &amp;nbsp; ${MAX_BODY_SIZE};&lt;/p&gt;&lt;p&gt;and in&amp;nbsp;conf/ocsinventory-reports.conf i updatet several upload-entries to a higher amount.&lt;/p&gt;&lt;p&gt;php_value post_max_size&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1001m&lt;br&gt;php_value upload_max_filesize&amp;nbsp; &amp;nbsp;1000m&lt;/p&gt;&lt;div&gt;Is there something else which has to be modified?&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Thank you and best,&lt;/div&gt;&lt;div&gt;Johannes&lt;/div&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15492/upload-msi-csrf-attack</guid>
<pubDate>Sat, 04 Oct 2025 13:01:49 +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>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>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>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>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>&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>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>Issues with the OCS Inventory master</title>
<link>https://ask.ocsinventory-ng.org/15402/issues-with-the-ocs-inventory-master</link>
<description>I have an infrastructure with one OCS Inventory master and five slaves. I'm having issues with the master — it's experiencing high CPU usage by the MariaDB database, and the web application is frequently freezing. It's running on Oracle Linux 9.5 with the latest version of OCS Inventory.&lt;br /&gt;
&lt;br /&gt;
I have already applied the tuning configurations as recommended in the OCS Wiki, but the behavior remains the same. The server also fails to process the software, computer, and CVE scripts. What is the proper configuration for the master, considering it receives a large volume of data from 5 slaves every 5 minutes?</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15402/issues-with-the-ocs-inventory-master</guid>
<pubDate>Tue, 15 Apr 2025 20:03:34 +0000</pubDate>
</item>
<item>
<title>Curious forbidden access on my OCS Inventory</title>
<link>https://ask.ocsinventory-ng.org/15390/curious-forbidden-access-on-my-ocs-inventory</link>
<description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is my issue. I installed a GLPI server and an OCS server on Debian 12. No issues during the installation of both machines; I installed the OCS module in GLPI, everything is fine. The configuration of OCS is fine until the computer inventory process, where I encounter a 403 error.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tested the OCS client on different machines and faced the same issue. I can access my page at servername/ocsreports, but servername/ocsinventory gives me a 403 error. I believe I did everything that seems logical... A complete reinstallation of OCS, verification of the configuration. Everything seems fine, but I can't find the source of the problem. I’ve&amp;nbsp;tried almost everything I found on the web while ensuring I understood what I was doing, and still nothing...&lt;/p&gt;&lt;p&gt;So :&lt;/p&gt;&lt;p&gt;- I have a GLPI server who works fine&lt;/p&gt;&lt;p&gt;- An OCS Server who works fine&lt;/p&gt;&lt;p&gt;- Communication between GLPI and OCS seems to be ok&lt;/p&gt;&lt;p&gt;- I can reach http://servername/ocsreports but not http://servername/ocsinventory&lt;/p&gt;&lt;p&gt;- Here is some log from Apache2/error.log after trying to connect a client :&lt;/p&gt;&lt;p&gt;ocsinventory-server: Bad setting. `SNMP_LINK_TAG` is not set. Default: `0`&lt;/p&gt;&lt;p&gt;[Wed Mar 26 12:01:20.961653 2025] [mpm_prefork:notice] [pid 916:tid 916] AH00163: Apache/2.4.62 (Debian) mod_perl/2.0.12 Perl/v5.36.0 configured -- resuming normal operations&lt;/p&gt;&lt;p&gt;[Wed Mar 26 12:01:20.961804 2025] [core:notice] [pid 916:tid 916] AH00094: Command line: '/usr/sbin/apache2'&lt;/p&gt;&lt;p&gt;[Wed Mar 26 12:02:53.969654 2025] [proxy_fcgi:error] [pid 1316:tid 1316] [client XX.XX.XX.XX:54869] AH01071: Got error 'PHP message: PHP Deprecated:&amp;nbsp; Optional parameter $option declared before required parameter $list_col_cant_del is implicitly treated as a required parameter in /usr/share/ocsinventory-reports/ocsreports/require/function_table_html.php on line 130; PHP message: PHP Deprecated:&amp;nbsp; Optional parameter $visibleCol d&amp;gt;&lt;/p&gt;&lt;p&gt;[Wed Mar 26 12:03:02.156899 2025] [proxy_fcgi:error] [pid 949:tid 949] [client XX.XX.XX.XX:54882] AH01071: Got error 'PHP message: PHP Deprecated:&amp;nbsp; Optional parameter $title declared before required parameter $post is implicitly treated as a required parameter in /usr/share/ocsinventory-reports/ocsreports/require/ipdiscover/Ipdiscover.php on line 66; PHP message: PHP Deprecated:&amp;nbsp; Optional parameter $type declared before requir&amp;gt;&lt;/p&gt;&lt;p&gt;[Wed Mar 26 12:03:07.270698 2025] [proxy_fcgi:error] [pid 949:tid 949] [client XX.XX.XX.XX:54882] AH01071: Got error '; PHP message: PHP Deprecated:&amp;nbsp; Creation of dynamic property Stats::$INTERFACE_BIOS_DIAGRAM_VISIBILITY is deprecated in /usr/share/ocsinventory-reports/ocsreports/require/stats/Stats.php on line 66', referer: http://servername/ocsreports/&lt;/p&gt;&lt;p&gt;[Wed Mar 26 12:03:07.387928 2025] [proxy_fcgi:error] [pid 949:tid 949] [client XX.XX.XX.XX:54882] AH01071: Got error 'PHP message: PHP Deprecated:&amp;nbsp; Creation of dynamic property Stats::$INTERFACE_BIOS_DIAGRAM_VISIBILITY is deprecated in /usr/share/ocsinventory-reports/ocsreports/require/stats/Stats.php on line 66', referer: http://servername/ocsreports/&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Thanks for your help&lt;/p&gt;&lt;div&gt;&lt;/div&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15390/curious-forbidden-access-on-my-ocs-inventory</guid>
<pubDate>Wed, 26 Mar 2025 13:27:08 +0000</pubDate>
</item>
<item>
<title>can't locate DBD/mysql.pm - Inventory doesn't work</title>
<link>https://ask.ocsinventory-ng.org/15383/cant-locate-dbd-mysql-pm-inventory-doesnt-work</link>
<description>&lt;p&gt;Hello everyone,&lt;/p&gt;&lt;p&gt;I'm asking for your help.&lt;/p&gt;&lt;p&gt;I have just installed a server under RHEL9 with the latest OCS version.&lt;/p&gt;&lt;p&gt;The inventories are not being sent to the server with error messages “cannot establish communication: 500 can't connect to ocs server” on the ocsinventory-agent.log server.&lt;/p&gt;&lt;p&gt;Local inventory is functional.&lt;/p&gt;&lt;p&gt;This command “curl -vk https://ocs_serveur/ocsinventory” returns :&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;strong&gt;&quot;install driver(mysql) failed: can't locate DBD/mysql.pm: /usr/local/lib64/perl5/5.32/DBD/mysql.pm: permission denied at (eval 114) line3 at /usr/local/share/perl5/5.32/Apache/OcsInventory/Server/System.pm line 217&quot;&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;All PERL modules are installed, including perl::DBD:mysql and mariadb.&lt;/p&gt;&lt;p&gt;However, the DBD directory under /usr/local/lib64/perl5/5.32 does not exist.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mysql.pm is under /usr/lib64/perl5/vendor_perl&lt;/p&gt;&lt;p&gt;Thanks for your help&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15383/cant-locate-dbd-mysql-pm-inventory-doesnt-work</guid>
<pubDate>Thu, 13 Mar 2025 10:09:25 +0000</pubDate>
</item>
<item>
<title>OCS Webgui Mainpage continuous refresh.</title>
<link>https://ask.ocsinventory-ng.org/15373/ocs-webgui-mainpage-continuous-refresh</link>
<description>&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;Hi all&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;I'm new to&amp;nbsp;OCS,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;today i installed a fresh copy of OCS Server&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:Helvetica Neue,Arial,sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px&quot;&gt;2.12.3&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;in a Debian 12 machine&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;following the docs:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif; font-size:14px&quot;&gt;&lt;a href=&quot;https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server/&lt;/a&gt;&lt;/span&gt;&amp;nbsp;without errors.&lt;/p&gt;&lt;p&gt;(Not secured yet)&lt;/p&gt;&lt;p&gt;After loggin in with admin/admin the mainpage is in continuous autorefresh less then 1sec, so I can't click on anything; if i take the time and click on a function i'm redirected to the login page, but credentials admin/admin are not working.&lt;/p&gt;&lt;p&gt;How can i stop this behavior?&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;In Apache2 access.log (repeated):&lt;/p&gt;&lt;p&gt;x.x.x.x - - [27/Feb/2025:16:47:58 +0100] &quot;POST /ocsreports/index.php HTTP/1.1&quot; 200 8683 &quot;http://y.y.y.y/ocsreports/index.php&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36&quot;&lt;/p&gt;&lt;p&gt;x.x.x.x - - [27/Feb/2025:16:47:59 +0100] &quot;POST /ocsreports/ajax.php?&amp;amp;no_header=true&amp;amp;no_footer=true HTTP/1.1&quot; 401 424 &quot;http://y.y.y.y/ocsreports/index.php&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36&quot;&lt;/p&gt;&lt;p&gt;x.x.x.x - - [27/Feb/2025:16:47:59 +0100] &quot;POST /ocsreports/index.php HTTP/1.1&quot; 200 8682 &quot;http://y.y.y.y/ocsreports/index.php&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36&quot;&lt;/p&gt;&lt;p&gt;No log&amp;nbsp;&lt;span style=&quot;background-color:#fcfcfc; color:#404040; font-family:Lato,proxima-nova,&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif&quot;&gt;under “/var/log/ocsinventory-NG/ocsinventory-NG.log”&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Only 1 windows agent installed (for testing) and working, i can see 1 machine in mainpage&lt;/p&gt;&lt;p&gt;(Sorry english isn't my first language).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15373/ocs-webgui-mainpage-continuous-refresh</guid>
<pubDate>Thu, 27 Feb 2025 15:47:03 +0000</pubDate>
</item>
<item>
<title>Issue with installing Linux agent</title>
<link>https://ask.ocsinventory-ng.org/15350/issue-with-installing-linux-agent</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I'm having an odd issue with installing the Linux agent/ For some reason,it's complaining that I cannot find the agent in the PATH&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;[root@vdraddevl904 Ocsinventory-Unix-Agent-2.10.2]# make install&lt;/p&gt;&lt;p&gt;Manifying 1 pod document&lt;/p&gt;&lt;p&gt;Manifying 6 pod documents&lt;/p&gt;&lt;p&gt;Appending installation info to /opt/scmtech-perl/lib/5.40.1/x86_64-linux/perllocal.pod&lt;/p&gt;&lt;p&gt;[ ! -f run-postinst ] || /opt/scmtech-perl/bin/perl postinst.pl&lt;/p&gt;&lt;p&gt;Do you want to configure the agent?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Where do you want to write the configuration file?&lt;/p&gt;&lt;p&gt;&amp;nbsp;0 -&amp;gt; /etc/ocsinventory&lt;/p&gt;&lt;p&gt;&amp;nbsp;1 -&amp;gt; /usr/local/etc/ocsinventory&lt;/p&gt;&lt;p&gt;&amp;nbsp;2 -&amp;gt; /etc/ocsinventory-agent&lt;/p&gt;&lt;p&gt;?&amp;gt;&amp;nbsp; 0&lt;/p&gt;&lt;p&gt;Do you want to create the directory /etc/ocsinventory?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Should the old unix_agent settings be imported?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;[info] The config file will be written in /etc/ocsinventory/ocsinventory-agent.cfg,&lt;/p&gt;&lt;p&gt;What is the address of your ocs server?&amp;gt;&amp;nbsp; http://datatestradls01/ocsinventory&lt;/p&gt;&lt;p&gt;Do you need credential for the server? (You probably don't)&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [n]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you want to apply an administrative tag on this machine?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y] n&lt;/p&gt;&lt;p&gt;Do yo want to install the cron task in /etc/cron.d?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Where do you want the agent to store its files? (You probably don't need to change it)?&amp;gt; [/var/lib/ocsinventory-agent]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you want to create the /var/lib/ocsinventory-agent directory?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Should I remove the old unix_agent?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [n]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you want to activate debug configuration option?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you want to use OCS Inventory NG UNix Unified agent log file?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Specify log file path you want to use?&amp;gt;&amp;nbsp; /var/log/&lt;/p&gt;&lt;p&gt;Do you want disable SSL CA verification configuration option (not recommended)?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [n] y&lt;/p&gt;&lt;p&gt;Do you want to set CA certificates file path?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y] n&lt;/p&gt;&lt;p&gt;Do you want disable software inventory?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [n]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you want to use OCS-Inventory software deployment feature?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y] n&lt;/p&gt;&lt;p&gt;Do you want to use OCS-Inventory SNMP scans feature?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you want to send an inventory of this machine?&lt;/p&gt;&lt;p&gt;Please enter 'y' or 'n'?&amp;gt; [y]&amp;nbsp;&lt;/p&gt;&lt;p&gt;Setting OCS Inventory NG server address...&lt;/p&gt;&lt;p&gt;Looking for OCS Invetory NG Unix Unified agent installation...&lt;/p&gt;&lt;p&gt;sorry, can't find ocsinventory-agent in $PATH&lt;/p&gt;&lt;p&gt;make: *** [Makefile:1336: install] Error 1&lt;/p&gt;&lt;p&gt;[root@vdraddevl904&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;But I'm trying to compile and install the agent itself. How do I make this installation work?&amp;nbsp;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15350/issue-with-installing-linux-agent</guid>
<pubDate>Thu, 13 Feb 2025 19:04:21 +0000</pubDate>
</item>
<item>
<title>Issue with installing</title>
<link>https://ask.ocsinventory-ng.org/15336/issue-with-installing</link>
<description>&lt;p&gt;I'm following this guide&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;and I didn't see any issue until the last step where I restart httpd&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;[root@myServer conf.d]# systemctl restart httpd;systemctl status httpd&lt;/p&gt;&lt;p&gt;? httpd.service - The Apache HTTP Server&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; preset: disabled)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Active: active (running) since Tue 2025-02-04 11:56:10 CST; 12ms ago&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Docs: man:httpd.service(8)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Main PID: 37375 (/usr/sbin/httpd)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Status: &quot;Configuration loaded.&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Tasks: 2 (limit: 47708)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Memory: 57.4M&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPU: 521ms&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;CGroup: /system.slice/httpd.service&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+-37375 /usr/sbin/httpd -DFOREGROUND&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+-37377 /usr/sbin/httpd -DFOREGROUND&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Feb 04 11:56:10 myServer systemd[1]: Starting The Apache HTTP Server...&lt;/p&gt;&lt;p&gt;Feb 04 11:56:10 myServer httpd[37375]: ocsinventory-server: Bad setting. `SNMP_LINK_TAG` is not set. Default: `0`&lt;/p&gt;&lt;p&gt;Feb 04 11:56:10 myServer httpd[37375]: ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable&lt;/p&gt;&lt;p&gt;Feb 04 11:56:10 myServer httpd[37375]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 100.15.5.131. Set the 'ServerName' directive globally to suppress this message&lt;/p&gt;&lt;p&gt;Feb 04 11:56:10 myServer httpd[37375]: Server configured, listening on: port 80&lt;/p&gt;&lt;p&gt;Feb 04 11:56:10 myServer systemd[1]: Started The Apache HTTP Server.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;When I navigate to&amp;nbsp;http://100.15.5.131/ocsreports/, instead of seeing a landing page, this is what is on the screen&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;/p&gt;&lt;p&gt;/*&lt;/p&gt;&lt;p&gt;&amp;nbsp;* Copyright 2005-2016 OCSInventory-NG/OCSInventory-ocsreports contributors.&lt;/p&gt;&lt;p&gt;&amp;nbsp;* See the Contributors file for more details about them.&lt;/p&gt;&lt;p&gt;&amp;nbsp;*&lt;/p&gt;&lt;p&gt;&amp;nbsp;* This file is part of OCSInventory-NG/OCSInventory-ocsreports.&lt;/p&gt;&lt;p&gt;&amp;nbsp;*&lt;/p&gt;&lt;p&gt;&amp;nbsp;* OCSInventory-NG/OCSInventory-ocsreports is free software: you can redistribute&lt;/p&gt;&lt;p&gt;&amp;nbsp;* it and/or modify it under the terms of the GNU General Public License as&lt;/p&gt;&lt;p&gt;&amp;nbsp;* published by the Free Software Foundation, either version 2 of the License,&lt;/p&gt;&lt;p&gt;&amp;nbsp;* or (at your option) any later version.&lt;/p&gt;&lt;p&gt;&amp;nbsp;*&lt;/p&gt;&lt;p&gt;&amp;nbsp;* OCSInventory-NG/OCSInventory-ocsreports is distributed in the hope that it&lt;/p&gt;&lt;p&gt;&amp;nbsp;* will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty&lt;/p&gt;&lt;p&gt;&amp;nbsp;* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&amp;nbsp; See the&lt;/p&gt;&lt;p&gt;&amp;nbsp;* GNU General Public License for more details.&lt;/p&gt;&lt;p&gt;&amp;nbsp;*&lt;/p&gt;&lt;p&gt;&amp;nbsp;* You should have received a copy of the GNU General Public License&lt;/p&gt;&lt;p&gt;&amp;nbsp;* along with OCSInventory-NG/OCSInventory-ocsreports. if not, write to the&lt;/p&gt;&lt;p&gt;&amp;nbsp;* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,&lt;/p&gt;&lt;p&gt;&amp;nbsp;* MA 02110-1301, USA.&lt;/p&gt;&lt;p&gt;&amp;nbsp;*/&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;// Check for mbstring before loading session and conf data&lt;/p&gt;&lt;p&gt;if (!extension_loaded('mbstring')) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; die(&quot;Please install php mbstring extension&quot;);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;require(&quot;require/fichierConf.class.php&quot;);&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;// Before session_start to allow objects to be unserialized from session&lt;/p&gt;&lt;p&gt;require_once('require/menu/include.php');&lt;/p&gt;&lt;p&gt;require_once('require/config/include.php');&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;@session_start();&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;$debut = microtime(true);&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;// Is it an AJAX call ? (ajax.php)&lt;/p&gt;&lt;p&gt;if (!defined('AJAX')) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; define('AJAX', false);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;require ('require/header.php');&lt;/p&gt;&lt;p&gt;if (isset($protectedGet[PAG_INDEX])) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; addLog('PAGE', $protectedGet[PAG_INDEX]);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;if (!AJAX &amp;amp;&amp;amp; !isset($protectedGet[&quot;popup&quot;]) &amp;amp;&amp;amp; !isset($protectedGet[&quot;no_footer&quot;])) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; require (FOOTER_HTML);&lt;/p&gt;&lt;p&gt;}c&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Can someone point me to the solution for this issue?&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15336/issue-with-installing</guid>
<pubDate>Tue, 04 Feb 2025 18:07:06 +0000</pubDate>
</item>
<item>
<title>How to enable Authentication for REST APIs</title>
<link>https://ask.ocsinventory-ng.org/15333/how-to-enable-authentication-for-rest-apis</link>
<description>&lt;p&gt;Can anyone help me set up the authentication for OCS Inventory REST API from the server?&lt;/p&gt;&lt;p&gt;Currently in our case we are getting response from API endpoint&amp;nbsp;&lt;strong&gt;ocsapi/v1/computers &lt;/strong&gt;without any authentication. We have tried to configure the auth &lt;strong&gt;z-ocsinventory-server.conf&amp;nbsp;&lt;/strong&gt;configuration file as mentioned &lt;a rel=&quot;nofollow&quot; href=&quot;https://ask.ocsinventory-ng.org/15313/how-to-configure-authrequired-parameter-in-server&quot;&gt;here&lt;/a&gt; but still not working.&lt;/p&gt;&lt;p&gt;Can anyone tell us the configuration required to do in the OCS Inventory Server setup to restrict the APIs to work with Authentication params only.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15333/how-to-enable-authentication-for-rest-apis</guid>
<pubDate>Mon, 27 Jan 2025 08:44:18 +0000</pubDate>
</item>
<item>
<title>Connected user info</title>
<link>https://ask.ocsinventory-ng.org/15332/connected-user-info</link>
<description>I am need to collect information about Connected users from Domain (AD)&lt;br /&gt;
Now its working, but after weekend (when no one is logged on PC) i see that Connected user field is empty for all PC in inventory.&lt;br /&gt;
How i can configure option that this field always show the LAST CONNECTED USER on PC?&lt;br /&gt;
(Maybe i must disable collect info on boot options? e.t.c.)&lt;br /&gt;
&lt;br /&gt;
And the next question, how i can make mass update action to get this info from my server directly?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15332/connected-user-info</guid>
<pubDate>Mon, 20 Jan 2025 11:33:16 +0000</pubDate>
</item>
<item>
<title>Limit OCS Agents number connected to the server</title>
<link>https://ask.ocsinventory-ng.org/15322/limit-ocs-agents-number-connected-to-the-server</link>
<description>Hi!&lt;br /&gt;
How to limit OCS Agents number connected to the server?&lt;br /&gt;
I would like to configure the server to block registration of new OCS Agents if their number exceeds 1000.&lt;br /&gt;
I will be very grateful for Your answers.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15322/limit-ocs-agents-number-connected-to-the-server</guid>
<pubDate>Sun, 12 Jan 2025 10:58:30 +0000</pubDate>
</item>
<item>
<title>How to dl data collected from all computers ?</title>
<link>https://ask.ocsinventory-ng.org/15316/how-to-dl-data-collected-from-all-computers</link>
<description>Hi there&lt;br /&gt;
&lt;br /&gt;
I did not find any menu to retrieve in one shot all informations collected from the whole list of the managed computers.&lt;br /&gt;
&lt;br /&gt;
i.e. : I would like to get all installed apps from all computers in one shot, how to do ? I just found to get the apps from 1 by 1 computer.</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15316/how-to-dl-data-collected-from-all-computers</guid>
<pubDate>Fri, 03 Jan 2025 11:17:46 +0000</pubDate>
</item>
<item>
<title>How to configure AuthRequired parameter in server?</title>
<link>https://ask.ocsinventory-ng.org/15313/how-to-configure-authrequired-parameter-in-server</link>
<description>Hello!&lt;br /&gt;
I would be very grateful if someone would explain where to configure AuthRequired parameter in OCS Inventory server?</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15313/how-to-configure-authrequired-parameter-in-server</guid>
<pubDate>Sat, 28 Dec 2024 10:26:34 +0000</pubDate>
</item>
<item>
<title>Enabling SNMP</title>
<link>https://ask.ocsinventory-ng.org/15304/enabling-snmp</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have setup OCS Inventory but I would like to setup the SNMP configuration to not have to install the agent on all of my hardware so can someone explain me exactly what to enable and configure please I'm a bit lost&lt;br /&gt;
&lt;br /&gt;
Sincerely,&lt;br /&gt;
&lt;br /&gt;
AzenChire</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15304/enabling-snmp</guid>
<pubDate>Sat, 07 Dec 2024 10:53:16 +0000</pubDate>
</item>
<item>
<title>HTTP ERROR 500 après update 2.12.3</title>
<link>https://ask.ocsinventory-ng.org/15300/http-error-500-apr%C3%A8s-update-2-12-3</link>
<description>Bonjour,&lt;br /&gt;
&lt;br /&gt;
Je viens de faire la mise à jour de la version 2.12.1 à 2.12.3,&lt;br /&gt;
&lt;br /&gt;
Et depuis plus rien ne fonctionne, j'ai un Error 500.&lt;br /&gt;
&lt;br /&gt;
Voici les erreurs que j'ai dans les log apache:&lt;br /&gt;
&lt;br /&gt;
[Wed Dec 04 11:09:46.723523 2024] [core:notice] [pid 2539] AH00094: Command line: '/usr/sbin/apache2'&lt;br /&gt;
[Wed Dec 04 11:09:52.672787 2024] [php:warn] [pid 2542] [client 10.10.15.71:51737] PHP Warning: &amp;nbsp;require(require/fichierConf.class.php): Failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29, referer: https://ocsinventory/&lt;br /&gt;
[Wed Dec 04 11:09:52.672893 2024] [php:error] [pid 2542] [client 10.10.15.71:51737] PHP Fatal error: &amp;nbsp;Uncaught Error: Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php:29\nStack trace:\n#0 {main}\n &amp;nbsp;thrown in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29, referer: https://ocsinventory/&lt;br /&gt;
[Wed Dec 04 11:09:54.785277 2024] [php:warn] [pid 2541] [client 10.10.15.71:51742] PHP Warning: &amp;nbsp;require(require/fichierConf.class.php): Failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29&lt;br /&gt;
[Wed Dec 04 11:09:54.785401 2024] [php:error] [pid 2541] [client 10.10.15.71:51742] PHP Fatal error: &amp;nbsp;Uncaught Error: Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php:29\nStack trace:\n#0 {main}\n &amp;nbsp;thrown in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29&lt;br /&gt;
[Wed Dec 04 11:09:55.964408 2024] [php:warn] [pid 2545] [client 10.10.15.71:51747] PHP Warning: &amp;nbsp;require(require/fichierConf.class.php): Failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29&lt;br /&gt;
[Wed Dec 04 11:09:55.964532 2024] [php:error] [pid 2545] [client 10.10.15.71:51747] PHP Fatal error: &amp;nbsp;Uncaught Error: Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php:29\nStack trace:\n#0 {main}\n &amp;nbsp;thrown in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29&lt;br /&gt;
&lt;br /&gt;
Une idée du probleme ?&lt;br /&gt;
&lt;br /&gt;
Merci&lt;br /&gt;
&lt;br /&gt;
Cirvent</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15300/http-error-500-apr%C3%A8s-update-2-12-3</guid>
<pubDate>Wed, 04 Dec 2024 10:51:01 +0000</pubDate>
</item>
<item>
<title>TAG option does not appear on Administer subnet</title>
<link>https://ask.ocsinventory-ng.org/15296/tag-option-does-not-appear-on-administer-subnet</link>
<description>&lt;p&gt;Hello everyone,&lt;/p&gt;&lt;p&gt;i have a question i wanted to automatically add devices in a subnet to get a specific tag and i thought i do that with network scan but i dont have the tag option like in the documentation its shown to be there i set the IP_DISCOVERY_LINK_TAG_NETWORK to 1 still no change and the admin user is sadmin.&lt;/p&gt;&lt;p&gt;Maybe someone can help or can tell me the right way to do it if this is the wrong way to apply tags i know i can do it manually but that would take way too long.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=5675140260250820576&quot; style=&quot;height:160px; width:530px&quot;&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15296/tag-option-does-not-appear-on-administer-subnet</guid>
<pubDate>Fri, 29 Nov 2024 11:35:00 +0000</pubDate>
</item>
<item>
<title>Custom Field in OCS Inventory Menu</title>
<link>https://ask.ocsinventory-ng.org/15293/custom-field-in-ocs-inventory-menu</link>
<description>&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Good evening,&lt;br&gt;On the older version of the OCS Inventory Server, I noticed that among the various &quot;dots&quot; (menu items) on the left-hand side, there is a custom one named&amp;nbsp;&lt;em&gt;&quot;Location&quot;&lt;/em&gt;. This menu contains a list of all inventoried locations.&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;My task is to recreate this functionality on a new OCS Inventory Server (2.12.3) deployed on a different machine. Could you clarify whether this &quot;Location&quot; menu is implemented as a plugin (if so, which plugin?), a code modification, or something else entirely?&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Thank you for your assistance!&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15293/custom-field-in-ocs-inventory-menu</guid>
<pubDate>Wed, 27 Nov 2024 21:28:45 +0000</pubDate>
</item>
<item>
<title>GENERATE_OCS_FILES Execution Time</title>
<link>https://ask.ocsinventory-ng.org/15292/generate_ocs_files-execution-time</link>
<description>&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Good evening,&lt;br&gt;I used the&amp;nbsp;&lt;code&gt;GENERATE_OCS_FILES&lt;/code&gt;&amp;nbsp;feature on my server to download&amp;nbsp;&lt;code&gt;.ocs&lt;/code&gt;&amp;nbsp;files into the folder specified in the&amp;nbsp;&lt;code&gt;OCS_FILES_PATH&lt;/code&gt;&amp;nbsp;setting. The download started successfully, but after two days, it was still ongoing, so I decided to stop it.&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;I would like to know: does the download process continue indefinitely as long as agents keep sending data, or does it eventually stop after processing all available data?&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Thank you for your clarification!&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15292/generate_ocs_files-execution-time</guid>
<pubDate>Wed, 27 Nov 2024 21:17:03 +0000</pubDate>
</item>
<item>
<title>Importing Assets via CSV</title>
<link>https://ask.ocsinventory-ng.org/15291/importing-assets-via-csv</link>
<description>&lt;p&gt;Good evening,&lt;br&gt;I downloaded the&amp;nbsp;.csv&amp;nbsp;file of assets from an older OCS Inventory Server and tried to import it into a new OCS Inventory Server (version 2.12.3). However, I encountered an error.&lt;/p&gt;&lt;p&gt;After some investigation, I realized that OCS Inventory Server operates in&amp;nbsp;&lt;em&gt;update mode&lt;/em&gt;. This means, to successfully import data using the &quot;Import from CSV&quot; feature, OCS Inventory Server must already have detected all devices via agents installed on the computers.&lt;/p&gt;&lt;p&gt;However, on the older server, hundreds of data entries (such as tags and additional devices) were added manually over the years. These entries are included in the exported&amp;nbsp;.csv&amp;nbsp;file. Is it possible to import this&amp;nbsp;.csv&amp;nbsp;file into the new server without errors?&lt;/p&gt;&lt;p&gt;If not, what would be the recommended way to add the missing devices to the new server?&lt;/p&gt;&lt;p&gt;(It seems the GENERATE_OCS_FILES function only works with assets with active agents, so I think&amp;nbsp;this is not my case)&lt;/p&gt;&lt;p&gt;Thank you in advance for your advice!&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15291/importing-assets-via-csv</guid>
<pubDate>Wed, 27 Nov 2024 21:11:56 +0000</pubDate>
</item>
<item>
<title>Download .ocs files</title>
<link>https://ask.ocsinventory-ng.org/15290/download-ocs-files</link>
<description>&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Good evening,&lt;br&gt;I am currently using OCS Inventory Server version 2.12.3 on an Ubuntu 24.04 machine. Using the&amp;nbsp;&lt;code&gt;injector.pl&lt;/code&gt;&amp;nbsp;script, I successfully uploaded an&amp;nbsp;&lt;code&gt;.ocs&lt;/code&gt;&amp;nbsp;file related to an asset.&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Later, I connected the OCS agent from my Windows PC, which was correctly and automatically registered in the inventory server. However, when I tried to download the&amp;nbsp;&lt;code&gt;.ocs&lt;/code&gt;&amp;nbsp;files using the&amp;nbsp;&lt;code&gt;GENERATE_OCS_FILES&lt;/code&gt;&amp;nbsp;feature, I noticed that only the&amp;nbsp;&lt;code&gt;.ocs&lt;/code&gt;&amp;nbsp;file for my Windows PC was downloaded and not the one without the agent I imported with the script.&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Does the&amp;nbsp;&lt;code&gt;GENERATE_OCS_FILES&lt;/code&gt;&amp;nbsp;function work only for assets with an active agent communicating with the server?&lt;/p&gt;&lt;p style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Thank you in advance for your help!&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15290/download-ocs-files</guid>
<pubDate>Wed, 27 Nov 2024 21:00:08 +0000</pubDate>
</item>
<item>
<title>Put my SSL certif &amp; reach OCS server on HTTPS</title>
<link>https://ask.ocsinventory-ng.org/15289/put-my-ssl-certif-%26-reach-ocs-server-on-https</link>
<description>&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=10495892743520431145&quot; style=&quot;height:389px; width:597px&quot;&gt;Hi Guys,&amp;nbsp;&lt;/p&gt;&lt;p&gt;This question may already have been asked but I can't find any real good answer to my issue.&lt;/p&gt;&lt;p&gt;I'm trying to put my own SSL certificates on my OCS server (Debian12 with Apache). Seems simple on the thousand tutos I've seen. I have modified the vhost file&amp;nbsp;&lt;/p&gt;&lt;p&gt;But I don't know what to do after that. This is not working : I can't reach the OCS server via HTTPS on another machine. Even worst, I can't do that in the local server either.&lt;/p&gt;&lt;p&gt;Everything becomes reachable only when I put back the initial config of the vhost.&lt;/p&gt;&lt;p&gt;Can somebody help please?&lt;/p&gt;&lt;p&gt;Thanks a lot&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15289/put-my-ssl-certif-%26-reach-ocs-server-on-https</guid>
<pubDate>Wed, 27 Nov 2024 16:33:36 +0000</pubDate>
</item>
<item>
<title>Problem with GENERATE_OCS_FILES</title>
<link>https://ask.ocsinventory-ng.org/15277/problem-with-generate_ocs_files</link>
<description>&lt;p&gt;&lt;span style=&quot;caret-color:#000000; color:#000000; font-size:medium&quot;&gt;Good morning, we have a CentOS 5.11 machine with OCS Server version 2.1RC1 in production, which allows us to download .ocs files from the web interface using GENERATE_OCS_FILES. We cloned the machine to perform tests, but GENERATE_OCS_FILES is not working. What could be the problem? How does the GENERATE_OCS_FILES function work specifically?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;caret-color:#000000; color:#000000; font-size:medium&quot;&gt;Thank you&lt;/span&gt;&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15277/problem-with-generate_ocs_files</guid>
<pubDate>Mon, 25 Nov 2024 11:10:30 +0000</pubDate>
</item>
<item>
<title>Server doesn't receive data from windows agent</title>
<link>https://ask.ocsinventory-ng.org/15260/server-doesnt-receive-data-from-windows-agent</link>
<description>&lt;p&gt;Hi!&amp;nbsp;&lt;/p&gt;&lt;p&gt;I've spent a bunch of hours but still unable to resolve my issue. I used this&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.howtoforge.com/how-to-install-ocs-inventory-server-on-ubuntu-22-04&quot;&gt;instruction&lt;/a&gt;&amp;nbsp;and looks like&amp;nbsp;OCSInventory-Server was installed correct (at least no perl modules error or smth). Everything works well except getting data from OCS Inventory Agent Version 2.10.1.0 (win). db/urls works fine e.g. &lt;a href=&quot;https://help.host/ocsreports/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://help.host/ocsreports/&lt;/a&gt; and I checked /etc/apache2/conf-enabled/z-ocsinventory-server.conf ~100 times&lt;/p&gt;&lt;p&gt;Setup:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&quot;Ubuntu 24.04.1 LTS&quot;&lt;/li&gt;&lt;li&gt;Composer version 2.8.2 2024-10-29 16:12:11&lt;/li&gt;&lt;li&gt;perl 5, version 38, subversion 2 (v5.38.2)&lt;/li&gt;&lt;li&gt;Server version: Apache/2.4.58 (Ubuntu)&lt;/li&gt;&lt;li&gt;glpi on same host&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Client log:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;==============================================================================&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;Starting OCS Inventory Agent on Saturday, November 02, 2024 23:13:36.&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Running OCS Inventory Agent Version 2.10.1.0&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Using OCS Inventory FrameWork Version 2.10.1.0&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Loading plug-in(s)&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;DLL PLUGIN =&amp;gt; Searching for Plug-in DLL(s) in folder &amp;lt;C:\Program Files\OCS Inventory Agent\plugins&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;DLL PLUGIN =&amp;gt; 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Using network connection with Communication Server&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM PROVIDER =&amp;gt; Loading Communication Provider &amp;lt;C:\Program Files\OCS Inventory Agent\ComHTTP.dll&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Using Communication Provider &amp;lt;OCS Inventory cURL Communication Provider&amp;gt; Version &amp;lt;2.10.1.0&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Sending getLabel request&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Initializing cURL library for getFile&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Using cURL with server authentication&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Disabling cURL proxy support&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Disabling cURL SSL server validation support&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Sending fileGet request to URL &amp;lt;&lt;a href=&quot;https://help.host/ocsreports/deploy/label&amp;gt;&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://help.host/ocsreports/deploy/label&amp;gt;&lt;/a&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; fileGet response received &amp;lt;HTTP Status Code #404&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Cleaning cURL library&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Failed to retrieve Label &amp;lt;HTTP Status Code #404&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Sending Prolog&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;DID_CHECK =&amp;gt; Read DeviceID &amp;lt;GAMS-JB-2024-11-02-20-50-54&amp;gt; and MACs &amp;lt;00:50:56:98:79:F900:50:56:98:72:2C&amp;gt; in file &amp;lt;ocsinventory.dat&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Initializing cURL library for sendRequest&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Using cURL with server authentication&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Disabling cURL proxy support&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Disabling cURL SSL server validation support&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Sending HTTP Post request to URL &amp;lt;&lt;a href=&quot;https://help.host/ocsreports&amp;gt;&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://help.host/ocsreports&amp;gt;&lt;/a&gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; HTTP Post response received &amp;lt;HTTP Status Code #200&amp;gt;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;COM SERVER =&amp;gt; Cleaning cURL library&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;================= TRACE START ===============&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;================= TRACE STOP ===============&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Prolog successfully sent&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Prolog Frequency set to 10 hour(s)&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Inventory on startup option set to&amp;nbsp; &lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Unloading communication provider&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Unloading plug-in(s)&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;AGENT =&amp;gt; Execution duration: 00:00:00.&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Server log (even owner in www-data for /var/log/ocsinventory-server/):&lt;/p&gt;&lt;p&gt;&lt;sub&gt;tail: cannot open '/var/log/ocsinventory-server/activity.log' for reading: No such file or directory&lt;/sub&gt;&lt;/p&gt;&lt;p&gt;but from apache side:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;help.host:443 192.168.212.120 - - [02/Nov/2024:23:27:26 +0300] &quot;GET /ocsreports/deploy/label HTTP/1.1&quot; 404 7893 &quot;-&quot; &quot;OCS-NG_WINDOWS_AGENT_v2.10.1.0&quot;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;help.&amp;nbsp;host:443 192.168.212.120 - - [02/Nov/2024:23:27:26 +0300] &quot;POST /ocsreports HTTP/1.1&quot; 301 8013 &quot;-&quot; &quot;OCS-NG_WINDOWS_AGENT_v2.10.1.0&quot;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11px&quot;&gt;&lt;sub&gt;help&amp;nbsp;host:443 192.168.212.120 - - [02/Nov/2024:23:27:26 +0300] &quot;GET /ocsreports/ HTTP/1.1&quot; 200 6889 &quot;-&quot; &quot;OCS-NG_WINDOWS_AGENT_v2.10.1.0&quot;&lt;/sub&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Could you please give me a piece of advice how else I can debug/fix the issue?&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15260/server-doesnt-receive-data-from-windows-agent</guid>
<pubDate>Sat, 02 Nov 2024 20:45:18 +0000</pubDate>
</item>
<item>
<title>Duplicate handling in OCS</title>
<link>https://ask.ocsinventory-ng.org/15255/duplicate-handling-in-ocs</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have a problem with managing machines that are duplicated, I have several computers that share the same serial number and when synchronizing in the external tool &amp;quot;itop&amp;quot; it only takes one computer, it ignores the others.&lt;br /&gt;
&lt;br /&gt;
Any solution from OCS Inventory?</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15255/duplicate-handling-in-ocs</guid>
<pubDate>Wed, 30 Oct 2024 18:48:28 +0000</pubDate>
</item>
<item>
<title>Can't locate DBD/mysql.pm</title>
<link>https://ask.ocsinventory-ng.org/15238/cant-locate-dbd-mysql-pm</link>
<description>&lt;p&gt;Hello everyone,&lt;/p&gt;&lt;p&gt;i have a problem with my ocs inventory installation, so far everything works fine my ocsreports site with ssl works and the agent from my windows client sends POST to the server.&lt;br&gt;But the problem i have right now is that the communication server dont write anything in the database because of this error:&lt;br&gt;&lt;img alt=&quot;&quot; src=&quot;https://ask.ocsinventory-ng.org/?qa=blob&amp;amp;qa_blobid=13854701179244807013&quot; style=&quot;height:27px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;And i cant figure it out the problem the INC path is also set to the path in the error, the permissions are set to apache and i tried it with root too, i also reinstalled it. Maybe someone had a similar problem and knows a solution.&lt;/p&gt;&lt;p&gt;if more screenshots or infos are needed please let me know im still a beginner.&lt;/p&gt;&lt;p&gt;I'm thankfull for any kind of help .&lt;/p&gt;</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15238/cant-locate-dbd-mysql-pm</guid>
<pubDate>Wed, 30 Oct 2024 12:18:55 +0000</pubDate>
</item>
<item>
<title>Bug 401 Ajax</title>
<link>https://ask.ocsinventory-ng.org/15237/bug-401-ajax</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have bug with interface. Erreur ajax 401. My interface flash.&lt;br /&gt;
&lt;br /&gt;
Have you a solution?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15237/bug-401-ajax</guid>
<pubDate>Wed, 30 Oct 2024 09:45:45 +0000</pubDate>
</item>
<item>
<title>proxy server | transfert data to master server ?</title>
<link>https://ask.ocsinventory-ng.org/15221/proxy-server-transfert-data-to-master-server</link>
<description>Hi everyone,&lt;br /&gt;
&lt;br /&gt;
I'm looking for some advice on setting up a local server or VM at a branch office. The goal is to collect inventory information from all client devices in that branch and then transfer the data to the main OCS server.&lt;br /&gt;
&lt;br /&gt;
Has anyone done something similar, or can anyone suggest a solution? I'm working on this for my project and would really appreciate any help or suggestions!&lt;br /&gt;
&lt;br /&gt;
Thanks in advance!</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15221/proxy-server-transfert-data-to-master-server</guid>
<pubDate>Tue, 22 Oct 2024 08:25:04 +0000</pubDate>
</item>
<item>
<title>PC inventory inserted in Server Category of iTOP</title>
<link>https://ask.ocsinventory-ng.org/15213/pc-inventory-inserted-in-server-category-of-itop</link>
<description>I have been able to synchronise data between OCS and iTOP. &amp;nbsp;Agent for Windows has been installed on 1 PC. When launching the synchronisation, the inventoried PC data has been inserted in the Server category in iTOP. I want to know which field is causing this issue as the data should have been captured in the PC category in iTOP. Please help</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15213/pc-inventory-inserted-in-server-category-of-itop</guid>
<pubDate>Thu, 17 Oct 2024 09:44:25 +0000</pubDate>
</item>
<item>
<title>Software missing or in wrong section?</title>
<link>https://ask.ocsinventory-ng.org/15212/software-missing-or-in-wrong-section</link>
<description>We are seeing an inconsistency with our OCS NG deployment where when performing a criteria-based search from the web GUI and specifying something with search parameter All software Name LIKE firefox, this comes back with some hits but we have now identified that this does not include registered agents/computers for which we have confirmed to have the software queried for. That is to say, we have computers that (for example), we know have Firefox installed, have similar OCS agents installed as compared to other PCs in our environment, and we have configured everything the same. Oddly enough, these computers are submitting inventory but it's not reporting that one specific software.&lt;br /&gt;
&lt;br /&gt;
We assumed the user somehow found a way to install the software to their profile however after investigation, this does not appear to be the case.&lt;br /&gt;
&lt;br /&gt;
We have been looking at the server and agent logs after turning on more verbose debug logging for both. We have also tried restarting the Agent service on affected workstations to determine if the outcome changes based on us starting the service manually.&lt;br /&gt;
&lt;br /&gt;
The only significant changes we have made recently are adding an OCS plugin for collecting user installed apps which we found on the official OCS website. One agent is reporting such user installed apps as expected but is also including Firefox in its results which is contrary to what we see when we are logged into the Windows machine itself. Due to this, we are seeing that it does not report Firefox in the Software inventory section when inspecting the computer from the OCS web GUI.&lt;br /&gt;
&lt;br /&gt;
Additionally, we have made sure that this is not just a limitation of how the results are immediately populated where if multiple software is installed that includes the query keyword, OCS has a habit of only showing the first match. This is not what we are seeing with our discovered problem.&lt;br /&gt;
&lt;br /&gt;
We need assistance in identifying where the issue is occurring. Because the inconsistencies are practically random, we are leaning towards blaming the server however we are not able to find proof in either the Apache logs nor the Agent logs on the workstations.&lt;br /&gt;
&lt;br /&gt;
It's odd that we see this with only 2 PCs but not all other agents that are running similar OS with similar config. It's almost as if the problem could actually be the OS and not the application. We need to prove that this is the case and not OCS.&lt;br /&gt;
&lt;br /&gt;
How else can we identify any possible errors for OCS aside from logs?&lt;br /&gt;
&lt;br /&gt;
Server information&lt;br /&gt;
Operating system&lt;br /&gt;
&lt;br /&gt;
OS Name : Ubuntu 20.04.6 LTS&lt;br /&gt;
Linux Version : 5.4.0-196-generic&lt;br /&gt;
RAM installed : 3919 MB&lt;br /&gt;
Free RAM : 2041 MB&lt;br /&gt;
CPU : AMD 24-Core Processor&lt;br /&gt;
&lt;br /&gt;
Software&lt;br /&gt;
&lt;br /&gt;
PHP Version : 7.4.3&lt;br /&gt;
Web Server : Apache/2.4.41 (Ubuntu)&lt;br /&gt;
Database Server : mysql (Ubuntu) version 8.0.39-0ubuntu0.20.04.1&lt;br /&gt;
Version OCSReports: 2.8.1&lt;br /&gt;
&lt;br /&gt;
The agents we see the problem with are Windows agents running this version:&lt;br /&gt;
&lt;br /&gt;
OCS-NG_WINDOWS_AGENT_v2.8.0.0 on Windows 10 Pro (x64) v. 10.0.19045&lt;br /&gt;
&lt;br /&gt;
OCS-NG_WINDOWS_AGENT_v2.8.0.0 on Windows 11 Pro v. 10.0.22621</description>
<category>OCS Inventory NG server for Unix</category>
<guid isPermaLink="true">https://ask.ocsinventory-ng.org/15212/software-missing-or-in-wrong-section</guid>
<pubDate>Tue, 15 Oct 2024 20:09:04 +0000</pubDate>
</item>
</channel>
</rss>