C.3 Cleaning Up After a Failed Installation
Learn about troubleshooting after failed installation.
In a successful installation the following banner displays near the end of the installation:
Thank you for installing Oracle Application Express. Oracle Application Express is installed in the APEX_190100 schema.
To reinstall, you must either drop the Oracle Application Express database schemas, or run a script to completely remove Application Express from the database, depending upon the installation type.
- Reverting to a Previous Release After a Failed Upgrade Installation
Learn about reverting to Oracle Application Express to a previous release in the case of a failed upgrade installation. - Removing Oracle Application Express from the Database
Start SQL*Plus and connect to the database where Oracle Application Express is installed asSYS
specifying theSYSDBA
role and execute theSQL> @apxremov.sql
command.
Parent topic: Oracle Application Express Installation Troubleshooting
C.3.1 Reverting to a Previous Release After a Failed Upgrade Installation
Learn about reverting to Oracle Application Express to a previous release in the case of a failed upgrade installation.
In the case of a failed upgrade installation, you may want to revert Oracle Application Express to a previous release and then remove the schemas associated with the current release.
- Verifying If You Have a Previous Release of Oracle Application Express
- Reverting the Images Directory
- Reverting to a Previous Release
- Removing the Oracle Application Express Release 19.1 Schema
Parent topic: Cleaning Up After a Failed Installation
C.3.1.1 Verifying If You Have a Previous Release of Oracle Application Express
To verify whether you have a previous release of Application Express:
C.3.1.2 Reverting the Images Directory
If you altered your images directory, revert it back to the release you want to revert to using the following methods:
-
For Oracle REST Data Services or mod_plsql :
If you altered your images directory, you must point the text alias
/i/
back to images directory for the release you want to revert to. -
For Embedded PL/SQL Gateway :
Run
apex_epg_config.sql
from the release directory you want to revert to, to restore the images of that release. See the Oracle Application Installation Guide for the release you want to revert to and find the section "Updating the Images Directory When Upgrading from a Previous Release."
See Also:
C.3.1.3 Reverting to a Previous Release
This section describes how to revert to a Oracle Application Express previous release.
- Reverting to Release 1.5
- Reverting to Release 1.6
- Reverting to Release 2.0
- Reverting to Release 2.2
- Reverting to Release 3.0
- Reverting to Release 3.1
- Reverting to Release 3.2
- Reverting to Release 4.0
- Reverting to Release 4.1
- Reverting to Release 4.2 in a non-CDB
- Reverting to Release 4.2 in a CDB
- Reverting to Release 5.0 in a non-CDB
- Reverting to Release 5.0 in a CDB
- Reverting to Release 5.1 in a non-CDB
- Reverting to Release 5.1 in a CDB
- Reverting to Release 18.1 in a non-CDB
- Reverting to Release 18.1 in a CDB
- Reverting to Release 18.2 in a non-CDB
- Reverting to Release 18.2 in a CDB
C.3.1.3.1 Reverting to Release 1.5
To revert to a previous Oracle Application Express release 1.5:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.2 Reverting to Release 1.6
To revert to a Oracle Application Express release 1.6:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.3 Reverting to Release 2.0
To revert to a previous Oracle Application Express release 2.0:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.4 Reverting to Release 2.2
To revert to a previous Oracle Application Express release 2.2:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.5 Reverting to Release 3.0
To revert to a previous Oracle Application Express release 3.0:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.6 Reverting to Release 3.1
To revert to a previous Oracle Application Express release 3.1:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.7 Reverting to Release 3.2
To revert to a previous Oracle Application Express release 3.2:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.8 Reverting to Release 4.0
To revert to a previous Oracle Application Express release 4.0:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.9 Reverting to Release 4.1
To revert to a previous Oracle Application Express release 4.1:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.10 Reverting to Release 4.2 in a non-CDB
To revert to a previous Oracle Application Express release 4.2 in a non-CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.11 Reverting to Release 4.2 in a CDB
To revert to a previous Oracle Application Express release 4.2 in a CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.12 Reverting to Release 5.0 in a non-CDB
To revert to a previous Oracle Application Express release 5.0 in a non-CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.13 Reverting to Release 5.0 in a CDB
To revert to a previous Oracle Application Express release 5.0 in a CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.14 Reverting to Release 5.1 in a non-CDB
To revert to a previous Oracle Application Express release 5.1 in a non-CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.15 Reverting to Release 5.1 in a CDB
To revert to a previous Oracle Application Express release 5.1 in a CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.16 Reverting to Release 18.1 in a non-CDB
To revert to a previous Oracle Application Express release 18.1 in a non-CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.17 Reverting to Release 18.1 in a CDB
To revert to a previous Oracle Application Express release 18.1 in a CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.18 Reverting to Release 18.2 in a non-CDB
To revert to a previous Oracle Application Express release 18.2 in a non-CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.3.19 Reverting to Release 18.2 in a CDB
To revert to a previous Oracle Application Express release 18.2 in a CDB:
See Also:
Parent topic: Reverting to a Previous Release
C.3.1.4 Removing the Oracle Application Express Release 19.1 Schema
After you have reverted to the prior release you can remove the Oracle Application Express 19.1 schema.
- Removing the Oracle Application Express Release 19.1 Schema from a Non-CDB
Start SQL*Plus and connect to the database and executeDROP USER APEX_190100 CASCADE;
. - Removing the Oracle Application Express Release 19.1 Schema from a CDB
Create text files, start SQL*Plus and connect to the database execute@remove_apx191_usr.sql
.
C.3.1.4.1 Removing the Oracle Application Express Release 19.1 Schema from a Non-CDB
Start SQL*Plus and connect to the database and execute DROP USER APEX_190100 CASCADE;
.
To remove the release 19.1 schema from a non-CDB:
C.3.2 Removing Oracle Application Express from the Database
Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS
specifying the SYSDBA
role and execute the SQL> @apxremov.sql
command.
This section describes how to remove the Oracle Application Express schema, synonyms, and users from the database without deleting the database.
Note:
Do not follow these steps if you have upgraded your database from a prior release, and still want to use the prior release of Oracle Application Express. For information about reverting to a prior release, see Reverting to a Previous Release. If you are not sure whether you have completed a new installation or an upgrade installation, follow the steps in Cleaning Up After a Failed Installation to verify if a previous release of Application Express exists in the database.
To remove Oracle Application Express from the database:
Parent topic: Cleaning Up After a Failed Installation