echo'3.4.1' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it-v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.4.2 upgrade-tb.sh
Start ThingsBoard:
1
docker compose up -d
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose up -d
Update the JWT signing key if you use the default one “thingsboardDefaultSigningKey” on production environments. See JWT security settings for details.
Upgrading ThingsBoard CE to 3.4.1
NOTE: These upgrade steps are applicable for ThingsBoard version 3.4. In order to upgrade to 3.4.1 you need to upgrade to 3.4 first.
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.4.1
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
echo'3.3.4' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it-v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.4.0 upgrade-tb.sh
Start ThingsBoard:
1
docker compose up -d
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose up -d
Our website uses cookies to ensure site security and optimize your experience on our website. By continuing to browse this site, you agree to the use of these cookies, in accordance with our Cookie Policy. For details on managing cookies, please adjust your browser settings.