# Error Install APM-Agent M1

**URL:** <https://discuss.elastic.co/t/error-install-apm-agent-m1/308805>\
**Category:** Elastic Agent\
**Created:** [July 4, 2022, 10:18am UTC](https://discuss.elastic.co/t/error-install-apm-agent-m1/308805 "2022-07-04T10:18:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sefhi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sefhi/32/97562_2.png) [@sefhi](https://discuss.elastic.co/u/sefhi)\
**Post date:** [July 4, 2022, 10:18am UTC](https://discuss.elastic.co/t/error-install-apm-agent-m1/308805/1 "2022-07-04T10:18:24Z")

</div>

I'm having some trouble installing Fleet Server in Kibana on an m1 pro.

When I run the command

```auto
sudo ./elastic-agent install -v \   
  --fleet-server-es=http://localhost:9200 \
  --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2NTY5Mjc0MzA5MzU6ZGF6OXB4SG9SSzZuV04xZTB4a1lyUQ \
  --fleet-server-policy=fleet-server-policy

```

I get this on the console:

```auto
{"log.level":"info","@timestamp":"2022-07-04T11:45:35.125+0200","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":393},"message":"Generating self-signed certificate for Fleet Server","ecs.version":"1.6.0"}

{"log.level":"info","@timestamp":"2022-07-04T11:45:36.972+0200","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":783},"message":"Fleet Server - Starting","ecs.version":"1.6.0"}

{"log.level":"info","@timestamp":"2022-07-04T11:45:42.983+0200","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":783},"message":"Fleet Server - Error - EOF","ecs.version":"1.6.0"}

Error: fleet-server failed: context canceled

For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.2/fleet-troubleshooting.html

Error: enroll command failed with exit code: 1

For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.2/fleet-troubleshooting.html

```

I have searched for this error on the internet

**"Fleet Server - Error - EOF","ecs.version":"1.6.0"**

Apparently it is an issue related to computers with ARM architecture. The issue has been going on for quite some time, but I haven't seen anywhere that it has been fixed, and I don't see anything related to it in the documentation.

- [elastic-agent can not install in macbook · Issue #1209 · elastic/fleet-server · GitHub](https://github.com/elastic/fleet-server/issues/1209)
- [[Meta] Mac M1 Support · Issue #151 · elastic/elastic-agent · GitHub](https://github.com/elastic/elastic-agent/issues/151)

Here I stay, and I can not move forward:

 ![Captura de Pantalla 2022-07-04 a las 12.13.21](https://us1.discourse-cdn.com/elastic/original/3X/9/5/9555e35123ab3bb32abe89a05f0d133ecaf41a17.png)

Versions

**Kibana version: 8.2.3** :

**Elasticsearch version: 8.2.3** :

---

<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:** [July 25, 2022, 6:18am UTC](https://discuss.elastic.co/t/error-install-apm-agent-m1/308805/2 "2022-07-25T06:18:41Z")

</div>

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