It seems node.lock file does not delete during stopping of seafile. Therefore, at the next start of seafile elasticsearch produce errors:
java.lang.IllegalStateException: failed to obtain node locks, tried [[/mnt/D/Documents/seafile/pro-data/search/data/elasticsearch]] with lock id ; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was )?
If I am deleting pro-data/search/data/nodes/0/node.lock by myself, and restart seafile - elasticsearch work correctly.
Please help me with this situation.