Update with rocketchatclt failed
I just downloaded the latest version of rocketchatctl and tried to upgrade an existing rocketchat
OS: centos8 RocketChat version: 4.8.1 Apps Engine Version: 1.32.0 Node Version: v14.18.3 Database Migration: 265 (November 20, 2022 12:37 PM) MongoDB: 4.2.24 / wiredTiger (oplog Enabled) Commit Details: HEAD: (0b106e364); Branch: HEAD
./rocketchatclt check-updates
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. /usr/local/bin/rocketchatctl: line 783: $1: unbound variable
Can reproduce:
- I updated RocketChat CTL.
- And then I tried to run
sudo rocketchatctl update
Which results in:
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.
/usr/local/bin/rocketchatctl: line 909: [: 3.15.0: unary operator expected
Could not determine if updates available for RocketChat server.
I tested curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz which pulls an HTML endoded tgz file (Seems like github links are broken again?)
Yeah links are down. Not sure who to let know about that.