Can't upgrade elasticsearch 5.2.1 to 5.6.5

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Did you upgrade all nodes? What are the other logs?