Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:server:update_blocks [2023-03-15 07:24]
mattias
blocks:server:update_blocks [2024-03-12 15:59] (current)
admin Note on applies only to our Linux image
Line 1: Line 1:
-=====Update Blocks version=====+=====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 [[blocks:release-notes|release notes]] as well as relevant posts on our forum. If you're not yet a forum member, just [[https://pixilab.se/forum/|register here]] and we'll be happy to welcome you on board.
 +
 +===From the server desktop===
   - Download the [[https://pixilab.se/outgoing/blocks/PIXILAB_Blocks_Linux.tar.gz|gzip-file]] containing the latest version.   - Download the [[https://pixilab.se/outgoing/blocks/PIXILAB_Blocks_Linux.tar.gz|gzip-file]] containing the latest version.
   - Move the PIXILAB_Blocks_Linux.tar.gz file to the home directory of the //pixi-server// user of your Linux server.   - Move the PIXILAB_Blocks_Linux.tar.gz file to the home directory of the //pixi-server// user of your Linux server.
-  - Unpack the file on your Linux server, thus replacing the previous files/folders with the same names, by running the following from a terminal window opened under the //pixi-server// user's account:+  - Run the following commands from within a terminal window opened by the //pixi-server// user:
  
 <code> <code>
-cd /home/pixi-server + cd /home/pixi-server 
-tar xvzf PIXILAB_Blocks_Linux.tar.gz+ ./stop.sh 
 + tar xvzf PIXILAB_Blocks_Linux.tar.gz 
 + ./start.sh
 </code> </code>
-Make sure you keep other aspects of your Linux-based server up to date as well by [[blocks:server:tweaks |following these instructions]]. 
  
-:!: Some advanced featuressuch as the Synchronizer and the Locator, may require updates to your Blocks licenseIf you're unsure whether you need such an updateplease contact support@pixilab.se before upgrading +The commands shown above do the following: 
 +  - Stops Blocks. 
 +  - Unpacks the updatereplacing the previous files/folders with the same names. 
 +  - Starts Blocks again. 
 + 
 +You may also want to update drivers and scripting support files to the latest versionThis 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/driverssince 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: 
 + 
 +<code> 
 +cd /home/pixi-server/PIXILAB-Blocks-root/script 
 +./update_scripts.sh 
 +</code> 
 + 
 +To keep other aspects of your Linux-based server up to date, [[blocks:server:tweaks |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. 
 +<code> 
 + 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 
 +</code>
  
-See the  [[blocks:release-notes|release notes]] for details, as well as relevant posts on our forum. If you're not yet a forum member, just [[https://pixilab.se/forum/|register here]] and we'll be happy to welcome you on board.