Upgrade OCS Agent failed via Télédéploy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Windows Agent |
New
|
Medium
|
Didier Liroulet |
Bug Description
Bonjour,
Voici un bug constaté lors de tests de mise à jour d'agent OCS de la version installée sur le client ( 2.0.5 ) vers la dernière version stable : 2.1.1 via télédéploiement
OCS Agent version : 2.0.5
OS : Windows 7 64bits SP1
OCS Server : 2.1.1
Le télédéploiement de la mise à jour échoue systématiquement
Download.log :
=======
Starting OCS Inventory NG Package Download and Setup Tool on Friday, June 20, 2014 10:02:14.
DOWNLOAD => Running OCS Inventory NG Download Version 2.0.5.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.0.5.0
DOWNLOAD => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\
DOWNLOAD => Package <1403251106> verified and added to process queue
DOWNLOAD => Processing packages for cycle 1 on Friday, June 20, 2014 10:02:14
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 2 on Friday, June 20, 2014 10:03:14
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 3 on Friday, June 20, 2014 10:04:14
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 4 on Friday, June 20, 2014 10:05:14
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 5 on Friday, June 20, 2014 10:06:14
DOWNLOAD => Downloading package fragment <1403251106-1>
COM SERVER => Initializing cURL library for getFile
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\cacert.pem>
COM SERVER => Sending fileGet request to URL <HTTP://
COM SERVER => fileGet response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
DOWNLOAD => Pausing for fragment latency (10 seconds)
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 6 on Friday, June 20, 2014 10:07:29
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 7 on Friday, June 20, 2014 10:08:29
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 8 on Friday, June 20, 2014 10:09:29
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 9 on Friday, June 20, 2014 10:10:29
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Processing packages for cycle 10 on Friday, June 20, 2014 10:11:29
DOWNLOAD => Building package <1403251106>
PACKAGE => Verifying fragment files of package <1403251106>
PACKAGE => Checking free disk space for package <1403251106>
PACKAGE => Building ZIP for package <1403251106>
PACKAGE => Verifying ZIP signature for package <1403251106>
DOWNLOAD => Package <1403251106> built successfully
DOWNLOAD => Executing action <LAUNCH> for package <1403251106>
PACKAGE => Launching command <OCS-NG-
PACKAGE => Package <1403251106> successfully launched. Command exit code is <1>
ERROR *** DOWNLOAD => Will not register package <1403251106> in history: result <EXIT_CODE_1> not a success
DOWNLOAD => Sending result code <EXIT_CODE_1> for package <1403251106>
DID_CHECK => Read DeviceID <PORTABLE-
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\cacert.pem>
COM SERVER => Sending HTTP Post request to URL <http://
COM SERVER => HTTP Post response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
DOWNLOAD => Result code request successfully sent
DOWNLOAD => Pausing for fragment latency (10 seconds)
DOWNLOAD => Pausing for cycle latency (60 seconds)
DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:10:31.
La même mise à jour lancée à la main depuis la même machine fonctionne :
Log setup :
*******
Starting OCS Inventory NG Agent 2.1.1.1 setup on 20/06/2014 at 10:15:55
Checking if setup not already running...OK.
Checking Operating System...OK, Windows 2000 or higher.
Command line is: "C:\Users\
Parsing command line arguments...OK.
Checking for silent mode...Enabled.
Checking for splash screen...Enabled.
Checking if logged in user has Administrator privileges...OK.
Creating directory <C:\ProgramData\OCS Inventory NG\Agent>...
SetACL allowing Users / Power users read/write permissions on <C:\ProgramData\OCS Inventory NG\Agent>...Result: error
SetACL propagating inherited permissions on <C:\ProgramData\OCS Inventory NG\Agent\
Trying to determine if service was previously installed...Yes.
Trying to stop service and kill processes...
Is Service <OCS Inventory Service> running...Yes.
Trying to stop Service <OCS Inventory Service>...Ok
Is Service <OCS Inventory Service> running...No - Waiting 1 second(s) for Service to stop...
Trying to kill process OcsSystray.
Trying to kill process OcsService.
Trying to kill process OCSInventory.
Trying to kill process download.
Trying to kill process inst32.
Waiting 10 seconds for processes to terminate...
Copying new files to directory <C:\Program Files (x86)\OCS Inventory Agent>...
Windows XP or higher detected, installing default cURL library and MS CRT/MFC 9.0...
Copying new files status is ;-)
Writing agent configuration file by launching ocsinventory.exe /SAVE_CONF.
Windows Advanced Firewall is not available (Vista or higher). Skip adding custom rules.
Creating startup menu shortCut <C:\ProgramData
Checking if service OCS Inventory Service is registered into Windows Service Manager...Yes
Nothing to do to register OCS Inventory Service into Windows Service Manager.
Starting OCS Inventory Service...Ok.
Writing setup result <SUCCESS> for Package ID <> to file <C:\ProgramData\OCS Inventory NG\Agent\
SUCCESS: OCS Inventory NG Agent 2.1.1.1 successfuly installed on 20/06/2014 at 10:16:43
;-)
description: | updated |
Changed in ocsinventory-windows-agent: | |
assignee: | nobody → Didier Liroulet (dliroulet) |
importance: | Undecided → Medium |