# How does auto-close topics work?

**URL:** https://meta.discourse.org/t/how-does-auto-close-topics-work/219122
**Category:** Support
**Created:** [February 22, 2022, 11:54pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122 "2022-02-22T23:54:21Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [February 22, 2022, 11:54pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/1 "2022-02-22T23:54:21Z")

</div>

When I made this post:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/6/5/c6546cfd254d1845bba06f86dc016352919803a2.png)

It was automatically locked for no reason, the channel does not auto lock topics usually & the user broke none of the rules, they never changed categories either.

Can someone tell me the story behind this please?

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [February 23, 2022, 12:57am UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/2 "2022-02-23T00:57:40Z")

</div>

It says in the screenshot:

> automatically closed 1 minute after the last reply

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 23, 2022, 12:58am UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/3 "2022-02-23T00:58:00Z")

</div>

You would need to contact the admins of that site.

If you click on the profile pic next to the lock, you will see who closed the topic.

---

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [February 23, 2022, 6:27pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/4 "2022-02-23T18:27:55Z")

</div>

The system closed the post, I am an admin of the site.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 23, 2022, 6:37pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/5 "2022-02-23T18:37:56Z")

</div>

It was closed ‘one minute after the last reply’, which sounds like a topic timer? Is there anything special about the category they posted in?

I was thinking maybe a mistyped timer in the category settings tab. Something like this:

 ![category Auto-Close](https://global.discourse-cdn.com/meta/original/3X/5/2/523af079dbbd887189e6123c9bb85ca05c87ec9a.jpeg)

Or maybe just one on that topic?

---

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [February 26, 2022, 1:55pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/6 "2022-02-26T13:55:01Z")

</div>

It’s not on and it was never put on, it hasn’t had any timers, it never had any effects on it either.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 26, 2022, 2:06pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/7 "2022-02-26T14:06:40Z")

</div>

All I can suggest is checking the `/logs`

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 26, 2022, 4:03pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/8 "2022-02-26T16:03:43Z")

</div>

I don’t know of another way that message appears? I think it’s specifically an Auto-Close one that’s based on last reply. It seems that the topic had a timer put on it somehow, and by the system rather than by a mod or admin.

If you have access to the [data explorer](https://meta.discourse.org/t/data-explorer-plugin/32566) you could check the `topic_timers` table for clues, but I don’t know how much that will give away? If there’s no record of one for that topic that might help rule it out at least.

```plaintext
SELECT *
FROM topic_timers 
ORDER BY created_at DESC

```

Has it happened to any other topics?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 26, 2022, 4:15pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/9 "2022-02-26T16:15:00Z")

</div>

@JammyDodger, he just needs to go check the `/admin/logs/`

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 26, 2022, 4:18pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/10 "2022-02-26T16:18:11Z")

</div>

I didn’t think ~~system~~ timer closed topic appeared in the admin logs? I’ll have another play.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [February 26, 2022, 4:20pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/11 "2022-02-26T16:20:37Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/3/e/3ec63c2b0adf70754143686665b68d1f7baa9849.png)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 26, 2022, 4:24pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/12 "2022-02-26T16:24:42Z")

</div>

The last ‘topic closed’ admin log on my test site is from 4 days ago. The two I’ve just been playing with with the Timers do not show up there. I will investigate further. 🙂

Update:

I’ve just run it again, and if I set an Auto-Close timer for 1 minute after the last reply, the topic closes but no admin log is created. 🤷‍♂️ The only related thing in there is the record of the category settings change to add the timer (when I add one through the topic wrench, it leaves no record).

* * *

By the look of it, the only place to find a record of a topic timer (other than the close message itself) is through using the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) and checking the `topic_timers` table.

---

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [February 27, 2022, 1:06pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/13 "2022-02-27T13:06:12Z")

</div>

It doesn’t show on the logs.

---

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [April 26, 2022, 8:59pm UTC](https://meta.discourse.org/t/how-does-auto-close-topics-work/219122/14 "2022-04-26T20:59:51Z")

</div>

I had another case of this happening:

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/7/5/77562e2e20fb29090299ec072a714bda8b0b484a.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/2/3/e230682227f807303ea91e68e96b2d24f6e03210.png)

No topic timer or anything.
