Upgrade to apm-server 8: Error response from daemon: unable to find user apm-server: no matching entries in passwd file

I'm using the ELK stack in Docker and I upgraded from 7.17 to 8.5. I'm getting this error message in journalctl, and APM-Server never starts:

Error response from daemon: unable to find user apm-server: no matching entries in passwd file

I am passing the --user=apm-server argument to docker run as per the docs.

Kibana version: 8.5.0

Elasticsearch version: 8.5.0

APM Server version: 8.5.0

@amcsi sorry you have encountered this - this is a problem in 8.5.0 that will be fixed in 8.5.1: Dockerfile for 8.5.0 has no named user · Issue #9495 · elastic/apm-server · GitHub

In the mean time I think you could just remove --user=apm-server, as the Docker image specifies the user to run as.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.