@sawdustgang hi, could you try running the command from inside the folder /var/opt/gitlab/mattermost/bin
, if you haven't yet?
cd /var/opt/gitlab/mattermost/bin
sudo su mattermost ./mattermost team delete Admin -c /var/opt/gitlab/mattermost/config.json