[xwiki-users] Transfer from Confluence
Hello XWiki experts, I see that the Confluence syntax is supported and seems to be working well. That is cool. Is there a more global advice about migrating from Confluence? I see here and there mentions of big XMLs which would be exports from Confluence but nothing that looks like a recipe. Thanks for hints. paul
Hi Paul, On 6 Jul 2015 at 11:53:28, Paul Libbrecht (paul@hoplahup.net(mailto:paul@hoplahup.net)) wrote:
Hello XWiki experts,
I see that the Confluence syntax is supported and seems to be working well. That is cool. Is there a more global advice about migrating from Confluence?
I see here and there mentions of big XMLs which would be exports from Confluence but nothing that looks like a recipe.
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+m... Thanks -Vincent
Thanks for hints.
paul
You can look at http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+m... for the technical how to import a Confluence export file. Right now there is no general migrate from Confluence documentation I can think of. On Mon, Jul 6, 2015 at 11:53 AM, Paul Libbrecht <paul@hoplahup.net> wrote:
Hello XWiki experts,
I see that the Confluence syntax is supported and seems to be working well. That is cool. Is there a more global advice about migrating from Confluence?
I see here and there mentions of big XMLs which would be exports from Confluence but nothing that looks like a recipe.
Thanks for hints.
paul
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas Mortagne wrote:
You can look at http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+m... for the technical how to import a Confluence export file. Right now there is no general migrate from Confluence documentation I can think of. This was potentially a good start, with a very basic tutorial that could have been sufficient, but nothing seems to happen beyond "Conversion started."
What parameter should I change to get some logging from this? Is this filter supposed to take care of attachments? thanks paul
You should get a detailed log of what happen somewhere in jobs/status/filter/converter/. On Mon, Aug 17, 2015 at 2:29 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Thomas Mortagne wrote:
You can look at http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+m... for the technical how to import a Confluence export file. Right now there is no general migrate from Confluence documentation I can think of. This was potentially a good start, with a very basic tutorial that could have been sufficient, but nothing seems to happen beyond "Conversion started."
What parameter should I change to get some logging from this? Is this filter supposed to take care of attachments?
thanks
paul _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I've reached as deep as: <trace>java.io.FileInputStream.<init>(FileInputStream.java:130)</trace> <trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)</trace> <trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.<init>(ConfluenceXMLPackage.java:223)</trace> with either entities.xml or the path of the zip or the entities.xml. Any way to go deeper? paul
Thomas Mortagne <mailto:thomas.mortagne@xwiki.com> 17 août 2015 14:53 You should get a detailed log of what happen somewhere in jobs/status/filter/converter/.
Could you copy the full error. On Mon, Aug 17, 2015 at 3:21 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
I've reached as deep as: <trace>java.io.FileInputStream.<init>(FileInputStream.java:130)</trace> <trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)</trace> <trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.<init>(ConfluenceXMLPackage.java:223)</trace> with either entities.xml or the path of the zip or the entities.xml.
Any way to go deeper?
paul
Thomas Mortagne <mailto:thomas.mortagne@xwiki.com> 17 août 2015 14:53 You should get a detailed log of what happen somewhere in jobs/status/filter/converter/.
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas Mortagne wrote:
Could you copy the full error. complete file at: http://direct.hoplahup.net/tmp/status.xml Interesting bit: <throwable class="org.xwiki.filter.FilterException"> <detailMessage>Failed to read package</detailMessage> <cause class="java.lang.NullPointerException"> <stackTrace>
<trace>java.io.FileInputStream.<init>(FileInputStream.java:130)</trace> <trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)</trace> <trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.<init>(ConfluenceXMLPackage.java:223)</trace> <trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:88)</trace> <trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)</trace> <trace>org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)</trace> <trace>org.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)</trace> <trace>org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)</trace> <trace>org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)</trace> <trace>org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)</trace> <trace>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</trace> <trace>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</trace> <trace>java.lang.Thread.run(Thread.java:745)</trace> </stackTrace> <suppressedExceptions class="java.util.Collections$UnmodifiableRandomAccessList" resolves-to="java.util.Collections$UnmodifiableList"> <c class="list"/> <list reference="../c"/> </suppressedExceptions> </cause> <stackTrace> <trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:90)</trace> <trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)</trace> <trace>org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)</trace> <trace>org.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)</trace> <trace>org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)</trace> <trace>org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)</trace> <trace>org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)</trace> <trace>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</trace> <trace>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</trace> <trace>java.lang.Thread.run(Thread.java:745)</trace> </stackTrace> <suppressedExceptions class="java.util.Collections$UnmodifiableRandomAccessList" reference="../cause/suppressedExceptions"/> </throwable> paul
Did you indicated a path to the Confluence XML package to load in the "target" property ? On Mon, Aug 17, 2015 at 3:28 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Thomas Mortagne wrote:
Could you copy the full error. complete file at: http://direct.hoplahup.net/tmp/status.xml Interesting bit: <throwable class="org.xwiki.filter.FilterException"> <detailMessage>Failed to read package</detailMessage> <cause class="java.lang.NullPointerException"> <stackTrace>
<trace>java.io.FileInputStream.<init>(FileInputStream.java:130)</trace>
<trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)</trace>
<trace>org.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.<init>(ConfluenceXMLPackage.java:223)</trace>
<trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:88)</trace>
<trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)</trace>
<trace>org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)</trace>
<trace>org.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)</trace>
<trace>org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)</trace>
<trace>org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)</trace>
<trace>org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)</trace>
<trace>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</trace>
<trace>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</trace> <trace>java.lang.Thread.run(Thread.java:745)</trace> </stackTrace> <suppressedExceptions class="java.util.Collections$UnmodifiableRandomAccessList" resolves-to="java.util.Collections$UnmodifiableList"> <c class="list"/> <list reference="../c"/> </suppressedExceptions> </cause> <stackTrace>
<trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:90)</trace>
<trace>org.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)</trace>
<trace>org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)</trace>
<trace>org.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)</trace>
<trace>org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)</trace>
<trace>org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)</trace>
<trace>org.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)</trace>
<trace>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</trace>
<trace>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</trace> <trace>java.lang.Thread.run(Thread.java:745)</trace> </stackTrace> <suppressedExceptions class="java.util.Collections$UnmodifiableRandomAccessList" reference="../cause/suppressedExceptions"/> </throwable>
paul _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I have indicated the following in the the latest "The source" field: file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml which I think is the target. The output-type, however, is "XWiki instance output stream (xwiki+instance)". paul Thomas Mortagne wrote:
Did you indicated a path to the Confluence XML package to load in the "target" property ?
On Mon, Aug 17, 2015 at 3:44 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
I have indicated the following in the the latest "The source" field:
Yes "source" not "target" sorry.
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml which I think is the target.
However this filter expect an unzipped Confluence package and not the entities.xml file.
The output-type, however, is "XWiki instance output stream (xwiki+instance)". paul
Thomas Mortagne wrote:
Did you indicated a path to the Confluence XML package to load in the "target" property ?
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas Mortagne wrote:
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml which I think is the target.
However this filter expect an unzipped Confluence package and not the entities.xml file. A folder? I tried it and it complained it's a folder (maybe it's a difference between a trailing /?) The entities.xml is part of the folder.
A zip? I see no constructor in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... But that's the object being built, right? paul
On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Thomas Mortagne wrote:
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml which I think is the target.
However this filter expect an unzipped Confluence package and not the entities.xml file. A folder? I tried it and it complained it's a folder (maybe it's a difference between a trailing /?) The entities.xml is part of the folder.
A zip?
Yes Confluence give you a zip when you do an export.
I see no constructor in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... But that's the object being built, right?
paul _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Mon, Aug 17, 2015 at 5:06 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Thomas Mortagne wrote:
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml which I think is the target.
However this filter expect an unzipped Confluence package and not the entities.xml file. A folder? I tried it and it complained it's a folder (maybe it's a difference between a trailing /?) The entities.xml is part of the folder.
A zip?
Yes Confluence give you a zip when you do an export.
I see no constructor in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... But that's the object being built, right?
ConfluenceInputFilterStream is a component so it only have default constructor.
paul _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
Hmm looks like something changed in 5.7, https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+a... documentation exist only until 5.6.x. We might have to look at whatever is the new format. On Mon, Aug 17, 2015 at 5:07 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Mon, Aug 17, 2015 at 5:06 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Thomas Mortagne wrote:
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml which I think is the target.
However this filter expect an unzipped Confluence package and not the entities.xml file. A folder? I tried it and it complained it's a folder (maybe it's a difference between a trailing /?) The entities.xml is part of the folder.
A zip?
Yes Confluence give you a zip when you do an export.
I see no constructor in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... But that's the object being built, right?
ConfluenceInputFilterStream is a component so it only have default constructor.
paul _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
Erm. That confluence is version 3.0. So... I should just try to follow that with a debugger? paul Thomas Mortagne wrote:
Hmm looks like something changed in 5.7, https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+a... documentation exist only until 5.6.x.
We might have to look at whatever is the new format.
There is nothing to debug, again this module expect a zipped Confluence package (Confluence 4.x was used as reference when starting working on this module) so it will have to be modified to support whatever Confluence 3.0 produces if that's not the same format. If you have a Confluence package in 3.0 version that does not contain anything too personal so that someone can use it as work base you should create a jira issue and attach it. Also maybe there is some Confluence plugin to export a more recent format of package. On Mon, Aug 17, 2015 at 7:12 PM, Paul Libbrecht <paul@hoplahup.net> wrote:
Erm. That confluence is version 3.0. So... I should just try to follow that with a debugger?
paul
Thomas Mortagne wrote:
Hmm looks like something changed in 5.7, https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+a... documentation exist only until 5.6.x.
We might have to look at whatever is the new format.
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (3)
-
Paul Libbrecht -
Thomas Mortagne -
vincent@massol.net