AnsweredAssumed Answered

migrate CE 4.2 to CE5.0.a, resync the AD user

Question asked by balai_kidz on Nov 12, 2014
Latest reply on Nov 17, 2014 by balai_kidz
Greetings everyone. I am able to migrate the alf_data and the sql file from CE 4.2 to CE 5.0.a. It also imported all the users from the existing database. And  I'm sure all the users is synchronized from Active Directory. But the problem is, most of the previous users has an empty email attributes, it must be time consuming to fill in all the email value to each users. My question is, how I am gonna re-add the existing user so that it can perform attributes mapping from the Active Directory to Alfresco CE 5.0.a. Till now, I am not able to map any of the attributes from the AD to Alfresco C.E 5.0.a.

Below is an example of the errors in catalina.out, I can perform authentication, but failed in synchronization. I hope that people inside the forums can help me out with this, sorry for my grammars.

2014-11-12 22:13:07,340  WARN  [security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-3] Synchronization,Category=directory,id1=ldap-ad1,id2=6 User Creation and Association: Failed to process entry "CN=Ahmad Khairi,OU=Strategic Acc Mgt De - HEB105,OU=1-HEB,DC=heitech,DC=com,DC=my".
org.springframework.dao.ConcurrencyFailureException: Forcing batch retry for unknown authority; nested exception is org.alfresco.repo.security.authority.UnknownAuthorityException: 10123122 An authority was not found for GROUP_HEB105
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.maintainAssociationCreations(ChainingUserRegistrySynchronizer.java:1674)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.access$1300(ChainingUserRegistrySynchronizer.java:978)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1PersonWorker.process(ChainingUserRegistrySynchronizer.java:1817)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1PersonWorker.process(ChainingUserRegistrySynchronizer.java:1724)
   at org.alfresco.repo.batch.BatchProcessor$TxnCallback.execute(BatchProcessor.java:712)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
   at org.alfresco.repo.batch.BatchProcessor$TxnCallback.run(BatchProcessor.java:756)
   at org.alfresco.repo.batch.BatchProcessor.process(BatchProcessor.java:398)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.syncWithPlugin(ChainingUserRegistrySynchronizer.java:1832)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.synchronizeInternal(ChainingUserRegistrySynchronizer.java:713)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.synchronize(ChainingUserRegistrySynchronizer.java:436)
   at org.alfresco.repo.security.sync.UserRegistrySynchronizerJob$1.doWork(UserRegistrySynchronizerJob.java:51)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.repo.security.sync.UserRegistrySynchronizerJob.execute(UserRegistrySynchronizerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.repo.security.authority.UnknownAuthorityException: 10123122 An authority was not found for GROUP_HEB105
   at org.alfresco.repo.security.authority.AuthorityDAOImpl.addAuthority(AuthorityDAOImpl.java:329)
   at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:456)
   at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.maintainAssociationCreations(ChainingUserRegistrySynchronizer.java:1668)
   … 15 more

Outcomes