My Oracle Support Banner

When Running apexins.sql, Installation Halts at ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE" (Doc ID 2567013.1)

Last updated on FEBRUARY 09, 2023

Applies to:

Oracle Application Express (APEX) - Version 5.1.3 and later
Information in this document applies to any platform.
The goal of this document is to explain why ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE" occurs and how to correct it.

Symptoms

On : 5.1.3 version

When attempting to run apexins.sql on 12.2.0.1 DB,
the following errors occur.

ERROR
-----------------------


timing for: Phase 1 (Installation)
Elapsed: 00:03:17.84
Phase 2 (Upgrade)

Session altered.

-- Now beginning upgrade. This will take several minutes.-------
-- Migrating metadata to new schema -------
begin
*
ERROR at line 1:
ORA-06550: line 1, column 69:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 1, column 7:
PL/SQL: SQL Statement ignored
ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE", line 2141
ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE", line 4520
ORA-06512: at line 4


and

-- Switching Builder to new schema -------
begin
*
ERROR at line 1:
ORA-01403: no data found
ORA-01403: no data found
ORA-06512: at line 1
ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE", line 1069
ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE", line 5979
ORA-06512: at "APEX_050100.WWV_FLOW_UPGRADE", line 6456
ORA-06512: at line 4

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run apexins.sql

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot install APEX.

Changes

 

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
Changes
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.