Import - Export

cancel
Showing results for 
Search instead for 
Did you mean: 
dmc
Active Member

Import - Export

Hi,

bin noch relativ neu mit Alfresco und versuche gerade Spaces und Files von meinem Alfresco Community v2.1.0 zu exportieren und in ein anderes Alfresco Community v2.0.0 zu importieren.
Der Export klappt wohl, aber der Import hat ständig Probleme. Es sind insg. 450MB, ich habe sie schon aufgeteilt in ~100MB Blöcke damit die .acp Dateien nicht so groß werden aber sie werden einfach nicht importiert.
Einmal hat es geklappt, weiß allerdings nicht warum.

EDIT:
Habe eben einen Fehler bekommen nachdem ich versuchte ein .acp file zu importieren:

Failed to execute import: javax.transaction.RollbackException: Transaction didn't commit: Integrity failure

Weiß einer was ich machen muss damit es trotzdem klappt? Weiß auch nicht wo der Fehler liegt, ich exportiere die Dateien, lade mir das .acp file runter und importiere es im anderen Alfresco. Dann kommt der Fehler und es ist nichts importiert worden.

mfg

Geändert von sk9 (18.09.2007 um 12:00 Uhr).
4 Replies
dmc
Active Member

Re: Import - Export

Mein Logfile:


15:32:50,447 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 8 integrity violations - first 5:
Mandatory property not set:
   Node: workspace://lightWeightVersionStore/2df06607-65f3-11dc-b26f-df39f4ef0eff
   Type: {http://www.alfresco.org/model/content/1.0}auditable
   Property: {http://www.alfresco.org/model/content/1.0}modified
Mandatory property not set:
   Node: workspace://lightWeightVersionStore/2df06607-65f3-11dc-b26f-df39f4ef0eff
   Type: {http://www.alfresco.org/model/content/1.0}auditable
   Property: {http://www.alfresco.org/model/content/1.0}created
Mandatory property not set:
   Node: workspace://lightWeightVersionStore/2df06607-65f3-11dc-b26f-df39f4ef0eff
   Type: {http://www.alfresco.org/model/content/1.0}auditable
   Property: {http://www.alfresco.org/model/content/1.0}creator
Mandatory property not set:
   Node: workspace://lightWeightVersionStore/2df06607-65f3-11dc-b26f-df39f4ef0eff
   Type: {http://www.alfresco.org/model/content/1.0}auditable
   Property: {http://www.alfresco.org/model/content/1.0}modifier
Mandatory property not set:
   Node: workspace://lightWeightVersionStore/c81e92d5-65f2-11dc-b26f-df39f4ef0eff
   Type: {http://www.alfresco.org/model/content/1.0}auditable
   Property: {http://www.alfresco.org/model/content/1.0}modified
15:32:53,128 ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.alfresco.repo.node.integrity.IntegrityException: Integrity failure
        at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:619)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.flush(AlfrescoTransactionSupport.java:524)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:595)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:482)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:405)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:186)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:116)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:294)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

Ich habe keine Idee was ich machen könnte.
dmc
Active Member

Re: Import - Export

Hi wieder,

das Problem ist nicht nur beim Importieren, es betrifft nun jede Datei. Egal ob man Auschecken will oder eine neue Datei hochladen, es kommt immer der Fehler. Weiß jemand woher er kommt?
Ist Alfresco Community 2.0.0
dmc
Active Member

Re: Import - Export

Hi SK9,

es scheint mir, dass das Inhaltmodell nach dem Einstellen bzw. Versionieren von Inhalt nochmals geändert wurde. Der IntegrityChecker beschwert sich danach, dass einige abgespeicherte Inhalte den Anforderungen bzgl. Pflichtfelder nicht mehr genügen.

Mandatory property not set:
Node: workspace://lightWeightVersionStore/2df06607-65f3-11dc-b26f-df39f4ef0eff
Type: {http://www.alfresco.org/model/content/1.0}auditable
Property: {http://www.alfresco.org/model/content/1.0}modified

Wenn der gesamte Inhalt exportiert und (in ein leeres Repository) importiert werden soll, kann das auch über das Kopieren des Content und Index Storages (i.d.R. unter dir.root) und das Dumpen und Einspielen der Datenbankinhalte durchgeführt werden.

Grüsse
drhilarius
dmc
Active Member

Re: Import - Export

Etwas Off-Topic, aber ich glaube das ist wichtig, wenn man ein komplettes FULL REPOSITORY exportieren und importieren will:

http://forums.alfresco.com/viewtopic.php?p=29429#29429

Es funktioniert beim Full Export > Full Import also kein Versions-Crossing und bis V2.2.x wohl doch noch alles etwas wackelig…