Software Updates

Top  Previous  Next

From time to time, new versions of CirrusPrint are published and available.  These updates can both correct errors and offer new features.  To avoid disruption, server updates are installed manually by an administrator.  There are two ways to apply an update.

 

Manual Updates

Updates can be applied manually by downloading the server software from cirrusprint.com, and installing it following the standard installation instructions.

 

Automated Updates

For an automated update, you can use this command line, which downloads and applies the current version:

 

 cp30s -update

 

On Linux, you just be running as root or use sudo.  Optionally run cp30s -updatenow to bypass the confirmation prompt.

 

On Windows, you can run this from a command window in the CirrusPrint folder (usually c:\sdsi\cp30\server).  If you open the command window with 'Run as adminstrator', the update can run without a security prompt, enabling automated execution.

 

On Windows, to prevent the message box confirming the action, add an output specification:

 

 cp30s -update -o nul

 

Once the server is updated and restarted, remote clients automatically reconnect.  If the client software included with the new server version was also updated, clients automatically update themselves.

 

High Availability Updates

High availability installations have multiple systems sharing a common data directory.  While running the different systems with different versions is usually safe, in some cases data structures can change, potentially causing conflicts.  Ideally, when one system is updated, all systems sharing the same data directory should also be updated.

 

There are third party tools that enable updates of several systems at once, by running the cp30s -update command described above on each system.  On Linux it would also be simple to use scripted rsync commands to execute updates on the machines.