Skip to content

rocketchatctl update results in line 909: [: 3.15.0: unary operator expected #42

@patrickbussmann

Description

@patrickbussmann

I installed RocketChat.
I installed RocketChat CTL.
And then I tried to run /usr/local/bin/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.

When I manually set the version to 3.14.1 it works with the update.
It seems that the version get command is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions