Elasticsearch not starting after UID and GID change

Do you see any errors in logs etc.? Not sure we can help much without seeing a bit more detail.

Did you update the ownership of all of Elasticsearch's data too?