Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

overwriting existing files did not work

Hello,

 

we use OCS to keep some files on our machines up to date. We create a zip with several files which should be deployed to all machines. On the target all files are in one folder.

 

The last Update-Run did not work. download32 is running forever, the log only shows:

DOWNLOAD => Executing action <STORE> for package <1408603411>
    PACKAGE => Unzipping data to folder <c:\vorlagen> for package <1408603411> on <Tuesday, November 04, 2014 10:27:48>

 

If I kill download32, delete the downloaded files, delete also c:\vorlagen and start the inventory the files are downloaded and installed as they should.

The Folder c:\vorlagen and the files in there where installed by a previous run from ocs.

 

It seems that OCS has a problem to overwrite files deployed by itself.

 

Are there any hints about this?

 

Regards

 

Daniel
in OCS Inventory NG agent for Windows by (1.5k points)

1 Answer

0 votes
Store action don't delete file if it allready exist. That's normal.

You can launch a .bat command file and put in instruction to erase old file and copy new file.
by (22k points)
 
Powered by Question2Answer
...