# Rocket chat on Ubuntu 20.04 no longer works

**URL:** <https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126>\
**Category:** Community Support\
**Created:** [August 13, 2020, 12:59pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126 "2020-08-13T12:59:49Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 13, 2020, 12:59pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/1 "2020-08-13T12:59:49Z")

</div>

I’ve had a rocket chat server setup for several weeks on Ubuntu 20.04 using snaps. Out of the blue it seems it no longer works.  
When checking services the snap.rocketchat-server won’t start, it just stops if I issue it a start command.  
I’ve tried restoring the server from a previous day when I know it worked, and same thing happens.  
Did something get pushed from some where that is breaking my server?

---

<div class="post-metadata">

**Author:** ![href](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/href/32/1995_2.png) [@href](https://forums.rocket.chat/u/href)\
**Post date:** [August 13, 2020, 1:10pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/2 "2020-08-13T13:10:32Z")

</div>

Same here, it basically seems to hang after the following message. The local port 3000 is never opened, and therefore we get a Bad Gateway error:

Aug 13 15:09:02 prod-rocketchat1 rocketchat-server.rocketchat-server[10033]: {“line”:“120”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 202”,“time”:{"$date":1597324142063},“level”:“info”}

---

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 13, 2020, 1:37pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/3 "2020-08-13T13:37:26Z")

</div>

Any idea what happened? I guess I’m confused how my own server would break all of a sudden.

---

<div class="post-metadata">

**Author:** ![href](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/href/32/1995_2.png) [@href](https://forums.rocket.chat/u/href)\
**Post date:** [August 13, 2020, 1:38pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/4 "2020-08-13T13:38:53Z")

</div>

I got the server to start again by blocking cloud.rocket.chat as follows:  
`iptables -I OUTPUT -d 51.81.11.138/24 -j REJECT`

Not necessarily recommending this as a solution - it will break the push gateway and possibly your marketplace apps, but for us it was the only way to even get our server to start.

---

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 13, 2020, 1:42pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/5 "2020-08-13T13:42:06Z")

</div>

Then did you just: sudo systemctl start snap.rocketchat-server.rocketchat-server.service ?

For me, it still does nothing.

---

<div class="post-metadata">

**Author:** ![href](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/href/32/1995_2.png) [@href](https://forums.rocket.chat/u/href)\
**Post date:** [August 13, 2020, 1:46pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/6 "2020-08-13T13:46:59Z")

</div>

I went with `snap restart rocketchat-server`, but your way should work too. Maybe you take a different route? In my case I waited for the server to get to the place where it hangs, and then I ran the following:

`lsof -p $(pgrep -f 'node /snap') | grep IPv4`

I would see something like this:

```auto
node 13593 root 18u IPv4 69496 0t0 TCP localhost:35120->localhost:27017 (ESTABLISHED)
node 13593 root 19u IPv4 69497 0t0 TCP localhost:35122->localhost:27017 (ESTABLISHED)
node 13593 root 20u IPv4 69498 0t0 TCP localhost:35124->localhost:27017 (ESTABLISHED)
node 13593 root 21u IPv4 70390 0t0 TCP localhost:35126->localhost:27017 (ESTABLISHED)
node 13593 root 22u IPv4 71948 0t0 TCP localhost:35128->localhost:27017 (ESTABLISHED)
node 13593 root 23u IPv4 72049 0t0 TCP example.org:50716->n03.svc.cloud.rocket.chat:https (ESTABLISHED)

```

Then I just went ahead and got the address of n03.svc.cloud.rocket.chat using `host n03.svc.cloud.rocket.chat`, and then blocked the `/24` subnet (this might be too much, but I didn’t bother looking at it further).

---

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 13, 2020, 1:51pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/7 "2020-08-13T13:51:26Z")

</div>

Hmm interesting, not working on my side.  
I was wondering if it was something to do with caddy. When I setup my server I had to edit the /etc/hosts file and create an entry to point the dns name to my public IP because for some stupid reason they want this to match internally. Sorry Snap/RocketChat, but I have an INTERNAL DNS SERVER!!!  
When finished, I reverted the /etc/hosts file back to it’s original form… so I was guessing rocketchat/snap was screwing up because of this weeks later after setup was completed.

---

<div class="post-metadata">

**Author:** ![thumphrey](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@thumphrey](https://forums.rocket.chat/u/thumphrey)\
**Post date:** [August 13, 2020, 2:38pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/8 "2020-08-13T14:38:38Z")

</div>

This option for REJECTING the IP address worked for me as well. Looks like issues connecting to cloud.rocket.chat. I can’t sign in to my profile there neither to access server workspace.

SNAP auto updated to 3.5.1 last night, introducing the Push Gateway feature that will now tracked\bill your RC workspace instance for Push Notifications. I’m sure there must be a bug with deployment

---

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 13, 2020, 2:42pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/9 "2020-08-13T14:42:21Z")

</div>

I’m going to delete the host and redeploy without snaps. Snap is an effing joke.  
Scratch that, I’m moving to Mattermost…

---

<div class="post-metadata">

**Author:** ![larkin](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@larkin](https://forums.rocket.chat/u/larkin)\
**Post date:** [August 13, 2020, 2:52pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/10 "2020-08-13T14:52:23Z")

</div>

My rocketchat instance also crashed out of blue without me doing anything (no scheduled updates, no nothing) and doesn’t work anymore. I must say rocket.chat is not reliable enough for production, my server is down whole day and there’s no fix in sight.

---

<div class="post-metadata">

**Author:** ![binarydad](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/binarydad/32/2035_2.png) [@binarydad](https://forums.rocket.chat/u/binarydad)\
**Post date:** [August 13, 2020, 3:23pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/11 "2020-08-13T15:23:49Z")

</div>

Same here. I’m no longer able to get the service running out of the blue. Also, notifications are no longer working. The server has not been touched (it’s only used by myself and 2 kids). I was able to restore an old version, but I can’t seem to disable snap from auto refreshing!

---

<div class="post-metadata">

**Author:** ![binarydad](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/binarydad/32/2035_2.png) [@binarydad](https://forums.rocket.chat/u/binarydad)\
**Post date:** [August 13, 2020, 3:26pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/12 "2020-08-13T15:26:24Z")

</div>

I have Mattermost running on another server at home and was trial testing Rocket.Chat to see if I want to use that.

---

<div class="post-metadata">

**Author:** ![bradley.hilton](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/bradley.hilton/32/30_2.png) [@bradley.hilton](https://forums.rocket.chat/u/bradley.hilton)\
**Post date:** [August 13, 2020, 4:42pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/13 "2020-08-13T16:42:43Z")

</div>

> [@Rocket chat server can't start (problem with cloud.rocket.chat )](https://forums.rocket.chat/t/rocket-chat-server-cant-start-problem-with-cloud-rocket-chat/8131/3):
>
> Changes have been made and we are investigating why it suddenly stopped even though other areas of the same infrastructure were working just fine. Everything should be working fine as of right now.

Sorry to be so vague, but we really don’t know what caused the issue and are looking into it.

---

<div class="post-metadata">

**Author:** ![chaosclarity](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chaosclarity](https://forums.rocket.chat/u/chaosclarity)\
**Post date:** [August 13, 2020, 6:02pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/14 "2020-08-13T18:02:12Z")

</div>

Still not working from my side. I restored my VM from a backup of 2 days ago when I know it was working, powered on, and still the same “Bad Gateway” error from nginx and port 3000 never opens locally on the host.

---

<div class="post-metadata">

**Author:** ![mathewjone](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mathewjone](https://forums.rocket.chat/u/mathewjone)\
**Post date:** [September 8, 2020, 10:18am UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/15 "2020-09-08T10:18:50Z")

</div>

Same here, it essentially appears to hang after the accompanying message. The nearby port 3000 is rarely opened, and subsequently we get a Bad Gateway blunder:

---

<div class="post-metadata">

**Author:** ![bernad](https://avatars.discourse-cdn.com/v4/letter/b/a183cd/32.png) [@bernad](https://forums.rocket.chat/u/bernad)\
**Post date:** [October 13, 2021, 9:08am UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/16 "2021-10-13T09:08:20Z")

</div>

I have Ubuntu 20.04.3 LTS, 64-bit, 3.36.8 gnome … still same, not working not opening, already it is several months that this still not work, reinstall not helped, is someone working on a fix? (I have paid rocket chat)

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [October 13, 2021, 9:16pm UTC](https://forums.rocket.chat/t/rocket-chat-on-ubuntu-20-04-no-longer-works/8126/17 "2021-10-13T21:16:23Z")

</div>

hi @bernad ! Welcome to our forum!

This is for community supporting community members on a best effort possible.

As you are an EE user, can you please go thru your official support contacts?

Also, this thread is regarding and old server install issue, while it looks like you are having trouble with the desktop app.

Let me know if you were able to get in contact with our support. thanks!
