Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

If the #general channel is deleted, it is being recreated when the server is restarted.

Open hExPY opened this issue 10 years ago • 8 comments

Your Rocket.Chat version: 0.35.0

Hey guys,

we deleted the 'general' channel, but after restarting the rocket channel server the channel magically appeared again as it never been deleted.

Do you guys how to delete it permanently?

Kind regards, Marvyn

hExPY avatar Jul 27 '16 11:07 hExPY

I think you need at least one 'default' channel. In my case, I renamed and archived the general channel, and made a new one.

khobbits avatar Sep 01 '16 11:09 khobbits

Hi @khobbits.

we dont need any public channels.

Kind regards,

hExPY avatar Sep 05 '16 10:09 hExPY

@MartinSchoeler any news about this?

mnlbox avatar Jul 31 '17 13:07 mnlbox

Same bug encountered in our evaluation chat instance as well.

➔ | Rocket.Chat Version: 0.58.2                            
➔ | NodeJS Version: 4.8.4 - x64                      
➔ | Platform: linux                             
➔ | Process Port: 3000                              
➔ | Site URL: https://whatevertheurlis.com 
➔ | ReplicaSet OpLog: Disabled                        
➔ | Commit Hash: 988103d449                  
➔ | Commit Branch: HEAD  

bakhtizin avatar Oct 16 '17 09:10 bakhtizin

Currently the general channel is created on the server startup process because we want it to exist at least once when the server is new, but if it was deleted it needs to remain deleted.

A proposed solution is to remove the creation of the channel from the startup process and add it as a new step on the server configuration wizard, with the ability to choose the channel name as well. Since it will only run on the server setup, it won't be necessary to use the hardcoded 'general' id for it.

Hudell avatar Jun 06 '18 16:06 Hudell

As per the description of #10182, once the issue is fixed we need to test LDAP Import to make sure it isn't recreated there too.

Hudell avatar Jun 14 '18 14:06 Hudell

On it, will like to fix this.

knrt10 avatar Mar 16 '19 18:03 knrt10

Any news on this issue? It's still going on. Guess I can delete the channel automatically, but seems a pretty dumb workaround for something like this.

spbuda avatar Sep 28 '21 15:09 spbuda