Search Engine: Elastic

Article ID: 131758, created on Nov 10, 2017, last review on Nov 10, 2017

  • Applies to:
  • Operations Automation 7.2


Upgrade of PHP package fails on Windows host. OA registers the following event:

Installation of package PHP (id=5411) to host WINWEB01.provider.local (id=262) was failed. Reason: Failed to process executeUpdateSequence at xpath tail HOOKS/HOOK[@when='prepost' and @upgrade='yes']/child::* for pkgId: 5411, ex message is: Failed to process EXEC command for package PHP of type other having pkgId: 5411, exception message: Invalid exitCode, HCL out: , HCL err: , HCL exit code: 1 input xml: <EXEC cmd="cmd.exe" group="" user="">
<ARG value="/c"/>
<ARG value="CScript.exe //NoLogo"/>
<ARG value="&quot;${php.install.full.path}\setup\setup.vbs&quot; install ...

Other point of interest is poa.log on target host, when the following entry could be found:

WINWEB01 : DBG [task:9283736 262:6256:12d8 pleskd ]: [ HCL::HCLtoMPF::exec] Exec (cmd.exe /c CScript.exe //NoLogo "C:\PHP5\setup\setup.vbs" install "D:\PHPSessionData" "C:\PHP5\setup\custom_php.ini" "D:\PHPUploadData" >> "C:\PHP5\setup\install.log") from workdir ()
WINWEB01 : DBG [task:9283736 262:6256:12d8 pleskd ]: [ HCL::HCLtoMPF::exec] Exec returned (1)

In corresponding install.log the true cause is unveiled:

Just created D:\PHPUploadData
'D:\PHPUploadData' creation faled. Error: 58


Incorrect permissions on PHP service directory.


Rename D:\PHPUploadData and upgrade PHP package. Then move content from renamed dir to newly created one.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 31987597efff5a3a9ce779cc203bbe5e 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF