cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade to 3.2 --> errors with patch.fixNameCrcValues

tkoscielski
Champ in-the-making
Champ in-the-making
When I upgraded to 3.2, I went straight from 3.0.0 (b 1164) schema 131.  Everything with the upgrade went fine, but when I start Alfresco with a copy of the current document store from 3.0.0, I get this error in alfresco.log.  It does not seem to affect anything else with the store itself or the ability to access the information, but I would like to better understand this error and options for fixing it prior to completeing the final upgrade.

Anyone who can shed any light on the issue below and options to resolve, it would be greatly appreciated.

20:39:19,665 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.fixNameCrcValues' (Fixes
name CRC32 values to match UTF-8 encoding.).
20:39:20,379 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] 06130039 org.hibernate.exception.ConstraintViolationE
xception: could not update: [org.alfresco.repo.domain.hibernate.ChildAssocImpl#40033]
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
:
:
:
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '14400-41-3974723870-symantec system restore ââ¬â license key.docx' for key 2
        at sun.reflect.GeneratedConstructorAccessor153.newInstance(Unknown Source)
1 REPLY 1

rsweeten
Champ in-the-making
Champ in-the-making
Could this be https://issues.alfresco.com/jira/browse/ALFCOM-1335 ?  Check your upgrade log to see if the fixNameCrcValues sql upgrade script ran successfully on upgrade.  I've seen it fail due to permissions trying to create a log file.