ORA-39702 Error When Running Apxpatch.sql For Apex 4.2.3 Version (Doc ID 1587051.1)

Last updated on NOVEMBER 14, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 4.2.2.0011 and later
Information in this document applies to any platform.
Checked for relevance 6-May-2015

Symptoms

Trying to upgrade to APEX 4.2.3 from APEX 4.2.2 and getting the following error:

ORA-39702: database not open for UPGRADE or DOWNGRADE



SQL> connect sys@apxe1 as sysdba
Enter password:
Connected.
SQL> show con_name

CON_NAME
------------------------------
PDBAPX1
SQL> @apxpatch.sql
BEGIN dbms_registry.check_server_instance; END;

*
ERROR at line 1:
ORA-39702: database not open for UPGRADE or DOWNGRADE
ORA-06512: at "SYS.DBMS_REGISTRY", line 1044
ORA-06512: at line 1

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms