[英]Installing APEX 20.1 on Oracle 19.3
When installing APEX, I get the following error from Phase II of the installation procedure.安装 APEX 时,我在安装过程的第二阶段收到以下错误。 I have no idea why: Many thanks for any hints我不知道为什么:非常感谢任何提示
ok 1 - BEGIN |好的 1 - 开始 | 0.00 0.00
ok 2 - Upgrade Metadata (1) | ok 2 - 升级元数据 (1) | 0.00 0.00
ok 3 - Init Phase PRE | ok 3 - 初始阶段 PRE | 0.03 0.03
ok 4 - Dropping Upgrade Triggers in FLOWS_020100 | ok 4 - 在 FLOWS_020100 中删除升级触发器 | 0.00 0.00
ok 5 - Creating Upgrade Triggers | ok 5 - 创建升级触发器 | 0.00 0.00
ok 6 - Incrementing Session Sequence | ok 6 - 递增 Session 序列 | 0.00 0.00
ok 7 - Disabling Constraints/Triggers | ok 7 - 禁用约束/触发器 | 0.02 0.02
ok 8 - Copying WWV_FLOWS | ok 8 - 复制 WWV_FLOWS | 0.07 0.07
# copied 2 rows into WWV_FLOWS ok 9 - Rebuilding WWV_FLOWS_IDX_AUTHENTICATION | # 复制 2 行到 WWV_FLOWS ok 9 - 重建 WWV_FLOWS_IDX_AUTHENTICATION | 0.00 0.00
not ok 10 - Copying WWV_FLOW_BANNER |不行 10 - 复制 WWV_FLOW_BANNER | 0.00 0.00
# Message: ORA-06550: line 6, column 14: # 消息:ORA-06550:第 6 行,第 14 列:
# PL/SQL: ORA-00932: inconsistent datatypes: expected CLOB got LONG # PL/SQL: ORA-00932: 不一致的数据类型: 预期的 CLOB 得到了 LONG
# Statement: begin # 语句:开始
# insert / +append / into "APEX_200100"."WWV_FLOW_BANNER" # insert / +append / into "APEX_200100"."WWV_FLOW_BANNER"
# ( ID, # ( ID,
# BANNER, # 横幅,
# SECURITY_GROUP_ID) # SECURITY_GROUP_ID)
# select ID, BANNER, SECURITY_GROUP_ID # select ID,横幅,SECURITY_GROUP_ID
# from "FLOWS_020100"."WWV_FLOW_BANNER" bt1 # 来自“FLOWS_020100”。“WWV_FLOW_BANNER”bt1
# where security_group_id not in (10, 12) order by SECURITY_GROUP_ID; # where security_group_id not in (10, 12) order by SECURITY_GROUP_ID;
# wwv_flow_upgrade.g_row_cnt:= sql%rowcount; # wwv_flow_upgrade.g_row_cnt:= sql%rowcount;
# end; # 结尾;
it appears that the 19.3 database already contained a super-old APEX version (HTML DB 2.1).看来 19.3 数据库已经包含一个超旧的 APEX 版本(HTML DB 2.1)。 When the APEX installation detects an existing APEX version, it attempts an upgrade.当 APEX 安装检测到现有 APEX 版本时,它会尝试升级。 And in the meantime (HTML DB 2.1) is about 15 years old, there were some major changes which break this large upgrade jump from 2.1 to 20.1.在此期间(HTML DB 2.1)大约有 15 年的历史,有一些重大变化打破了从 2.1 到 20.1 的大规模升级。
The most important question is...最重要的问题是...
Is that existing HTML DB 2.1 installation in use or not?现有的 HTML DB 2.1 安装是否正在使用? If not, simply drop the FLOWS_020100, FLOWS_FILES and FLOWS_PUBLIC_USER database users and re-attempt the installation.如果没有,只需删除 FLOWS_020100、FLOWS_FILES 和 FLOWS_PUBLIC_USER 数据库用户并重新尝试安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.