While upgrading ES to version `5.6.16`, did a system restart for the new version to take effort.

Tried to get ES version, for which it said **connection refused**.

Then when I manually start elastic search throws error

`plugin [repository-s3] is incompatible with version [5.6.16]; was designed for version [5.2.0]`