Skip to main content

5.3.3 upgrade to 5.4.0 documentation

version change

Version 5.4.0 Changes

Console upgrade

  1. Execute the sql upgrade script

    • If the console is allinone started, do the following

      docker exec -it rainbond-allinone bash
      curl http://sh.rainbond.com/upgrade-5.4.0.sh | bash
    • If the console is installed through the application market, after entering the Rainbond-console component, execute the following command

      curl http://sh.rainbond.com/upgrade-5.4.0.sh | bash
  2. upgrade console

    • If the console is allinone started, do the following

      docker stop rainbond-allinone && docker rm rainbond-allinone

      # The parameters of this command must be the same as the rainbond-allinone container you started earlier.
      docker run -d -p 7070:7070 -v ~/.ssh:/root/.ssh -v ~/rainbonddata:/app/data \
      --name=rainbond-allinone --restart=always \
      registry.cn -hangzhou.aliyuncs.com/goodrain/rainbond:v5.4.1-release-allinone
    • If the console is installed through the application market, enter the console application, and select to upgrade to version 5.4.1 on the upgrade page.

Data Center Upgrade

  1. Data center side upgrade

    1. Update grctl command

      docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.4.1-release copy

      mv /usr/local/bin/rainbond-grctl /usr/ local/bin/grctl && grctl install
    2. Execute the upgrade command

      grctl cluster upgrade --new-version=v5.4.1-release