Importing export.zip

Hello,

I'm trying to import a export.zip exported from a Nuxeo 6.0, to another Nuxeo 6.0. I'm using drag & drop to upload the export.zip, but doesn't work. Is importing the zip but not the documents inside the zip

How can I solve it?

Thanks in advance

Kind regards

0 votes

2 answers

3644 views

ANSWER



Hi,

you should be able to solve your problem by increasing the transaction timeout, which is by default 300 seconds. In your nuxeo.conf file, uncomment the following line and set a higher value (in seconds):

#nuxeo.db.transactiontimeout=300
0 votes



Hi,

I cannot reproduce the issue but I'm under Linux and it seems there was such an issue under Windows, fixed in hotfix nuxeo-6.0-HF10: see NXP-15797

You can still check your export.zip file is correct: it should contain a .nuxeo-archive file at root, then document.xml files under each directory.

0 votes



Hello, Julien.

I updated the instance to HF10 before my question. The content of export.zip is correct and contains te following sctructure.

.nuxeo-archive
MyWorkspace/
MyWorkspace/document.xml
MyWorkspace/folder1/ff1aa82b.blob
MyWorkspace/folder1/document.xml
...
...

:\ I think it's correct. I'm working with Nuxeo 6.0 HF13, Ubuntu 14.04 and PostgreSQL, my browser is FF last version.

06/17/2015

Don't you have any error in the server logs?
06/18/2015

Hello Julien Carsique ,

I don't have errors in the log, I switched in log4j the category org.nuxeo to DEBUG and I saw this trace.

2015-06-19 10:07:05,183 DEBUG [http-bio-0.0.0.0-8080-exec-4] [org.nuxeo.ecm.automation.server.jaxrs.batch.BatchResource] uploaded export.zip (517205935b)

The file was imported, but not unzipped..

Kind regards,

06/19/2015

Now, the import works, but after 10 min importing, I'm getting the following error

2015-06-24 17:39:39,228 DEBUG [http-bio-0.0.0.0-8080-exec-5] [org.nuxeo.runtime.transaction.TransactionHelper] Commiting transaction 2015-06-24 17:39:39,236 DEBUG [http-bio-0.0.0.0-8080-exec-5] [org.nuxeo.ecm.core.storage.sql.ra.ManagedConnectionImpl] cleanup: org.nuxeo.ecm.core.storage.sql.ra.ManagedConnectionImpl@3ae4d800 2015-06-24 17:39:39,237 ERROR [http-bio-0.0.0.0-8080-exec-5] [org.nuxeo.runtime.transaction.TransactionHelper] Unable to commit/rollback org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl@668d019 javax.transaction.RollbackException: Unable to commit: Transaction timeout

at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:267)
at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)
at org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl.commit(NuxeoContainer.java:533)
at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:306)
at org.nuxeo.ecm.webengine.app.WebEngineFilter.closeTx(WebEngineFilter.java:175)
at org.nuxeo.ecm.webengine.app.WebEngineFilter.cleanup(WebEngineFilter.java:160)
at org.nuxeo.ecm.webengine.app.WebEngineFilter.doFilter(WebEngineFilter.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.nuxeo.ecm.webengine.jaxrs.context.RequestContextFilter.run(RequestContextFilter.java:42)
at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:43)

How can I solve it?

Thanks in advance

Regards,

06/24/2015