Disable Update Snap

Description

Can someone tell me how to disable updates? I went through the snap install and about 2x a week it looks like updates takes it to 100% CPU rendering it unusable until a reboot.

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu 14
  • Deployment Method:
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

1 Like

This post is the top google search result for disable snap update rocketchat .

This should work, but I don’t want to guarantee it, as RC tries very hard to force an update, even if you don’t want it.

root@host:~# snap refresh --hold rocketchat-server
General refreshes of "rocketchat-server" held indefinitely

And maybe you want to disable the Update Checker in your admin backend (last setting on “General”). This saves you one or two shocks.