Enonic version: Latest
OS: Ubuntu 16.04
Hi!
Does anyone know what is going on over here?
I am trying to create a cronjob to run ./toolbox.sh dump… every night for backup purposes.
./toolbox.sh dump -a su:password -t myDump
Failed to prettify response
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: ; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3776)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3716)
at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2272)
at com.enonic.xp.toolbox.util.JsonHelper.prettifyJson(JsonHelper.java:31)
at com.enonic.xp.toolbox.repo.RepoCommand.executeRequest(RepoCommand.java:84)
at com.enonic.xp.toolbox.repo.RepoCommand.postRequest(RepoCommand.java:57)
at com.enonic.xp.toolbox.repo.RepoCommand.postRequest(RepoCommand.java:42)
at com.enonic.xp.toolbox.repo.DumpCommand.execute(DumpCommand.java:36)
at com.enonic.xp.toolbox.ToolCommand.run(ToolCommand.java:13)
at com.enonic.xp.toolbox.Main.main(Main.java:54)
Response error:
FYI.: I was able to create a dump using Data toolbox.
Thx in advance.