My Oracle Support Banner

Upgrade to 12.1 fails with ORA-01830 date format picture ends before converting entire input string ORA-06512: at "SYS.XS_OBJECT_MIGRATION" (Doc ID 1958876.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

1.  XDB component is installed and valid and there are no invalid objects in XDB schema.

2.  The database pre-upgrade checks pass without any error.

3.  Upgrade to 12.1.0.x from 11.2.0.x fails with following error.

ORA-01830: date format picture ends before converting entire input string
ORA-06512: at "SYS.XS_OBJECT_MIGRATION", line 167
ORA-06512: at line 28

 4. Following is the output in catuppst script

Oracle XML Database
   ORA-31018: Error deleting XML document ORA-00942: table or view does not exist
ORA-06512: at "XDB.DBMS_XDB_REPOS", line 355
ORA-06512: at line 165
   ORA-00942: table or view does not exist ORA-06512: at "XDB.DBMS_XDB_REPOS",line 355
ORA-06512: at line 165
   ORA-06512: at "XDB.DBMS_XDB_REPOS", line 355 ORA-06512: at line 165
   ORA-06512: at line 165

 Oracle XML Database                     INVALID      12.1.0.2.0  00:01:19

Changes

 Database being upgraded to 12.1.0.x

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.