# Bisogna riaprire tutti gli argomenti!

**URL:** https://meta.discourse.org/t/need-to-reopen-all-topics/191276
**Category:** Support
**Created:** [22 Maggio 2021, 1:25pm UTC](https://meta.discourse.org/t/need-to-reopen-all-topics/191276 "2021-05-22T13:25:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rahulMasal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahulmasal/32/213255_2.png) [@rahulMasal](https://meta.discourse.org/u/rahulMasal)
#### Post date: [22 Maggio 2021, 1:25pm UTC](https://meta.discourse.org/t/need-to-reopen-all-topics/191276/1 "2021-05-22T13:25:08Z")

</div>

Gentile Supporto,

come posso riaprire tutti i topic chiusi in blocco?  
Ho accesso alla console, quindi per favore condividete con me il comando!

E quale valore devo impostare per evitare la chiusura automatica dei topic?

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

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [23 Maggio 2021, 3:05am UTC](https://meta.discourse.org/t/need-to-reopen-all-topics/191276/3 "2021-05-23T03:05:07Z")

</div>

Date un’occhiata a questo:

> [@Administrative Bulk Operations](https://meta.discourse.org/t/administrative-bulk-operations/118349?u=omarfilip):
>
> Below you will find a collection of bulk operations that can be initiated from the command line. You will need SSH access, so if you are a hosted customer, you will need to contact the Discourse team about running these commands. warning Before working with the console it is extremely important that you have a recent backup. Mistakes can always happen! First thing to do is enter your site’s container: cd /var/discourse ./launcher enter app Additional Guides: [Performing bulk actions a…](https://meta.discourse.org/t/performing-bulk-actions-as-a-moderator/272832)

Per mantenere gli argomenti aperti, lasciate il campo `Auto-close` vuoto.

---

<div class="post-metadata">

### Author: ![rahulMasal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahulmasal/32/213255_2.png) [@rahulMasal](https://meta.discourse.org/u/rahulMasal)
#### Post date: [24 Maggio 2021, 4:53am UTC](https://meta.discourse.org/t/need-to-reopen-all-topics/191276/9 "2021-05-24T04:53:08Z")

</div>

Gentile Supporto,  
Grazie 🙂

Ho appena aperto tutti i vecchi argomenti che erano chiusi!

```
Topic.where(closed: true).where("created_at < '2015-01-01'").find_each do |topic|
  topic.update_status('closed', false, Discourse.system_user)
end

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [23 Giugno 2021, 4:54am UTC](https://meta.discourse.org/t/need-to-reopen-all-topics/191276/10 "2021-06-23T04:54:06Z")

</div>

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