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-01-15 23:34:20

WebGreg
Member
Registered: 2020-02-27
Posts: 772

Multiple software version issue

Hi

Below is an excerpt from the "Versions" tab for the Thunderbird software:

128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.0        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.0 (x64 pl)
128.4.1        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.1 (x64 pl)
128.4.1        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.1 (x64 pl)
128.4.2        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.2 (x64 pl)
128.4.2        Microsoft Windows 10 Pro    x86_64    0    Mozilla Thunderbird 128.4.2 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 11 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)

Q1:
Why is almost every entry separate and not as one version with the appropriate number of installations?

Q2:
How can I remove the version with 0 installs (the cleansoftware task is executed but has no effect)?


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#2 2025-01-16 12:24:01

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,268
Website

Re: Multiple software version issue

Do you have a rule configured in the Software Dictionary to merge them?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2025-01-17 08:57:06

WebGreg
Member
Registered: 2020-02-27
Posts: 772

Re: Multiple software version issue

Hi @cconard96. I have rules for merging software with different names, but here I'm concerned about not merging for identical versions. Shouldn't this happen automatically?

128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 10 Pro    x86_64    1    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 11 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)

they should display as

128.6.0        Microsoft Windows 10 Pro    x86_64    13    Mozilla Thunderbird 128.6.0 (x64 pl)
128.6.0        Microsoft Windows 11 Pro    x86_64    2    Mozilla Thunderbird 128.6.0 (x64 pl)


For example, why do some entries look like this?

115.9.0        Microsoft Windows 10 Pro    x86_64    31    Mozilla Thunderbird 115.9.0 (x64 pl)

It was able to sum 31 installations but not the others. Note that even in the case of problematic ones - not all of them are as 1. Some are e.g. as 2.
And it's not like I have it as separate software. It concerns one program entry, containing a certain number of installations. Inside there is a number of versions - and the problem concerns these many versions.

Last edited by WebGreg (2025-01-17 09:05:04)


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#4 2025-02-06 09:08:57

WebGreg
Member
Registered: 2020-02-27
Posts: 772

Re: Multiple software version issue

Another issue that might be related to this, and would certainly make things easier for me, is that the cleansoftware task doesn't seem to be working. It appears to delete something in the results, but I don't see any noticeable difference in the amount of software I have.

Statistics
Run count    28 starts
27 stops
0 errors
Start date    2025-01-14 13:00
Minimal time    1.65 second
Maximal time    109.13 seconds
Average time    45.40 seconds
Total duration    1,225.81 seconds
Minimal count    1 item
Maximal count    2000 items
Average count    925.96 items
Total count    25001 items
Average speed    20.40 items/sec

https://forum.glpi-project.org/viewtopic.php?id=291205

Last edited by WebGreg (2025-02-06 09:42:27)


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#5 2025-02-12 00:55:56

DSims
Member
Registered: 2025-02-12
Posts: 1

Re: Multiple software version issue

I have this issue too.

I've manually updated the softwareversions_id in glpi_items_softwareversions to point to a singular version then cleaned up the glpi_softwareversions table - - but something is happening at insert time causing these.

1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 10 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    1    GLPI Agent 1.12
1.12        Microsoft Windows 11 Pro    x86_64    79    GLPI Agent 1.12

As you can see, fourteen devices with the 1.12 agent have been reported since the last time I cleaned up the table.



DSIMS

------
GLPI 10.0.10
GLPI-Inventory   1.3.4
Linux Mint 20.1 [Ubuntu  20.04 LTS]

Offline

#6 2025-02-13 20:38:14

warmachine
Member
Registered: 2025-02-13
Posts: 1

Re: Multiple software version issue

I have same issue and i think the problem is OS build version corelated to  software version.

Offline

#7 2025-03-07 17:49:13

faelp13
Member
From: Brasil - Porto Alegre
Registered: 2025-03-07
Posts: 1

Re: Multiple software version issue

I have the same problem, the automatic action cleansoftware executes several items, but it makes no difference, as if it removes them and the agent imports the software again. I looked for a way to execute a rule to not import empty versions, but I couldn't find anything

Offline

Board footer

Powered by FluxBB