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

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.

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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,118 views 59 8
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