Sunday 29 March 2020

Adop apply fails with " Do you wish to apply this patch now [No] ? No *

Adop apply fails with " Do you wish to apply this patch now [No] ? No *





APPLIES TO:

Oracle E-Business Suite Technology Stack - Version 12.2.3 to 12.2.3 [Release 12.2]
Information in this document applies to any platform.
SYMPTOMS
On  12.2.x version, Patch Application Issues
When attempting to apply patch the following error occurs:

  Node <node>: FAILED
  - Apply status: FAILED
  [UNEXPECTED] Apply phase has failed.
  [ERROR] adop phase=apply failed on Node: "<node>"
  [ERROR] adop phase=apply failed or is incomplete on Admin node: <node>
  [ERROR] Unable to continue processing on other available nodes: <node2>,<node3>
  [UNEXPECTED] Error running "adop phase=apply" on node(s): <node>.

The issue can be reproduced at will with the following steps:

1. Attempt to apply patch
2 Fails without much information apart from patch log entry:

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This base patch contains files which may require translation
depending on the languages you currently have installed.

Oracle Corporation recommends that you obtain any translated versions of this
patch for each of your non-US languages after applying this base patch.
Or you may request and apply a Translation Synchronization Patch
to obtain the translation.
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Do you wish to apply this patch now [No] ? No *

CAUSE

The adalldefaults.txt was providing default answer "No" during patch application.
 
As per the following output:

$APPL_TOP/admin/${TWO_TASK}/adalldefaults.txt


#
# Do you wish to continue with applying this patch even if there are
# translated version of the same patch pending to be applied ?
#

## Start of Defaults Record
 %%START_OF_TOKEN%%
  MISSING_TRANSLATED_VERSION
 %%END_OF_TOKEN%%

 %%START_OF_VALUE%%
No
 %%END_OF_VALUE%%
## End of Defaults Record
 

SOLUTION


1. Please change the: $APPL_TOP/admin/${TWO_TASK}/adalldefaults.txt:

FROM:
#
# Do you wish to continue with applying this patch even if there are
# translated version of the same patch pending to be applied ?
#

## Start of Defaults Record
 %%START_OF_TOKEN%%
  MISSING_TRANSLATED_VERSION
 %%END_OF_TOKEN%%

 %%START_OF_VALUE%%
No
 %%END_OF_VALUE%%
## End of Defaults Record

TO:
#
# Do you wish to continue with applying this patch even if there are
# translated version of the same patch pending to be applied ?
#

## Start of Defaults Record
 %%START_OF_TOKEN%%
  MISSING_TRANSLATED_VERSION
 %%END_OF_TOKEN%%

 %%START_OF_VALUE%%
Yes
 %%END_OF_VALUE%%
## End of Defaults Record

2. Re-run the patch application and verify it completes successfully.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete