UWC throwing RemoteException for specific Mediawiki pages

Bruce Cran April 8, 2014

I'm trying to use UWC 4.0 to migrate a Mediawiki installation to Confluence 5.4.4. The vast majority of pages convert and upload to the new empty space but some specific pages fail, such as Main_Page.txt:

org.apache.xmlrpc.XmlRpcException: java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: You're not allowed to view that page, or it does not exist.
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.getPageSummary(RemoteWikiBroker.java:825)
at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.storeNewOrUpdatePage(RemoteWikiBroker.java:281)
at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:1897)
at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:2028)
at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:1719)
at com.atlassian.uwc.ui.ConverterEngine.writePages(ConverterEngine.java:1356)
at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:421)
at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:215)
at com.atlassian.uwc.ui.UWCCommandLineInterface.convert(UWCCommandLineInterface.java:175)
at com.atlassian.uwc.ui.UWCCommandLineInterface.main(UWCCommandLineInterface.java:56)

1 answer

1 accepted

0 votes
Answer accepted
Bruce Cran April 8, 2014

It seems Confluence had a problem with Main_Page.txt because it had a sed expression which contained '/-/' - removing the hyphen fixed the problem. Other parts of the line were interpreted as formatting commands and were rendered as bold.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events