UWC throwing RemoteException for specific Mediawiki pages

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

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 Join to answer
Community showcase
Louis De Jaeger
Posted 8 hours ago in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

25 views 1 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot