Help Center

Updating the Pyrus platform

Cloudless Pyrus

Pyrus releases occur quarterly, but security updates may be released at any time. During the update, the system is unavailable. You can download new container versions in advance of the update.

We strongly recommend regularly updating Pyrus Datacenter to the latest version. The current version of Pyrus Datacenter is the most reliable, efficient, and secure. If you have the current version installed, update installation is quick and error-proof.

Important: before updating, we strongly recommend performing a full system backup. Check your docker-compose file for compliance with the current version.

To update Pyrus to the latest version, follow these steps and commands.

  1. Check for the existence of a backup and the current docker-compose file.

  2. Download the latest Pyrus container versions using the following commands:

    $ docker-compose --profile all pull
    
  3. Stop the containers. The system will then become unavailable.

    $ docker-compose stop
    
  4. Start the data storage containers. If MinIO is used for file storage, then use:

    $ docker-compose up -d postgres logs elastic minio
    

    Otherwise:

    $ docker-compose up -d postgres logs elastic
    
  5. Check that postgres is running and functioning properly:

    $ docker exec pyrus-postgresql pg_isready
    # /var/run/postgresql:5432 - accepting connections
    
  6. Check that elastic is running and functioning properly:

    $ docker exec pyrus-elastic curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
    # {
     "cluster_name" : "elastic7_selfhosted",
     "status" : "green",
     ...
    }
    
  7. Update the data in the containers to the latest version:

    $ docker-compose run --rm pyrus-setup --update
    
  8. Start all containers with the command:

    $ docker-compose up -d
    
  9. Check the current version of the platform:

    $ docker-compose run --rm pyrus-setup --version
    

Important: in case of update failure, restore the system from your backup and contact your system administrator.

Was this article helpful?