title: Rocket.chat: Reclaim disk space (Ubuntu Snap)
body: <p>I've got Rocket Chat running on Raspberry Pi 4, on Ubuntu 18.04.4 LTS. The install was done according to the Rocket Chat documentation, using the <em>Snaps</em> method.</p>
  <p>After removing many megabytes of files from our chats (purge) I notice the disk space does not get reclaimed on the Raspberry Pi.</p>
  <p>I've heard some suggestions of running the <code>mongodb</code> command &quot;compact&quot; but I don't know how to do this with the Snaps install as all of the command line tools (i.e. <code>mongo</code> <code>mongod</code> <code>mongodb</code>) don't seem to be available.</p>
  <p>What command can reclaim the disk space and how do I run this command?</p>
  <p>Thanks!</p>