I'm having some trouble installing Fleet Server in Kibana on an m1 pro.
When I run the command
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:
{"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
- [Meta] Mac M1 Support · Issue #151 · elastic/elastic-agent · GitHub
Here I stay, and I can not move forward:
Versions
Kibana version: 8.2.3:
Elasticsearch version: 8.2.3: