cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Upgrade 2.1 to 3.0

jarrett
Champ in-the-making
Champ in-the-making
Hello,

I ran into some errors while migrating/ upgrading to 3.0 from 2.1. I followed the General Upgrade Process located at http://wiki.alfresco.com/wiki/General_Upgrade_Process and all seemed to work well until tomcat was restarted and patches were being applied to the system.

I restarted with Index Recovery set to full, and there was nine nodes with reported integrity errors. I have resolved most of the issues and I am ready to give the upgrade/ migration another shot but there is some errors I cannot get around (yet).

1 ERROR [repo.version.VersionMigrator] Skipping migration of: workspace://lightWeightVersionStore/5b10e1d9-2815-11dd-ad3d-175d78575ccd
org.alfresco.service.cmr.dictionary.DictionaryException: A single-valued property of this type may not be a collection:
   Property: Name: {http://www.alfresco.org/model/yankeegroup/workflow/1.0}MarketSegments
Title: Market Segments
Description: null
Default Value: null
DataType Name: {http://www.alfresco.org/model/dictionary/1.0}text
ContainerClass Name: {http://www.alfresco.org/model/yankeegroup/workflow/1.0}CustomDocumentDetails
isMultiValued: false
isMandatory: true
isMandatoryEnforced: false
isProtected: false
isIndexed: true
isStoredInIndex: false
isIndexedAtomically: true
indexTokenisationMode: TRUE

   Type: {http://www.alfresco.org/model/dictionary/1.0}text
   Value: [Vendor, Consumer]

2 UserSmiley Frustratedystem ERROR [admin.patch.PatchExecuter] java.lang.RuntimeException: Node without parents does not have root aspect: workspace://version2Store/0d83afaa-b8e1-48b3-b8ab-5d00cd4c8f02

The cause of both errors are fairly self-explanatory but I am not sure how to resolve them safely or correctly.

The first error is caused by the fact that a multiselect was changed to a single select. The second error was caused by the fact that somehow a document was checked out, and the original document was deleted leaving the working copy orphaned. I have yet to find the original document anywhere in our repository or the deleted repository.

Any suggestions would be greatly appreciated. Thank you.

–Jarrett
1 REPLY 1

jarrett
Champ in-the-making
Champ in-the-making
**UPDATE **

First error was resolved by running an action to  remove and re-add the aspect and setting the value to a legitimate value.