cancel
Showing results for 
Search instead for 
Did you mean: 

'Failed to apply patch' -- what to do now?

tvaughan77
Champ in-the-making
Champ in-the-making
Hi,

I was following the backup & restore procedures http://wiki.alfresco.com/wiki/Backup_and_Restore to try to get a new alfresco 3.2r installation to "come up with" the data from my old alfresco labs3d installation.  I had a tarball of the alf_data and a mysqldump of the database, so I:

* shut down alfresco 32r
* rm -rf alf_data
* drop database alfresco; create database alfresco; source /tmp/old_labs3d_data.sql
* tar xvf /tmp/old_labs3d.tar
* start up alfresco32r

During startup, it looks like the context is applying a bunch of DB patches and dies when it gets to this one:

10:01:53,089 User:System INFO  [patch.impl.ResetWCMToGroupBasedPermissionsPatch] Processed 18 WCM sandbox stores: 3 secs
10:01:53,476 User:System INFO  [admin.patch.PatchExecuter]    Applying patch 'patch.moveWCMToGroupBasedPermissionsPatch' (A placeholder patch; usually marks a superceded patch.).
10:01:53,479 User:System INFO  [admin.patch.PatchExecuter]    Applying patch 'patch.wcmPostPermissionSnapshotPatch3' (Snapshot stores (after fixing ACLs so they are only set on the staging area store).).
10:01:53,482 User:System ERROR [admin.patch.PatchExecuter] 09290001 com.ibatis.sqlmap.client.SqlMapException: There is no statement named select.AVMNodeEntitiesCountWhereNewInStore in this SqlMap.
   at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:231)

Any suggestions about what to do now?
1 REPLY 1

konsultex
Confirmed Champ
Confirmed Champ
This looks like the same problem I'm having: http://forums.alfresco.com/en/viewtopic.php?f=8&t=22695 but I haven't found a solution yet. Please post if you managed to upgrade.

Thanks.