cancel
Showing results for 
Search instead for 
Did you mean: 

Content Deletion error question

mangar
Star Contributor
Star Contributor
Last night at 4am during what looks like nightly maintenance, I got this error in the logs:

04:00:00,158 UserSmiley Frustratedystem ERROR [content.cleanup.EagerContentStoreCleaner] Content deletion listener failed:


The entire trace:

04:00:00,158 User:System ERROR [content.cleanup.EagerContentStoreCleaner] Content deletion listener failed: 
   URL:    store://2012/7/2/10/52/2e26377d-8f50-4e5d-9ccf-587e714cfacf.bin
   Source: FileContentStore[ root=D:\AlfrescoContent\contentstore, allowRandomAccess=true, readOnly=false]
org.alfresco.repo.content.ContentExistsException: 06170000 Content with the given URL already exists in the store:
   Store:       org.alfresco.repo.content.filestore.FileContentStore
   Content URL: store://2012/7/2/10/52/2e26377d-8f50-4e5d-9ccf-587e714cfacf.bin
   at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:232)
   at org.alfresco.repo.content.cleanup.DeletedContentBackupCleanerListener.beforeDelete(DeletedContentBackupCleanerListener.java:67)
   at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.afterCommit(EagerContentStoreCleaner.java:221)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.afterCompletion(AlfrescoTransactionSupport.java:802)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:996)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:971)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:799)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:394)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:472)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:403)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
   at org.alfresco.repo.content.cleanup.ContentStoreCleaner.executeInternal(ContentStoreCleaner.java:301)
   at org.alfresco.repo.content.cleanup.ContentStoreCleaner.execute(ContentStoreCleaner.java:267)
   at org.alfresco.repo.content.cleanup.ContentStoreCleanupJob.execute(ContentStoreCleanupJob.java:58)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

What is happening!?
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

your repository was trying to move a content file from the active content store to the one designated for deleted items. You wouldn't happen to have dir.contentstore and dir.contentstore.deleted configured to the same path? This would explain the issue and the log data, since it states that a content to be created already exists in contentstore instead of - what I would expect - contentstore.deleted.

Regards
Axel