Update from 4.7.0 to 4.8.1 Fails

Description

I’m running Rocket.Chat on a DigitalOcean droplet installed via the provided pre-configured snap package. When I run rocketchatctl update, the update fails with the following terminal output:

Updates could be risky, you can use the backup option # rocketchatctl backup, to create a backup of the rocketchat database first. Please check that you have enough space in your system to store the backup.
Current update available for RocketChat server: from 4.7 to 4.8.1.
/usr/local/bin/rocketchatctl: line 1175: run: command not found
mkdir: cannot create directory ‘/opt/nvm’: File exists
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15037 100 15037 0 0 118k 0 --:–:-- --:–:-- --:–:-- 118k
=> nvm is already installed in /opt/nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /root/.bashrc
=> bash_completion source string already in /root/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="/opt/nvm"
[ -s “$NVM_DIR/nvm.sh” ] && . “$NVM_DIR/nvm.sh” # This loads nvm
[ -s “$NVM_DIR/bash_completion” ] && . “$NVM_DIR/bash_completion” # This loads nvm bash_completion
v14.18.3 is already installed.
Now using node v14.18.3 (npm v6.14.15)
mv: cannot move ‘/opt/Rocket.Chat’ to ‘/opt/Rocket.Chat.bkup/Rocket.Chat’: Directory not empty
Update failed, can’t get RocketChat server API in port 3000. Cancelling

Server Setup Information

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

Any additional Information

How might one go about troubleshooting this problem?