# Host in agent stuck in "Updating" status on Fleet-Server

**URL:** https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664
**Category:** Elastic Training
**Created:** [September 23, 2023, 7:21am UTC](https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664 "2023-09-23T07:21:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sheaces](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sheaces](https://discuss.elastic.co/u/sheaces)
#### Post date: [September 23, 2023, 7:21am UTC](https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664/1 "2023-09-23T07:21:25Z")

</div>

Course: Elastic Observability Engineer On-Demand  
Version: ID: E-J0E990  
Question: In lab 2.1, after installing and enrolling the elastic agent to the host, the fleet server reflects that the agent is stuck in "updating" state.

 ![Screenshot 2023-09-23 151920](https://us1.discourse-cdn.com/elastic/original/3X/5/8/589c75d977aae66959d878966e5277ecab6eea68.jpeg)

On the host, the status of the elastic agent is shown as healthy.  
elastic@ip-172-31-21-123:~$ sudo elastic-agent status  
Status: HEALTHY  
Message: (no message)  
Applications: (none)

Please advise how to resolve this issue. Thanks.

---

<div class="post-metadata">

### Author: ![Romain\_Geffraye](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/romain_geffraye/32/77053_2.png) [@Romain\_Geffraye](https://discuss.elastic.co/u/Romain_Geffraye)
#### Post date: [September 25, 2023, 6:44am UTC](https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664/2 "2023-09-25T06:44:20Z")

</div>

Hello,

Did you explore the logs to see what explanation it could provide?

---

<div class="post-metadata">

### Author: ![sheaces](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sheaces](https://discuss.elastic.co/u/sheaces)
#### Post date: [September 25, 2023, 1:54pm UTC](https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664/3 "2023-09-25T13:54:18Z")

</div>

Hi,

Logs from where? Please elaborate.

---

<div class="post-metadata">

### Author: ![Romain\_Geffraye](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/romain_geffraye/32/77053_2.png) [@Romain\_Geffraye](https://discuss.elastic.co/u/Romain_Geffraye)
#### Post date: [September 26, 2023, 1:16am UTC](https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664/4 "2023-09-26T01:16:22Z")

</div>

The Agent logs, you can collect them using `elastic-agent diagnostics collect`

You can also try restarting the agent to see if it fixes the issue.

---

<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: [October 26, 2023, 1:16am UTC](https://discuss.elastic.co/t/host-in-agent-stuck-in-updating-status-on-fleet-server/343664/5 "2023-10-26T01:16:47Z")

</div>

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