Running the upgradeWebCenterPortal WLST Script Fails with Error: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/space/metadata/spaces/<portal-name>/space.xml"
(Doc ID 2188493.1)
Last updated on OCTOBER 09, 2023
Applies to:
Oracle WebCenter Portal - Version 12.2.1.1.0 and laterInformation in this document applies to any platform.
Symptoms
When running the upgradeWebCenterPortal WLST command to complete the specific upgrade tasks for upgrading WebCenter Portal from 11g to 12c,
the script fails with following errors.
ERROR
UpgradeDetails.log:
Scope: Name=Portal1, GUID=se83320aa_3049_4033_a06d_317fc533ad10
-------------------------------------------------------
Status: Scope upgrade failed.
oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/space/metadata/spaces/<PORTAL_NAME>/space.xml"
MDS-00201: PDocument not found in MetadataStore : [store-type=DBMetadataStore app-name=webcenter repository-name=mds-SpacesDS partition-name=webcenter]
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1917)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:5266)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:2128)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:2056)
...
-------------------------------------------------------
Scope: Name=defaultScope, GUID=<GUID>
-------------------------------------------------------
Status: Scope upgrade failed.
oracle.webcenter.upgrade.framework.exception.UpgradeException: Default Scope cleanup is not attempted due to existing failures in other scopes
at oracle.webcenter.upgrade.framework.UpgradeManager._doCleanUp(UpgradeManager.java:474)
at oracle.webcenter.upgrade.framework.UpgradeManager.doUpgradeInternal(UpgradeManager.java:341)
at oracle.webcenter.upgrade.framework.UpgradeManager.access$000(UpgradeManager.java:90)
at oracle.webcenter.upgrade.framework.UpgradeManager$1.run(UpgradeManager.java:183)
...
UpgradeDiagnostic.log:
[TRACE]: Upgrade may take some time to complete depending on the number of portals and pages in your Oracle WebCenter Portal installation.
To monitor the upgrade progress, refer to the diagnostic log file WC_Spaces-diagnostic.log at the location "/DOMAIN_HOME>/servers/WC_Spaces/logs".
[TRACE]: Data migration from MDS to database is not successfully completed. Please try again.
[TRACE]: Exiting class: LifecycleHandler, method: _doMDSToDBDataMigration
[TRACE]: Failed to upgrade WebCenter Portal application.
UpgradeSummary.log:
STEPS
The issue can be reproduced at will with the following steps:
- Upgrade from WebCenter Portal 11g to 12c.
- Run the upgradeWebCenterPortal script as follows:
upgradeWebCenterPortal(appName='webcenter', server='WC_Spaces',migrationDirectory='/tmp/upgrade_log',
contentServerName='UCM_server1',contentDbConnectionUrl='<HOSTNAME>:<PORT>:<SID>',contentDbUserName='<PREFIX>_OCSERVER', contentDbVendor='Oracle')
This above command will return the errors.
Changes
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 |