cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in exporting with Alfresco v1.4.0

lgr
Champ in-the-making
Champ in-the-making
Hi,

I've tried 3 times to export a full repository from the 1.4.0 version, and neved succeded. I always got the same kind of error below. I work on a linux/gentoo box, and there is enough disk space.

http://issues.alfresco.com/browse/AR-1071 seems to look like my problem. I've got 2 questions:
- are you interested in having more debug details on this issue ?
- is there another way to make a full repository export work ?

Just one information, it seems to fail at the end of export (after many hours of processing for a 800Mo repository)

Laurent.

22:17:42,183 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'repository-export'.
org.alfresco.service.cmr.repository.ContentIOException: Failed to copy content from file:
   writer: ContentAccessor[ contentUrl=store://2007/1/31/22/17/7c892e64-b170-11db-808f-976f2a1025e9.bin, mimetype=text/xml, size=0, encoding=UTF-8]
   file: /opt/alfresco/tomcat/temp/Alfresco/repoExpSystemInfo61420.xml
        at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:434)
        at org.alfresco.repo.exporter.RepositoryExporterComponent.addExportFile(RepositoryExporterComponent.java:211)
        at org.alfresco.repo.exporter.RepositoryExporterComponent.export(RepositoryExporterComponent.java:162)
        at org.alfresco.repo.action.executer.RepositoryExporterActionExecuter.executeImpl(RepositoryExporterActionExecuter.java:61)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:112)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:524)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:456)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:296)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:168)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:286)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: /opt/alfresco/tomcat/temp/Alfresco/repoExpSystemInfo61420.xml (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:428)
        … 13 more
3 REPLIES 3

andy_pryor
Champ in-the-making
Champ in-the-making
I too get exactly the same problem, using 1.4 Community Release.

Is there a workround for this? 

I'm keen to resolve this as I want to migrate to MySQL and Alfresco 2.0 as soon as possible.

Any help would be much appreciated.

lgr
Champ in-the-making
Champ in-the-making
I too get exactly the same problem, using 1.4 Community Release.

Is there a workround for this? 

I'm keen to resolve this as I want to migrate to MySQL and Alfresco 2.0 as soon as possible.

Any help would be much appreciated.

As for now, i don't have a workaround. I think it should be possible to export the full repository folder by folder, and manually recreating categories and other such configurations.

I haven't done that yet.

Laurent.

andy_pryor
Champ in-the-making
Champ in-the-making
Fortunately, I haven't set up any categories as yet so that is not a concern for me.

What does worry me is how users/groups and permissions will be exported and then imported into the new repository. That would take a long time to set up again by hand.

When I find some time, I'll try it and report back …