UWC exception: RemoteException: No such user with username

Environment:

  • UWC revision: 110067b2d3d3 (Dec 24, 2014)
  • media-wiki version: 1.21.1
  • Confluence Version: 5.9.8,
  • UDMF plugin version: 1.1

 

Settings:

  • converter.mediawiki.properties:
Mediawiki.0004.userdate.class=com.atlassian.uwc.converters.mediawiki.UserDateConverter
Mediawiki.0004.users-must-exist.property=false
  • exporter.mediawiki.properties:
history=true
history-suffix=-#.txt
## {user:foobar}
## {timestamp:yyyymmddhhmmss}
udmf=true

 

Error observed:

2016-06-01 16:11:38,532 ERROR [main] - REMOTE_API_ERROR: Problem setting creator or last modifier data.

org.apache.xmlrpc.XmlRpcException: java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: No such user with username [bot]

    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.setLastModifier(RemoteWikiBroker.java:1868)

    at com.atlassian.uwc.ui.ConverterEngine.sendAuthor(ConverterEngine.java:2239)

    at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:2039)

    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:55)

2016-06-01 16:11:44,994 ERROR [main] - REMOTE_API_ERROR: Problem setting creator or last modifier data.

1 answer

0 vote

You're trying to import data for a user who you have not created.  The error in your log below tells you which one - create that user and try again.

com.atlassian.confluence.rpc.RemoteException: No such user with username [bot]

UWC provides a mechanism to import mediawiki pages into confluence whose usernames do not yet exist. This somehow does not seem to work from me and the exception is coming not from UWC but from Confluence.

Could it be that I need to do additional configuration in Confluence to allow page migration of non existent users. Or is this feature not supported in Confluence version I am using(5.9.8)?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,087 views 25 10
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