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

**URL:** <https://discuss.elastic.co/t/upgrade-to-apm-server-8-error-response-from-daemon-unable-to-find-user-apm-server-no-matching-entries-in-passwd-file/318658>\
**Category:** APM\
**Tags:** docker, server\
**Created:** [November 10, 2022, 12:38pm UTC](https://discuss.elastic.co/t/upgrade-to-apm-server-8-error-response-from-daemon-unable-to-find-user-apm-server-no-matching-entries-in-passwd-file/318658 "2022-11-10T12:38:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amcsi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amcsi/32/104527_2.png) [@amcsi](https://discuss.elastic.co/u/amcsi)\
**Post date:** [November 10, 2022, 12:38pm UTC](https://discuss.elastic.co/t/upgrade-to-apm-server-8-error-response-from-daemon-unable-to-find-user-apm-server-no-matching-entries-in-passwd-file/318658/1 "2022-11-10T12:38:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [November 11, 2022, 10:21am UTC](https://discuss.elastic.co/t/upgrade-to-apm-server-8-error-response-from-daemon-unable-to-find-user-apm-server-no-matching-entries-in-passwd-file/318658/2 "2022-11-11T10:21:13Z")

</div>

@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](https://github.com/elastic/apm-server/issues/9495)

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 2, 2022, 6:22am UTC](https://discuss.elastic.co/t/upgrade-to-apm-server-8-error-response-from-daemon-unable-to-find-user-apm-server-no-matching-entries-in-passwd-file/318658/3 "2022-12-02T06:22:04Z")

</div>

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