版本從6.6.1切換到6.8.0,kill掉進程後從新啓動報錯elasticsearch
subdirectory exists in data paths [/usr/local/var/lib/elasticsearch/elasticsearch_wenba]. All data under these paths must be moved up one directory to paths [/usr/local/var/lib/elasticsearch]進程
進入發現沒有任何文件ast
解決方法:刪除掉elasticsearch_wenba文件夾,從新啓動方法