OCS Inventory NG Forums

OCS Inventory NG, an OpenSource computer inventory and package deployement system for Windows and Unix

You are not logged in.

#1 2010-07-23 18:30:44

inckie
New member
From: Brasília, DF - Brazil
Registered: 2010-01-25
Posts: 3

Packages aren't deployed after client reinstallation [S 1.4A/A 1.1.3]

A machine was registered in a dynamic group which had a couple packages activated; when its copy of the agent sent its inventory information, it downloaded those packages and they were deployed just fine. Then that machine had to be formatted, and later it entered the same group as before, but the packages would no longer show up for download, nor would the history file contain anything.

To keep it short: the server seems not to have noticed the client's re-installation, apparently relying only on server-side information to determine that that machine already has all packages deployed.

What should we do?

Offline

#2 2010-07-24 11:08:32

hschletz
Member
Registered: 2010-06-02
Posts: 12

Re: Packages aren't deployed after client reinstallation [S 1.4A/A 1.1.3]

The machine seems to have been detected as a duplicate of the old installation. In that case, it inherits the old installation's package information. Do the packages show up as installed in the new installation's inventory?

It's not a bug, it's a feature. I find this very annoying, too. When a duplicate gets handled after reinstallation, I'd like to have the packages reinstalled instead of being marked as already installed. This could be easily made configurable.

Without changes to the code, you have 2 options:

1. Reinstall the packages manually, bypassing OCS Inventory. Future deployments will start working as usual.
2. Purge all package information from the 'devices' and 'download_history' table and the client-side history file and start inventory again.

Offline

#3 2010-07-28 21:45:11

inckie
New member
From: Brasília, DF - Brazil
Registered: 2010-01-25
Posts: 3

Re: Packages aren't deployed after client reinstallation [S 1.4A/A 1.1.3]

hschletz wrote:

Without changes to the code, you have 2 options:

1. Reinstall the packages manually, bypassing OCS Inventory. Future deployments will start working as usual.
2. Purge all package information from the 'devices' and 'download_history' table and the client-side history file and start inventory again.

1. Problem is, we have about 10,000 machines registered, and certain events here may lead to 200 machines (which often aren't even geographically close) being reinstalled. Not really practical to manually reinstall packages to that many machines every now and then.

Last edited by inckie (2010-07-29 11:33:27)

Offline

#4 2010-07-29 02:16:04

kraucer
Member
From: Brasília-DF
Registered: 2010-01-20
Posts: 13
Website

Re: Packages aren't deployed after client reinstallation [S 1.4A/A 1.1.3]

I'm also having the same problem here.

Offline

Board footer

Powered by FluxBB