XP Instance Gone

Enonic version: 6.11.1
OS: Ubuntu

Hi all,
I tried to export my content, and how my complete instance seems to be gone. Any suggestions on how to recover?

First step was that I used the toolbox export function:
/opt/enonic/xp/toolbox# ./toolbox.sh export -a su:********* -s cms-repo:draft:/ -t myExport
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)

I noticed that I had a lot of errors in the logs, so I restarted the instance. Now it’s not coming back up, all I get is a blank screen for both the admin interface and the actual website.

This is what I have in the startup log:
Java JDK version: 1.8.0_121
_
___ _ __ ___ _ __ () ___ __ ___ __
/ _ \ ’
\ / _ | '_ | |/ | \ / / ’
| / | | | (_) | | | | | ( > <| |) |
_
_|
| ||___/|| |||_| /_/_\ ./
|_|

Enonic XP 6.11.1

Built on 2017-08-24T10:44:13+0200 (hash = 15545fdacb39ea0592cdb08c7a4612c4a0c5c447, branch = 6.11)

Java HotSpot™ 64-Bit Server VM 1.8.0_121 (Oracle Corporation)

Linux 3.13.0-108-generic (amd64)

Install directory is /opt/enonic/xp

Home directory is /home/xp/enonic/xp

20:35:14.233 INFO c.e.x.l.i.framework.FrameworkService - Starting Enonic XP…
20:35:15.019 INFO c.e.x.l.i.p.ProvisionActivator - Installing 74 bundles…
20:35:18.496 INFO c.e.x.s.shell.impl.ShellActivator - Remote shell access is disabled
20:35:18.805 INFO c.e.x.s.internal.trace.TraceService - Call tracing is disabled
20:35:19.050 INFO c.e.x.i.blobstore.BlobStoreActivator - Waiting for blobstore-provider [file]
20:35:19.050 INFO c.e.x.i.blobstore.BlobStoreActivator - Found blobstore-provider [file]
20:35:19.085 INFO c.e.x.i.blobstore.BlobStoreActivator - Registered blobstore [file] successfully
20:35:19.303 INFO org.elasticsearch.node - [local-node] version[1.5.2], pid[27048], build[NA/NA]
20:35:19.303 INFO org.elasticsearch.node - [local-node] initializing …
20:35:19.308 INFO org.elasticsearch.plugins - [local-node] loaded [], sites []
20:35:21.253 INFO org.elasticsearch.node - [local-node] initialized
20:35:21.254 INFO org.elasticsearch.node - [local-node] starting …
20:35:21.258 INFO org.elasticsearch.transport - [local-node] bound_address {local[1]}, publish_address {local[1]}
20:35:21.273 INFO org.elasticsearch.discovery - [local-node] mycluster/gjyIUYfeTU2DWlgx-cBTjw
20:35:21.275 INFO org.elasticsearch.cluster.service - [local-node] master {new [local-node][gjyIUYfeTU2DWlgx-cBTjw][Ubuntu-1110-oneiric-64-minimal][local[1]]{local=true;, master=true}}, removed {[local-node][g5kcMXsySgCj8AWBwD2AMQ][Ubuntu-1110-oneiric-64-minimal][local[1]]{local=true;, master=true},}, reason: local-disco-initial_connect(master)
20:35:21.309 INFO org.elasticsearch.node - [local-node] started
20:35:21.392 INFO org.elasticsearch.gateway - [local-node] recovered [2] indices into cluster_state
20:35:26.397 ERROR c.e.x.e.impl.ClientActivator - Cluster health in state ‘RED’
20:35:26.893 INFO org.eclipse.jetty.util.log - Logging initialized @13767ms
20:35:27.002 INFO org.eclipse.jetty.server.Server - jetty-9.3.5.v20151012
20:35:27.036 INFO o.e.j.server.handler.ContextHandler - Started [email protected]{/,null,AVAILABLE}
20:35:27.081 INFO o.e.jetty.server.ServerConnector - Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
20:35:27.082 INFO org.eclipse.jetty.server.Server - Started @13956ms
20:35:27.872 INFO c.e.x.l.i.framework.FrameworkService - Started Enonic XP in 13641 ms
20:35:32.399 ERROR c.e.x.e.impl.ClientActivator - Cluster health in state ‘RED’

Does anybody see an option to recover the instance?

Hi.

Do you have snapshots of your index? If not, I really recommend using e.g https://market.enonic.com/vendors/enonic/snapshotter to make sure that you always have a fresh backup of the index-state.

I also recommend using https://market.enonic.com/vendors/glenn-ricaud/systems.rcd.enonic.datatoolbox for operations like export / import to make the process easier.

What kind of errors did you get in the log? Was this after the restart? Is your export complete? You can e.g check the number of exported nodes by doing this (linux/mac):

cd $XP_HOME/data/export/
find . -name node.xml | wc -l

2 Likes

Also, is there more in the startup-logs?

Hi Ben, did you get this problem sorted out?

hi all,
no, i spent a few nights recreating the content. Will make sure I do backups in a better way (thanks for the suggestions about the snapshotter!)

1 Like