Something is wrong with my elasticsearch instance. It complains about 
unassigned shards en cluster health is red. 

I was wondering if it is possible to do complete removal of Elasticsearch. 
That way I can easily recover from the problems by removal and install. 
This however does seem to be straightforward to the point that it makes me 
wonder if it is at all possible.

This is under Ubuntu 14.04 something and elasticsearch 1.4.2.

Using Ubuntu software centre I can remove 1.4.2 but directory remains. So 
normal software remove does not seem to do a lot. 

If I combine that with removal of directories left by Elasticsearch 
scattered throughtout the file system, it seems to end with a corruption of 
some sort. Elasticsearch won't install. 
Setting up elasticsearch (1.4.2) ...

chown: cannot access /etc/elasticsearch/*: No such file or directory


So the installation program expect a directory to exist prior to installation 
which is a bit strange. I would argue that one should either cleanup file 
system on uninstall 'or'  don't make assumption on what it means if directories 
are present. It should be one of two not a bit of both.


Is there a documented way to recover from this that does not involve me doing a 
complete reinstall of the OS?

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/578c1e0a-4dad-49b6-9420-ac9a4113cac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to