Upgrading APEX on DBCS ERROR: Could not find any APEX files corresponding to version "version" inside of the known locations

(Doc ID 2400630.1)

Last updated on MAY 23, 2018

Applies to:

Oracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

When trying to upgrade APEX according the the Database Cloud Service (DBCS / DBaaS) documentation errors are seen in the ords.log:

--
2018-05-16 10:37:05 - ERROR: An error occurred while validating the APEX directory "/u01/app/oracle/product/apex/5.1.0.00.45" for version "5.1.0.00.45"
at ./ords line 1676
main::is_apex_directory_valid(5.1.0.00.45, '/u01/app/oracle/product/apex/5.1.0.00.45') called at ./ords line 1726
main::get_apex_directory(5.1.0.00.45) called at ./ords line 3474
main::configure_apex(1) called at ./ords line 6696
main::reconfigure() called at ./ords line 375
2018-05-16 10:37:05 - ERROR: Could not find any APEX files corresponding to version "5.1.0.00.45" inside of the known locations
at ./ords line 1731
---

In this case the upgrade was from 5.0 to 5.1.0, however, the same issue could occur with other upgrades described in the following DBCS documentation which discusses the supported upgrade paths:
https://docs.oracle.com/en/cloud/paas/database-dbaas-cloud/csdbi/use-apex-this-service.html

Changes

 Following the upgrade steps documented in:
https://docs.oracle.com/en/cloud/paas/database-dbaas-cloud/csdbi/use-apex-this-service.html

 

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