Restarting Phase 4 of an APEX Upgrade
Review the upgrade action logs, resolve any reported errors, and run the appropriate phase 4 script.
- Review the upgrade action logs by using one of the following options:
-
Administration Services
- Sign in to Administration Services
- Select Manage Instance
- Under Manage Logs and Files, select Install / Upgrade Logs
- Review the actions and errors for phase 4
- Query for a PDB installation:
select id, action_id, message from wwv_install_error$ where action_id in ( select id from wwv_install_action$ where phase = 4 and install_id = '2602000000' ); - Command for a CDB installation:
$ORACLE_HOME/perl/bin/perl -I $ORACLE_HOME/rdbms/admin $ORACLE_HOME/rdbms/admin/catcon.pl -b phase_4_action_errors -- --x"select id, action_id, message from wwv_install_error$ where action_id in ( select id from wwv_install_action$ where phase = 4 and install_id = '2602000000' )"
-
-
Resolve the issues that caused the
ORACLE_APEX_COPY_POST_METADATAbackground job to fail. -
Start SQLcl and connect to the database where APEX is installed as
SYSspecifying theSYSDBArole. For example:-
On Windows:
<SYSTEM_DRIVE>:\ sql /nolog SQL> CONNECT SYS as SYSDBA Enter password: <SYS_password> -
On UNIX and Linux:
$ sql /nolog SQL> CONNECT SYS as SYSDBA Enter password: <SYS_password>
-
- Execute the phase 4 script for your environment:
-
For a full development environment:
@apexins4.sql YES -
For a runtime-only environment:
@apxrtins4.sql YES
-
-
Position 1 controls the execution mode:
- Specify YES to run phase 4 in the foreground
- Specify NO to run phase 4 in the background