Please read this if you are planning patching your Oracle database with autoupgrade to 23.26.4 as there is issue / bug with with ‘analyze’ phase.
If you face errors during precheck phase like:
CDB$ROOT SC_RAC_CRS_OH_MISMATCH use below workaround or wait for newer version of autoupgrade.
For the moment 20/11/2026 writing this article newest one available build.version 26.7.2.261111 still have a issue
under this link you can find recent version: https://download.oracle.com/otn-pub/otn_software/autoupgrade.jar
Now test case and workaround:
We are creating a new AutoUpgrade config file containing
cat patching_23_26_4.cfg
global.global_log_dir=/home/oracle/autoupgrade/upg26
upg1.source_home=/u01/app/oracle/product/23.26.2/dbhome_1
upg1.target_home=/u01/app/oracle/product/23.26.4.0/dbhome_1
upg1.sid=CDB11
upg1.restoration=no
Run analyze to check patching prerequisites:
Questions about your own setup? A dbi services consultant can look at your case.
Talk to an expert (opens in a new tab)/u01/app/oracle/product/23.26.4.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/23.26.4.0/dbhome_1/rdbms/admin/autoupgrade.jar -config patching_23_26_4.cfg -mode analyze
oracle@rac_node1:~/ [CDB11] /u01/app/oracle/product/23.26.4.0/dbhome_1/jdk/bin/java -jar
/u01/app/oracle/product/23.26.4.0/dbhome_1/rdbms/admin/autoupgrade.jar -config patching_23_26_4.cfg -mode analyze
AutoUpgrade 26.5.2.261008 launched with default internal options
Processing config file ...
Pluggable database TEMPLATE_PDB01 in CDB11 is MOUNTED and it will not be processed
+-----------------------------+
| Starting AutoUpgrade execution |
+-----------------------------+
1 CDB(s) plus 3 PDB(s) will be analyzed
Type "help" to list console commands
upg> Job 103 completed
---------------- Final Summary ----------------
Number of databases [ 1 ]
Jobs finished [1]
Jobs failed [0]
Please check the summary report at:
/home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.html
/home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.log
oracle@rac_node1:~/ [CDB11] cat /home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.log
========================================
AutoUpgrade Summary Report
========================================
[Date] Fri Nov 20 10:25:54 CET 2026
[Number of Jobs] 1
========================================
[Job ID] 103
========================================
[DB Name] CDB11
[Version Before Upgrade] 23.26.2.0.0
[Version After Upgrade] 23.26.4.0.0
----------------------------------------
[Stage Name] PRECHECKS
[Status] FAILURE
[Start Time] 2026-11-20 10:25:14
[Duration] 0:00:39
[Log Directory] /home/oracle/autoupgrade/upg26/CDB11/103/prechecks
[Detail] /home/oracle/autoupgrade/upg26/CDB11/103/prechecks/CDB1_preupgrade.log
Check failed for CDB$ROOT, manual intervention needed for the below checks:
[SC_RAC_CRS_OH_MISMATCH]
Cause: The following checks have ERROR severity and no auto fixup is available or
the fixup failed to resolve the issue. Fix them before continuing:
CDB$ROOT SC_RAC_CRS_OH_MISMATCH
Reason: Database Checks has Failed. Details in
/home/oracle/autoupgrade/upg26/CDB11/103/prechecks
Action: [MANUAL]
Info: Return status is ERROR
ExecutionError: No
Error Message: The following checks have ERROR severity and no auto fixup is available or
the fixup failed to resolve the issue. Fix them before continuing:
CDB$ROOT SC_RAC_CRS_OH_MISMATCH
oracle@rac_node1:~/ [CDB11] more /home/oracle/autoupgrade/upg26/CDB11/103/prechecks/CDB1_preupgrade.log
Report generated by AutoUpgrade 26.5.2.261008 (02ee109fe) on 2026-11-20 10:25:49
Upgrade-to version: 23.0.0.0.0
========================================
Status of the database prior to upgrade
========================================
Database Name: CDB11
Container Name: CDB$ROOT
Container ID: 1
Version: 23.26.2.0.0
DB Patch Level: Database Release Update : 23.26.2.0.0 (39092711) Gold Image
Compatible: 23.0.0
Blocksize: 8192
Platform: Linux x86 64-bit
Timezone File: 43
Database Log mode: ARCHIVELOG
Readonly: false
Oracle Component Upgrade Action Current Status
---------------- -------------- --------------
None
*
* ALL Components in This Database Registry:
*
Component Current Current Original Previous Component
CID Version Status Version Version Schema
---------- ----------- ----------- ------------ ------------ -----------
APS 23.26.2.0.0 VALID 23.26.1.0.0 SYS
CATALOG 23.26.2.0.0 VALID 23.26.1.0.0 SYS
CATJAVA 23.26.2.0.0 VALID 23.26.1.0.0 SYS
CATPROC 23.26.2.0.0 VALID 23.26.1.0.0 SYS
CONTEXT 23.26.2.0.0 VALID 23.26.1.0.0 CTXSYS
DV 23.26.2.0.0 VALID 23.26.1.0.0 DVSYS
JAVAVM 23.26.2.0.0 VALID 23.26.1.0.0 SYS
OLS 23.26.2.0.0 VALID 23.26.1.0.0 LBACSYS
OWM 23.26.2.0.0 VALID 23.26.1.0.0 WMSYS
RAC 23.26.2.0.0 VALID 23.26.1.0.0 SYS
SDO 23.26.2.0.0 VALID 23.26.1.0.0 MDSYS
XDB 23.26.2.0.0 VALID 23.26.1.0.0 XDB
XML 23.26.2.0.0 VALID 23.26.1.0.0 SYS
XOQ 23.26.2.0.0 VALID 23.26.1.0.0 OLAPSYS
================
BEFORE UPGRADE
================
REQUIRED ACTIONS
================
1.
CheckName FixUp Available
SC_RAC_CRS_OH_MISMATCH NO
Severity Stage
ERROR PRECHECKS
Use srvctl to update the Oracle home configured in CRS for the RAC
database so that all instances use the same Oracle home path. Refer to
MOS Note KB626357 for more details.
Datapatch, via Queryable Inventory, compares patch state across RAC
instances and determines the required SQL update actions for the cluster.
Therefore, Clusterware (CRS) must be configured so that all RAC instances
use the same Oracle home path to ensure they share the same patched
binaries.
The Oracle home configured in CRS differs from the ORACLE_HOME value in
the environment. This mismatch can cause inconsistencies in accessing
patch inventory across RAC instances, and datapatch may fail to detect
and/or apply the required SQL updates for the installed patches.
I tried also with newest version of autoupgrade from oracle and the issue still the same
the issue is that autoupgrade checking clusterware oracle_home settings and have some mismatch with current one, but I checked
this is not correct:
srvctl config -d CDBNAME and ORACLE_HOME is properly set for old one.
=/u01/app/oracle/product/23.26.2/dbhome_1, there is no issue with starting /stoping this CDB using srvctl and its works on this home since months.
I tried with 23.26.2 autoupgrade and there is no issue:
[oracle@rac_node1:~/ [CDB11] /u01/app/oracle/product/23.26.4.0/dbhome_1/jdk/bin/java -jar
/u01/app/oracle/product/23.26.2/dbhome_1/rdbms/admin/autoupgrade.jar -config patching_23_26_4.cfg -mode analyze
AutoUpgrade version is older than 180 days. Oracle recommends to download the latest software version
from MOS Doc id 2485457.1 https://support.oracle.com/epmos/faces/DocumentDisplay?id=2485457.1.
AutoUpgrade 26.1.260428 launched with default internal options
Processing config file ...
Pluggable database TEMPLATE_PDB01 in CDB11 is MOUNTED and it will not be processed
+-----------------------------------------+
| Starting AutoUpgrade execution |
+-----------------------------------------+
1 CDB(s) plus 3 PDB(s) will be analyzed
Type 'help' to list console commands
upg> Job 102 completed
------------------- Final Summary --------------------
Number of databases [ 1 ]
Jobs finished [1]
Jobs failed [0]
Please check the summary report at:
/home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.html
/home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.log
oracle@rac_node1:~/ [CDB11] cat /home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.log
==========================================
Autoupgrade Summary Report
==========================================
[Date] Fri Nov 20 11:29:43 CET 2026
[Number of Jobs] 1
[Job ID] 102
[DB Name] CDB1
[Version Before Upgrade] 23.26.2.0.0
[Version After Upgrade] 23.26.4.0.0
[Stage Name] PRECHECKS
[Status] SUCCESS
[Start Time] 2026-11-20 11:29:04
[Duration] 0:00:38
[Log Directory] /home/oracle/autoupgrade/upg26/CDB11/102/prechecks
[Detail] /home/oracle/autoupgrade/upg26/CDB11/102/prechecks/CDB1_preupgrade.log
Check passed and no manual intervention needed
Workaround:
I don’t recommend use autoupgrade from previous version 26.2 , so as workaround I decided to use newest one just skip precheck phase.
I used newest autoupgrade but skip analyze/deploy phase and do straight to upgrade, but before we do that we need to start CDB from new home and cleanup autoupgrade logs folder.
1. clean up autoupgrade logs folder in my case /home/oracle/autoupgrade/upg26, (you don’t need to reinstate , try to cancel previous executions)
2. Stopping rac database cluster:
srvctl stop database -d CDB1
3. Modify oracle_home for new_one:
srvctl modify database -d CDB1 -oraclehome /u01/app/oracle/product/23.26.4.0/dbhome_1
4. Start first instance from new home:
srvctl start instance -d CDB1 -i CDB11
5. Start autoupgrade without precheck phase using -mode upgrade :
oracle@rac_node1:~/ [rdbms23_a] /u01/app/oracle/product/23.26.4.0/dbhome_1/jdk/bin/java -jar ~/autoupgrade.jar -config patching_23_26_4.cfg -mode upgrade
AutoUpgrade 26.7.2.261111 launched with default internal options
Processing config file ...
+-----------------------------------------+
| Starting AutoUpgrade execution |
+-----------------------------------------+
1 CDB(s) plus 4 PDB(s) will be processed
Type 'help' to list console commands
upg> lsj -a 7
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|DBUPGRADE|EXECUTING|RUNNING| 14:58:51| 7s ago|Running|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED| MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|DBUPGRADE|EXECUTING|RUNNING| 14:58:51|19s ago|90%Patching CDB$ROOT|
+----+-------+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED| MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|DBUPGRADE|EXECUTING|RUNNING| 14:58:51|53s ago|90%Patching TEMPLATE_PDB01|
+----+-------+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|DBUPGRADE|EXECUTING|RUNNING| 14:58:51| 2s ago|90%Patching PDBDUMPD01|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTCHECKS|EXECUTING|RUNNING| 14:58:51| 6s ago|Loading database information|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTFIXUPS|EXECUTING|RUNNING| 14:58:51|!!!346s ago|Executing fixups|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTCHECKS|EXECUTING|RUNNING| 14:58:51| 6s ago|Loading database information|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTFIXUPS|EXECUTING|RUNNING| 14:58:51|!!!346s ago|Executing fixups|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTFIXUPS|EXECUTING|RUNNING| 14:58:51| 0s ago|Executing fixups|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTFIXUPS|EXECUTING|RUNNING| 14:58:51| 2s ago|Refreshing DB info|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
|Job#|DB_NAME|STAGE|OPERATION|STATUS|START_TIME|UPDATED|MESSAGE|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
| 100|CDB11|POSTFIXUPS|EXECUTING|RUNNING| 14:58:51| 2s ago|Re-Executing Checks|
+----+-------+---------+---------+-------+----------+-------+----------------------------------------+
Total jobs 1
The command lsj is running every 7 seconds. PRESS ENTER TO EXIT
Job 100 completed
------------------- Final Summary --------------------
Number of databases [ 1 ]
Jobs finished [1]
Jobs failed [0]
Please check the summary report at:
/home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.html
/home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.log
oracle@rac_node1:~/ [rdbms23_a] cat /home/oracle/autoupgrade/upg26/cfgtoollogs/upgrade/auto/status/status.log
==========================================
Autoupgrade Summary Report
==========================================
[Date] Fri Nov 20 15:39:55 CET 2026
[Number of Jobs] 1
[Job ID] 100
[DB Name] CDB1
[Version Before Upgrade] 23.26.2.0.0
[Version After Upgrade] 23.26.4.0.
[Stage Name] DBUPGRADE
[Status] SUCCESS
[Start Time] 2026-11-20 14:58:51
[Duration] 0:18:55
[Log Directory] /home/oracle/autoupgrade/upg26/CDB11/100/dbupgrade
[Stage Name] POSTCHECKS
[Status] SUCCESS
[Start Time] 2026-11-20 15:17:47
[Duration] 0:00:07
[Log Directory] /home/oracle/autoupgrade/upg26/CDB11/100/postchecks
[Detail] /home/oracle/autoupgrade/upg26/CDB11/100/postchecks/CDB1_postupgrade.log
Check passed and no manual intervention needed
[Stage Name] POSTFIXUPS
[Status] SUCCESS
[Start Time] 2026-11-20 15:17:55
[Duration] 0:21:57
[Log Directory] /home/oracle/autoupgrade/upg26/CDB11/100/postfixups
[Detail] /home/oracle/autoupgrade/upg26/CDB11/100/postfixups/postfixups.html
[Stage Name] SYSUPDATES
[Status] SUCCESS
[Start Time] 2026-11-20 15:39:53
[Duration] 0:00:01
[Log Directory] /home/oracle/autoupgrade/upg26/CDB11/100/sysupdates
Summary:/home/oracle/autoupgrade/upg26/CDB11/100/dbupgrade/datapatch_summary.log
6. Now we can restart one more time CDB and check if all components are valid:
srvctl stop database -d CDB1
srvctl start database -d CDB1
srvctl status database -d CDB1
Instance CDB11 is running on node rac_node1
Instance CDB12 is running on node rac_node2
SQL> select con_id,comp_name,version_full,status from cdb_registry order by con_id;
CON_ID COMP_NAME VERSION_FULL STATUS
------ ---------------------------------------- -------------- ------
1 Oracle Database Catalog Views 23.26.4.0.0 VALID
1 Oracle Database Vault 23.26.4.0.0 VALID
1 Oracle Label Security 23.26.4.0.0 VALID
1 Spatial 23.26.4.0.0 VALID
1 Oracle OLAP API 23.26.4.0.0 VALID
1 Oracle Text 23.26.4.0.0 VALID
1 Oracle Database Packages and Types 23.26.4.0.0 VALID
1 Oracle XML Database 23.26.4.0.0 VALID
1 OLAP Analytic Workspace 23.26.4.0.0 VALID
1 Oracle Database Java Packages 23.26.4.0.0 VALID
1 Oracle XDK 23.26.4.0.0 VALID
1 JServer JAVA Virtual Machine 23.26.4.0.0 VALID
1 Oracle Real Application Clusters 23.26.4.0.0 VALID
1 Oracle Workspace Manager 23.26.4.0.0 VALID
4 Oracle Database Catalog Views 23.26.4.0.0 VALID
4 Oracle Database Packages and Types 23.26.4.0.0 VALID
4 Oracle Real Application Clusters 23.26.4.0.0 VALID
4 JServer JAVA Virtual Machine 23.26.4.0.0 VALID
4 Oracle XDK 23.26.4.0.0 VALID
4 Oracle Database Java Packages 23.26.4.0.0 VALID
4 Oracle Database Vault 23.26.4.0.0 VALID
4 Oracle XML Database 23.26.4.0.0 VALID
4 Oracle Workspace Manager 23.26.4.0.0 VALID
4 Oracle Text 23.26.4.0.0 VALID
4 Oracle OLAP API 23.26.4.0.0 VALID
4 Spatial 23.26.4.0.0 VALID
4 Oracle Label Security 23.26.4.0.0 VALID
4 OLAP Analytic Workspace 23.26.4.0.0 VALID
5 Oracle Database Catalog Views 23.26.4.0.0 VALID
5 Oracle Database Packages and Types 23.26.4.0.0 VALID
5 Oracle Real Application Clusters 23.26.4.0.0 VALID
5 JServer JAVA Virtual Machine 23.26.4.0.0 VALID
5 Oracle XDK 23.26.4.0.0 VALID
5 Oracle Database Java Packages 23.26.4.0.0 VALID
5 Oracle Database Vault 23.26.4.0.0 VALID
5 Oracle XML Database 23.26.4.0.0 VALID
5 Oracle Workspace Manager 23.26.4.0.0 VALID
5 Oracle Text 23.26.4.0.0 VALID
5 Oracle OLAP API 23.26.4.0.0 VALID
5 Spatial 23.26.4.0.0 VALID
5 Oracle Label Security 23.26.4.0.0 VALID
5 OLAP Analytic Workspace 23.26.4.0.0 VALID
Presented workaround work for my customer environment, but as every environment is different check out with yours if there are no other prechecks fails which need to be fix before
I hope this issue will be solved soon in 23.26.5 or in newer release of autoupgrade.