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

RocketChat freezes on reboot

Open pletchman opened this issue 9 years ago • 17 comments

Rocket.Chat Version: Running Instances: DB Replicaset OpLog: Node Version:

We've been plagued with the server becoming "unresponsive" when restarting it. In digging it seems similar to the issue others reported with Slack bridge (screenshot attached). We aren't using that and the only change we make to the admin side is using a custom OAuth to attempt to connect to a boonex site.

I thought maybe it was an issue with our rocket.chat installation or even our VPS server but I deployed a clean set up on Rocket.chat beta cloud deployment and had the same thing happen when attempting to restart that server.

Any insight or guidance would be appreciated. screen shot 2017-02-05 at 3 04 19 pm

pletchman avatar Feb 05 '17 21:02 pletchman

I believe this have been fixed on the latest versions, can you please check?

engelgabriel avatar Feb 06 '17 02:02 engelgabriel

It froze on your beta cloud deployed so I assumed that was the latest version.

Pletchman [email protected]

On Feb 5, 2017, at 8:26 PM, Gabriel Engel [email protected] wrote:

I believe this have been fixed on the latest versions, can you please check?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/5907#issuecomment-277572947, or mute the thread https://github.com/notifications/unsubscribe-auth/AYYwJk_mNu4sxqZIAe_qhUST9mZWQaS9ks5rZoS5gaJpZM4L3oWA.

pletchman avatar Feb 06 '17 03:02 pletchman

I have almost same problem. After click on restart button Rocket.chat freeze. So only solution for me is restart Rocket.chat with systemctl command via terminal. My settings: Rocket.Chat Version: 0.50.1 Running Instances: 1 DB Replicaset OpLog: True Node Version: 4.7.2 OS: RHEL 7

Rohlik avatar Feb 07 '17 07:02 Rohlik

@Rohlik I believe that the freeze Slack due to connectivity has been fixed on version 0.51.0, can you please confirm this?

@pletchman the problem with the Reboot button on our cloud hosting, is a bug with Docker that we are working on. I'll open another issue for that.

engelgabriel avatar Feb 09 '17 10:02 engelgabriel

@pletchman see https://github.com/RocketChat/Rocket.Chat/pull/5430

engelgabriel avatar Feb 09 '17 10:02 engelgabriel

@engelgabriel I dont have slack bridge active, but still...After restarting via admin web page, RC freeze. Tested with 0.51.0

Rohlik avatar Feb 09 '17 13:02 Rohlik

@Rohlik just to be clear, are you using something like forever or pm2 to keep the process running? NodeJS alone can't restart the process, and all the Reboot button does, is to kill the current process, and it expects the system to restart it.

engelgabriel avatar Feb 10 '17 17:02 engelgabriel

@geekgonecrazy can you check if the Reboot button is working on our cloud environment?

engelgabriel avatar Feb 10 '17 17:02 engelgabriel

@pletchman I believe we've got an active email thread going and yours taken care of.

@engelgabriel yes reboot button inside any docker container causes the server to lock up. We might need to disable the button when in a container. No errors thrown it just locks up.

geekgonecrazy avatar Feb 10 '17 17:02 geekgonecrazy

@geekgonecrazy thanks last I tried a reboot form the administration panel on a VPS server it still became non-responsive. I'll cross my fingers. Also, any luck on getting the Dolphin OAuth in the list of presets on the cloud beta would be greatly appreciated.

pletchman avatar Feb 10 '17 17:02 pletchman

@engelgabriel I don´t use anything of those, just systemd. Thx for explanation.

Rohlik avatar Feb 10 '17 18:02 Rohlik

@sampaiodiego can you help test reboot button inside any docker container?

engelgabriel avatar Feb 13 '17 16:02 engelgabriel

@geekgonecrazy can write and explanation for @karlprieb to add an explanation under the reboot button?

engelgabriel avatar Feb 13 '17 16:02 engelgabriel

Refs to https://github.com/meteor/meteor/blob/87681c8f166641c6c3e34958032a5a070aa2d11a/tools/tool-env/cleanup.js

engelgabriel avatar Mar 03 '17 16:03 engelgabriel

Closed via https://github.com/RocketChat/Rocket.Chat/commit/938c258d3154dcd56873d93c1c79ab2b82c72eaf

engelgabriel avatar Mar 03 '17 16:03 engelgabriel

Our chat server on the beta cloud just froze when I tried to restart it via the admin panel. It's the first time I've tried since posting about it before so I don't think whatever issue is causing it has been resolved.

pletchman avatar Mar 17 '17 23:03 pletchman

@pletchman it's for sure been resolved. Updating your instance and restarting it. I'll follow up via email

geekgonecrazy avatar Mar 18 '17 00:03 geekgonecrazy