APM Server has still not connected to Elasticsearch"

HI and welcome to the forum :wave:

Seems like you are using the apm_system user instead of the elastic user.
See also Insufficent permission for apm_system user