# How can I restart sentinel?

**URL:** <https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102>\
**Category:** Development\
**Tags:** sentinel\
**Created:** [November 5, 2016, 4:43am UTC](https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102 "2016-11-05T04:43:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![medicbot](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/medicbot/32/32_2.png) [@medicbot](https://forum.communityhealthtoolkit.org/u/medicbot)\
**Post date:** [November 5, 2016, 4:43am UTC](https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102/1 "2016-11-05T04:43:00Z")

</div>

**Imported Question** by [marc](http://medicmobile.cloud.answerhub.com/users/12/marc.html) · [Nov 05, 2016 at 12:43 AM](http://medicmobile.cloud.answerhub.com/questions/193/how-can-i-restart-sentinel.html)

With v0.4 we often get questions about forms getting `facility not found` errors despite having the phone number in the facilities table. This has often been due to sentinel\* not working as expected and needing to be restarted. When I suspect sentinel is done, how do I restart it?

\*Sentinel is a code module that assigns the facility name and schedule to a incoming report.

---

<div class="post-metadata">

**Author:** ![marc](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/marc/32/602_2.png) [@marc](https://forum.communityhealthtoolkit.org/u/marc)\
**Post date:** [November 5, 2016, 9:25pm UTC](https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102/4 "2016-11-05T21:25:39Z")

</div>

I have found the following steps to work, but there may be a better way.

SSH into the instance

`ssh -p 33696 vm@{project_name}.app.medicmobile.org`

Check the status of the services (optional)

`sudo /boot/supervisor-info`

Restart Gardener, which will in turn restart Sentinel

`sudo /boot/svc-restart gardener`

---

<div class="post-metadata">

**Author:** ![marc](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/marc/32/602_2.png) [@marc](https://forum.communityhealthtoolkit.org/u/marc)\
**Post date:** [July 23, 2019, 8:47pm UTC](https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102/5 "2019-07-23T20:47:53Z")

</div>

We have some additional [documentation on troubleshooting Sentinel](https://github.com/medic/medic-docs/blob/6cf2c9a0d324e72c1ee01e1c4ea94e6861cbd674/troubleshooting/sentinel.md#restart-sentinel), which should work up to 2.x.

@gareth, what is the best way to do this on 3.x infrastructure?

---

<div class="post-metadata">

**Author:** ![gareth](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/gareth/32/62_2.png) [@gareth](https://forum.communityhealthtoolkit.org/u/gareth)\
**Post date:** [July 24, 2019, 1:54am UTC](https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102/6 "2019-07-24T01:54:09Z")

</div>

I think the 2.x method is still the way to do it, it’s just harder to SSH in than it used to be. This is set to change when we break Sentinel out into its own Docker container.

---

<div class="post-metadata">

**Author:** ![stefan](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/stefan/32/45_2.png) [@stefan](https://forum.communityhealthtoolkit.org/u/stefan)\
**Post date:** [July 30, 2019, 2:40pm UTC](https://forum.communityhealthtoolkit.org/t/how-can-i-restart-sentinel/102/7 "2019-07-30T14:40:17Z")

</div>

The big difference is that you don’t restart gardener anymore, you can just `sudo svc-restart sentinel`
