Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.15 KB

UPGRADING.rst

File metadata and controls

36 lines (23 loc) · 1.15 KB

Upgrading HaaS

This file describes the procedure for upgrading HaaS to a new version.

  1. Read the release notes, as they may contain version-specific information.

  2. Stop the HaaS services (webserver and HaaS network daemon). For exmaple:

    $ systemctl stop httpd
    $ systemctl stop haas_network
    
  3. Download and install the new version of HaaS:

    $ git clone https://github.com/cci-moc/haas
    $ python setup.py install
    
  1. Upgrade the database:

    $ haas-admin db upgrade heads
    

    heads indicates that HaaS core and all extensions should be upgraded together. This is the only workflow we support, but the curious can read the (developer-oriented) alembic documentation for more information:

  2. If additional extensions have been added to haas.cfg, re-run haas-admin db create, which will create any tables needed by those extensions.

    Note that removing extensions is not currently supported.

  3. Restart the HaaS services. e.g.:

    $ systemctl start httpd
    $ systemctl start haas_network