cancel
Showing results for 
Search instead for 
Did you mean: 

Erreur:URL already exists in the store

vivi
Champ in-the-making
Champ in-the-making
Bonjour,

J'ai cette erreur dans mon log que j'aimerai bien corriger.


04:00:11,444 ERROR [content.cleanup.ContentStoreCleaner] Exception during cleanup of content
org.alfresco.repo.content.ContentExistsException: Content with the given URL already exists in the store:
   Store:       org.alfresco.repo.content.filestore.FileContentStore
   Content URL: store://2008/5/7/16/36/ffba6e60-1c42-11dd-a05f-3b7a694101c3.bin
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:242)
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:277)
        at org.alfresco.repo.content.cleanup.DeletedContentBackupCleanerListener.beforeDelete(DeletedContentBackupCleanerList
ener.java:63)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.clean(ContentStoreCleaner.java:272)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.execute(ContentStoreCleaner.java:227)
        at org.alfresco.repo.content.cleanup.ContentStoreCleanupJob.execute(ContentStoreCleanupJob.java:64)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
04:00:02,390 ERROR [content.cleanup.ContentStoreCleaner] Exception during cleanup of content
org.alfresco.repo.content.ContentExistsException: Content with the given URL already exists in the store:
   Store:       org.alfresco.repo.content.filestore.FileContentStore
   Content URL: store://2008/5/7/16/36/ffba6e60-1c42-11dd-a05f-3b7a694101c3.bin
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:242)
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:277)
        at org.alfresco.repo.content.cleanup.DeletedContentBackupCleanerListener.beforeDelete(DeletedContentBackupCleanerList
ener.java:63)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.clean(ContentStoreCleaner.java:272)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.execute(ContentStoreCleaner.java:227)
        at org.alfresco.repo.content.cleanup.ContentStoreCleanupJob.execute(ContentStoreCleanupJob.java:64)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

Quelqu'un a-t'il une idée de quoi il s'agit exactement et comment corriger le problème?

Je comprends que le fichier doit-être ne double, est-ce cela?
Puis-je simplement supprimer le fichier en question sans créer d'autre erreur?

Merci!
4 REPLIES 4

vivi
Champ in-the-making
Champ in-the-making
Personne ne sait comment corriger cette erreur?

Merci

michaelh
Champ on-the-rise
Champ on-the-rise
Bonjour,

On ne sait pas quelle version d'Alfresco vous utilisez (vous l'avez peut-être dit dans un autre message mais bon …), le log semble incomplet (il manque des portions de l'erreur), et vous ne dites rien du contexte (ça arrive quand ?).

Donc oui, on ne sait pas … et l'inverse serait un miracle  :roll:

rguinot
Confirmed Champ
Confirmed Champ
On aimerait bien vous aider, mais comme l'a dit Michael il manque des infos…
De toute façon vous n'avez pas l'air pressé votre contenu problématique date du 7 Mai , 16:36 …

On pourrait mieux vous aider si vous activiez le module "Oeil de moscou"…

vivi
Champ in-the-making
Champ in-the-making
Bonjour,

Ok, pour être complet, j'utilise Alfresco 2.1 community sur un serveur Ubuntu 8.04. (procedure d'installation ici: http://forums.alfresco.com/fr/viewtopic.php?f=6&t=1810)

Le log suivant alfresco.log.2008-07-07 est complet:

04:00:02,609 ERROR [org.alfresco.repo.content.cleanup.ContentStoreCleaner] Exception during cleanup of content
org.alfresco.repo.content.ContentExistsException: Content with the given URL already exists in the store:
   Store:       org.alfresco.repo.content.filestore.FileContentStore
   Content URL: store://2008/5/7/16/36/ffba6e60-1c42-11dd-a05f-3b7a694101c3.bin
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:242)
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:277)
        at org.alfresco.repo.content.cleanup.DeletedContentBackupCleanerListener.beforeDelete(DeletedContentBackupCleanerList
ener.java:63)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.clean(ContentStoreCleaner.java:272)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.execute(ContentStoreCleaner.java:227)
        at org.alfresco.repo.content.cleanup.ContentStoreCleanupJob.execute(ContentStoreCleanupJob.java:64)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
09:18:19,828 WARN  [org.alfresco.web.app.servlet.AuthenticationHelper] Unable to login as Guest: Access Denied.  You do not h
ave the appropriate permissions to perform this operation.

il s'agit de ce que renvoit le log4j.appender.File.File=/var/log/alfresco/alfresco.log

Le log alfresco.log donne ceci:

04:00:02,613 ERROR [org.alfresco.repo.content.cleanup.ContentStoreCleaner] Exception during cleanup of content
org.alfresco.repo.content.ContentExistsException: Content with the given URL already exists in the store:
   Store:       org.alfresco.repo.content.filestore.FileContentStore
   Content URL: store://2008/5/7/16/36/ffba6e60-1c42-11dd-a05f-3b7a694101c3.bin
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:242)
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:277)
        at org.alfresco.repo.content.cleanup.DeletedContentBackupCleanerListener.beforeDelete(DeletedContentBackupCleanerList
ener.java:63)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.clean(ContentStoreCleaner.java:272)
        at org.alfresco.repo.content.cleanup.ContentStoreCleaner.execute(ContentStoreCleaner.java:227)
        at org.alfresco.repo.content.cleanup.ContentStoreCleanupJob.execute(ContentStoreCleanupJob.java:64)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Tue Jul  8 04:00:08 CEST 2008 Stopping Alfresco …



Tue Jul  8 04:00:11 CEST 2008 Starting Alfresco …
04:00:22,304 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
04:00:24,433 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect
.MySQLInnoDBDialect.
04:00:25,186 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
04:00:26,228 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/
alfresco/alf_data
04:00:26,285 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
04:00:26,378 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
04:00:26,584 ERROR [org.alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Permission denied
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:407)
        at java.lang.Thread.run(Thread.java:619)
04:00:26,607 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_06-b02; maximum heap size 493.06
3MB
04:00:26,607 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB i
s less than recommended 512MB
04:00:26,608 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version
2.1.0 (484) schema 64 - Installed version 2.1.0 (484) schema 64

L'erreur du ftp provient du fait que le ftp n'est pas activé, mais la première erreur "Exception during cleanup of content" je ne comprends pas très bien comment la corriger, ceci survenant à chaque arrêt d'Alfresco tous les jours à 4h pour une sauvgarde complete.

J'espère avoir donnée suffisement d'information cette fois permettant de mieux expliquer le problème.

Merci!