install.sh icon indicating copy to clipboard operation
install.sh copied to clipboard

Update with rocketchatclt failed

Open skywidetech opened this issue 2 years ago • 2 comments

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

skywidetech avatar Jul 08 '23 03:07 skywidetech

Can reproduce:

  1. I updated RocketChat CTL.
  2. 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?)

franckadil avatar Jul 08 '23 16:07 franckadil

Yeah links are down. Not sure who to let know about that.

oxcarcare avatar Jul 08 '23 19:07 oxcarcare