Apex 20.1 installed on 18c express edition but failed it in below steps, rest of the steps were successful. I am getting different login screen. PFA. I can’t login using different possible methods/users. please assist.
Steps followed in following link,
https://www.foxinfotech.in/2019/04/install-oracle-apex-19-1-in-eleven-easy-steps.html
error :
. FAIL – This version of Application Express is already installed.
. FAIL – Precondition for Phase 1 failed: APEX_200100 already exists
SQL> @apxrtins.sql SYSAUX SYSAUX TEMP /i/ …set_appun.sql
PL/SQL procedure successfully completed.
…set_ufrom_and_upgrade.sql
PL/SQL procedure successfully completed.
Session altered.
FOO3 ——————————– installrt2020-10-09_15-19-09.log
. ORACLE . . Application Express Runtime Installation. ……………………………………. . …set_appun.sql … Checking prerequisites (RUNTIME) . . SYSDBA Privilege . pass – Connection with SYSDBA privilege. . Database rolling upgrade . pass – No rolling upgrade. . DB components . FAIL – This version of Application Express is already installed. . pass – CATPROC: version=18.0.0.0.0 . pass – XDB: version=18.0.0.0.0 . XDB . pass – skipped (RUNTIME install) . PL/SQL Web Toolkit . pass – version 11.2.0.0.1 . Tablespaces . pass – found SYSAUX . pass – found SYSAUX . pass – found TEMP . PHASES (1,2,3)… . FAIL – Precondition for Phase 1 failed: APEX_200100 already exists . . 2 errors occurred declare * ERROR at line 1: ORA-20001: Prerequisite checks failed; unable to proceed with APEX installation ORA-06512: at line 288
Disconnected from Oracle Database 18c Express Edition Release 18.0.0.0.0 – Production Version 18.4.0.0.0
It is clearly stating that the installation of Oracle Apex 20.1 already exists, but still, you are trying to install it.
. FAIL – This version of Application Express is already installed.
. FAIL – Precondition for Phase 1 failed: APEX_200100 already exists
If you really want it to install a new installation, you must first remove the old one using the following script (must be logged on as SYS):
I see the user APEX_200100 is already getting created in 4th step (@apexins.sql) itself.
When I run 5th step (@apxrtins.sql), it fails with same error.
Note : after removing apex I have validated APEX_200100 was not present under all_users.
Is there any compatibility issue? Please note that I have used same version of apex in oracle xe 11 without any issue.
Install logs,
Thank you for installing Oracle Application Express 20.1.0.00.13
Oracle Application Express is installed in the APEX_200100 schema.
The structure of the link to the Application Express administration services is as follows:
http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql)
http://host:port/apex/apex_admin (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)
http://host:port/apex/apex_admin (Oracle REST Data Services)
The structure of the link to the Application Express development interface is as follows:
http://host:port/pls/apex (Oracle HTTP Server with mod_plsql)
http://host:port/apex (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)
http://host:port/apex (Oracle REST Data Services)
timing for: Phase 3 (Switch)
Elapsed: 00:00:17.56
timing for: Complete Installation
Elapsed: 00:10:45.03
PL/SQL procedure successfully completed.
1 row selected.
…null1.sql
Ok I think, there is an issue due to the pluggable database. To install Oracle Apex on Oracle database 12c or later, you need to set the session’s container database (PDB).
After logging in as SYS user, execute the following command:
Then run your scripts.
Also, before running the installation, run the apxremove.sql to remove the existing installation.
I have already followed that step, changed the PDB.
worked this time, after executing below.
I have the same problem. Please, help. I am running everything on my laptop with hostname MSI. The OS is Windows 10, the database is Oracle 18c (18.4.0.0.0) Express Edition. I installed APEX 20.2 into a pluggable database, under login SYS@pdbname AS SYSDBA. Then, I downloaded ORDS, ran it in install mode, and finally started it in a standalone mode. The URL: http://MSI:8080/ords/apex_admin shows a Web page with the title ORACLE REST Data Services and with 404 error message:
I checked in the database and – yes- there is no PL/SQL procedure named APEX_ADMIN in any of the following schemas that I have in this pluggable DB: APEX_200200, APEX_INSTANCE_ADMIN_USER, APEX_LISTENER, APEX_PUBLIC_USER, APEX_REST_PUBLIC_USER, ORDS_METADATA, and ORDS_PUBLIC_USER.
Hi
You can’t install two versions of Apex in the same (pluggable) database.
You wrote:
apexins.sql is the setup for Apex with Apex Builder.
apxrtins.sql is the run-time only version of Apex.