cancel
Showing results for 
Search instead for 
Did you mean: 

Migration alfresco 3.0 to 3.2r

thibaut
Champ in-the-making
Champ in-the-making
hello,

i'm trying to migration my alfresco 3.0 to 3.2r.


the path "patch.authorityMigration" seems to encountered a pb with my actual users registered.

The following error occured :

11:41:03,086 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]    Applying patch 'patch.authorityMigration' (Copies any old authorities from the user store to the spaces store.).
11:41:03,865 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] 10 groups migrated
11:41:04,655 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] 20 groups migrated
11:41:05,229 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] 30 groups migrated
11:41:05,809 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] 40 groups migrated
11:41:06,610 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] 10 group associations migrated
11:41:06,760 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] 11210003 org.alfresco.repo.security.authority.UnknownAuthorityException: 11210002 An authority was not found for sc1-nbarbou
   at org.alfresco.repo.security.authority.AuthorityDAOImpl.addAuthority(AuthorityDAOImpl.java:176)
   at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:320)
   at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:315)
   at org.alfresco.repo.admin.patch.impl.AuthorityMigrationPatch$2.execute(AuthorityMigrationPatch.java:267)
   at org.alfresco.repo.admin.patch.impl.AuthorityMigrationPatch$2.execute(AuthorityMigrationPatch.java:253)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
   at org.alfresco.repo.admin.patch.impl.AuthorityMigrationPatch.migrateAssocs(AuthorityMigrationPatch.java:251)
   at org.alfresco.repo.admin.patch.impl.AuthorityMigrationPatch.applyInternal(AuthorityMigrationPatch.java:335)
   at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:409)
   at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:403)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:234)
   at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:435)
   at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:399)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)
   at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:439)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:302)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.access$200(PatchServiceImpl.java:56)
   at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchServiceImpl.java:231)
   at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchServiceImpl.java:229)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:234)
   at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:168)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy71.applyOutstandingPatches(Unknown Source)
   at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(PatchExecuter.java:89)
   at org.alfresco.repo.admin.patch.PatchExecuter.onBootstrap(PatchExecuter.java:132)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


have you an idéa or a solution to resolve it ??

thanks a lot for your replies !!

Thibaut
5 REPLIES 5

esbse
Champ in-the-making
Champ in-the-making
I'm having the same problem, going form 3.0b to 3.2r

ivan_plestina
Champ in-the-making
Champ in-the-making
Same problem when migrating from 3 Stable to 3.2r2. Solved by purging all users/groups, triggering node cleanup job to clean up database and then doing upgrade.

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

What is "purging all users/groups" ?

Thanks

ivan_plestina
Champ in-the-making
Champ in-the-making
Purging=Deleting all users from Alfresco. You can do this in a fast way by deliberately doing a faulty LDAP sync or by scripting.

luca
Star Contributor
Star Contributor
Hi,
I'm facing the same problem, but I can't delete all the users (about 7000) and groups to solve it!!!

Is there any other way to solve it??