You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-03-21 11:41:14

adamcios
Member
Registered: 2013-11-29
Posts: 6

migration from fusioninventory to glpiinventory problem

i have such problem after migration from fusioninventory-for-glpi to glpiinventory. Everything works fine but ....
Glpi agent and fusioninventory agent appear in glpi>Administrator>GLPI inventory>General>agent managment as computer agent name but it looks like computer  dont import inventory and dont create item computer_name.
I dont know why. only agent is reporting.

my glpi apache config:

<VirtualHost *:443>
    ServerName glpi.example.com

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule plugins/fusioninventory/(.*)$ /plugins/glpiinventory/$1 [R=307]
</IfModule>

    DocumentRoot /home/services/www/glpi/public

    # If you want to place GLPI in a subfolder of your site (e.g. your virtual host is serving multiple applications),
    # you can use an Alias directive:
    #Alias "/glpi" "/home/services/www/glpi"
    <Directory /home/services/www/glpi/public>
        Require all granted

        RewriteEngine On
        # Ensure authorization headers are passed to PHP.
        # Some Apache configurations may filter them and break usage of API, CalDAV, ...
        RewriteCond %{HTTP:Authorization} ^(.+)$
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

        # Redirect all requests to the GLPI router, unless file exists.
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ index.php [QSA,L]
    </Directory>
    SSLEngine on

    Include    /etc/letsencrypt/options-ssl-apache.conf
    SSLCertificateFile /etc/letsencrypt/live/glpi.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/glpi.example.com/privkey.pem
</VirtualHost>


i have two address for fusioinventory and glpi agent - https://glpi.example.com/plugins/fusioninventory/ ( address from old configuration)
and new https://glpi.example.com/plugins/glpiinventory/

screen - https://i.imgur.com/al9P48J.png

i run such commands
glpi-inventory --json > c:\temp\inventory.json
glpi-injector --file c:\temp\inventory.json --url https://glpi.example.com/plugins/glpiinventory/ and it looks the same



Due to several hundred computers in very different locations, I don't have the ability to change all the addresses. That's why I would like both FusionInventory and GLPI Inventory to work as one. I will be installing new GLPI agents with the new configuration, however, it's quite a long and tedious process. What could be wrong?

Last edited by adamcios (2025-03-21 15:02:30)

Offline

Board footer

Powered by FluxBB