Table of Contents

Update Blocks version on Linux server

:!: The following instructions apply to servers based on our complete Linux server image. If you've built a Blocks server using any other method – such as our script-based method for installing Blocks on a VPS or other bare-bones Debian/Ubunbtu OS – some items may be missing or have different names.

For details on what's new, see the release notes as well as relevant posts on our forum. If you're not yet a forum member, just register here and we'll be happy to welcome you on board.

From the server desktop

  1. Download the gzip-file containing the latest version.
  2. Move the PIXILAB_Blocks_Linux.tar.gz file to the home directory of the pixi-server user of your Linux server.
  3. Run the following commands from within a terminal window opened by the pixi-server user:
 cd /home/pixi-server
 ./stop.sh
 tar xvzf PIXILAB_Blocks_Linux.tar.gz
 ./start.sh

The commands shown above do the following:

  1. Stops Blocks.
  2. Unpacks the update, replacing the previous files/folders with the same names.
  3. Starts Blocks again.

You may also want to update drivers and scripting support files to the latest version. This is not required if the current set of scripts/drivers you use work OK for you, but may be required if you need to install other scripts/drivers, since newer files may then depend on the scripting environment being up to date. To update drivers and scripting support files, run the following commands from within a terminal window opened by the pixi-server user:

cd /home/pixi-server/PIXILAB-Blocks-root/script
./update_scripts.sh

To keep other aspects of your Linux-based server up to date, follow these instructions.

Remote using ssh

Provided ssh has been enabled on the server blocks updates can be done remote over ssh. User and computer must be changed depending on the local setup.

 ssh pixi-server@pixi.guide
 cd /home/pixi-server
 wget https://pixilab.se/outgoing/blocks/PIXILAB_Blocks_Linux.tar.gz
 ./stop.sh
 tar xvzf PIXILAB_Blocks_Linux.tar.gz
 ./start.sh