space export works, but file is not copied to --file destination

Hiya,

The CLI tools have always been a great help to export out spaces. However after the last upgrade to 5.1 and CLI tools 3.3.0 I am having some trouble with exporting the spaces (as html). The export seems to be fine and things show up in the "temp" folder in the confluence home dir. However they are not moved into place afterwards (the --file option is not used it seems).

Am I hitting a bug, or doing something wrong?

I'm running it as follows (along with the error:)

-bash-4.1$ /export/confluence-cli-3.3.0/confluence.sh --user spaces-exporter --password xxx --server http://localhost:8090 --action exportSpace --exportType HTML --space far --file "/nfs/dumps/test-dump.zip" --verbose
Server address: http://localhost:8090/rpc/soap-axis/confluenceservice-v1

Successful login to: http://localhost:8090/rpc/soap-axis/confluenceservice-v1 by user: spaces-exporter.
Using basic authentication.
cb7f9266eb logged out.

Client error: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
org.swift.common.cli.CliClient$ClientException: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
	at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:218)
	at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:4487)
	at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:693)
	at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
	at org.swift.common.cli.CliClient.doWork(CliClient.java:315)
	at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:146)

2 answers

This widget could not be displayed.

According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.

This widget could not be displayed.

According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

155 views 2 4
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