My Oracle Support Banner

APEX Upgrade Error: ORA-00942: table or view does not exist, insert /*+append*/ into APEX_######.WWV_FLOW_FND_USER_BK (Doc ID 2855788.1)

Last updated on MARCH 14, 2022

Applies to:

Oracle Application Express (APEX) - Version 21.2 and later
Information in this document applies to any platform.

Symptoms

On : APEX 21.2 version, Admin

When attempting to upgrade to latest APEX (21.2 as today)
the following error occurs.

ERROR
-----------------------
# Upgrade Metadata (1)
#
# Error: ORA-06550: line 2, column 43:
PL/SQL: ORA-00942: table or view does not
 exist
ORA-06550: line 2, column 3:
PL/SQL: SQL Statement ignored
# Statement: begin
  insert /*+append*/ into "APEX_210200"."WWV_FLOW_FND_USER_BK
P"
...
 select
 from "APEX_190100"."WWV_FLOW_FND_USER_BKP" bt1
 where
security_group_id not in (10, 12) order by SECURITY_GROUP_ID ;
  wwv_flow_upgrad
e.g_row_cnt := sql%rowcount;
end;
# Backtrace: ORA-06512: at "APEX_210200.WWV_FLOW_UPGRADE", line 826


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Install APEX 21.2 on an instance that has APEX 19 so it be upgraded
2. Install phase ends OK
3. Upgrade phase starts with error above.

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


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