Problem exporting with toolbox

Enonic version: 5.3.0
OS: OSX

$ ./toolbox.sh export -a su:password -s cms-repo:draft:/ -t myExport

Unexpected error: No content to map due to end-of-input
 at [Source: ; line: 1, column: 1]

What is causing this?

Could you double check that you have things in the draft branch? If all content in EXP admin says “online” you should change “draft” in that string to “master”.

Also, you should download and use 5.3.1 instead (no upgrade needed) because there’s an error in the export/import on 5.3.0.

Everything was published, but master gives the same error. Will try to upgrade to 5.3.1 now.

Upgraded to 5.3.1

$ echo $XP_HOME
/Users/tommy/Apps/enonic-unox/home

Same error:

./toolbox.sh export -a su:password -s cms-repo:master:/ -t myExport
Unexpected error: No content to map due to end-of-input
 at [Source: ; line: 1, column: 1]

I’ll let @rmy have a look at this.

I would try to reindex and see if that solves it. http://xp.readthedocs.org/en/5.3/reference/toolbox/reindex.html

Hi Tommy.

I dont see what could be the issue. Could you try zipping the $XP_HOME/repo - directory and mail it to me at [email protected], if its not too large

Sorry for the late reply. We made it work somehow, but I can’t remember how.
Could be PEBCAK.

You can just close/archive this issue.