My Oracle Support Banner

autoupgrade Fails with :'ERROR: The system was unable to find the specified registry key or value' ,' It was not possible to Extract Edition from Windows Registry' (Doc ID 3030340.1)

Last updated on JANUARY 28, 2025

Applies to:

Oracle Database - Standard Edition - Version 19.3.0.0.0 and later
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

 


Announcement
DBUA is officially desupported in Oracle 23ai. This is reflected in the Oracle documentation and AutoUpgrade MOS Note 2485457.1 along with a warning message to alert customers who execute DBUA or manual upgrade methods. AutoUpgrade is the official and only supported method of upgrade.
Note: DBUA for "RAC on Windows" is supported only for the short term until this functionality is available in AutoUpgrade.

Further information on how to use this Tool is documented in Note 2485457.1Oracle 19c documentation and Oracle 23ai documentation.

To get latest version of AutoUpgrade Tool refer Note 2485457.1

Reference : AutoUprade Blog

 

 

Database upgrade using autoupgrade Fails with error:

AutoUpgrade 24.4.240426 launched with default internal options
Processing config file ...
It was not possible to Extract Edition from Windows Registry D:\app\oracle\product\19.3.0\dbhome_1

 

autoupgrade.log shows:

2024-06-05 16:18:09.929 INFO [5C3486] The process ended with an exit value 1 and the following output
ERROR: The system was unable to find the specified registry key or value.
- ExecuteProcess.doCmds#873
2024-06-05 16:18:09.929 INFO [5C3486] Starting - ExecuteProcess.destroyProcess#900
2024-06-05 16:18:09.929 INFO [5C3486] Begin Exiting process - ExecuteProcess.destroyProcess#903
2024-06-05 16:18:09.929 INFO [5C3486] End Exiting process - ExecuteProcess.destroyProcess#905
2024-06-05 16:18:09.929 INFO [5C3486] Finished - ExecuteProcess.destroyProcess#907
2024-06-05 16:18:09.929 INFO [5C3486] Finished - ExecuteProcess.doCmds#889
2024-06-05 16:18:09.929 INFO End reg query - WinRegistry.readStringValue#61
2024-06-05 16:18:09.929 INFO Fail to read value in Windows Registry HKEY=HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDB19Home1 - ORACLE_BUNDLE_NAME - WinRegistry.readStringValue#75
2024-06-05 16:18:09.929 WARNING It was not possible to Extract Edition from Windows Registry D:\app\pulse\product\19.3.0\dbhome_1 - Bootstrap.processCLIParams#83
oracle.commonx.utils.errors.ConfigurationError: It was not possible to Extract Edition from Windows Registry D:\app\pulse\product\19.3.0\dbhome_1
at oracle.upgrade.autoupgrade.config.UpgradeConfigValidator.extractWindowsTargetEdition(UpgradeConfigValidator.java:403)
at oracle.upgrade.autoupgrade.config.UpgradeConfigValidator.findTargetEdition(UpgradeConfigValidator.java:383)
at oracle.upgrade.autoupgrade.config.crafter.FullUpgCreator.craft(FullUpgCreator.java:429)



a)Checked permission on windows regedit values and the user includes the Database Installation user.:
Open the regedit and Navigate down to
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDB19Home1
Right Click & check -> Permissions

b)From windows command prompt checked, it shows all values:
reg query HKLM\SOFTWARE\ORACLE\KEY_OraDB19Home1
ORACLE_HOME    REG_SZ    D:\app\oracle\product\19.3.0\dbhome_1
ORACLE_HOME_NAME    REG_SZ    OraDB19Home1
ORACLE_GROUP_NAME    REG_SZ    Oracle - OraDB19Home1
ORACLE_BUNDLE_NAME    REG_SZ    Standard
..
..

 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.