Anaconda Enterprise: Documentation

# Updating Repository

CAUTION: You must have a tested backup of your installation before starting the update process. If updating more than one version, all updates must be performed in sequential order.

Your support representative can provide you with a download URL for an updated Repository installer.

To update to the latest Repository release:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Please contact your Professional Support Team contact or sales person if you have any questions or problems regarding the update.

## Updating to current and previous versions

Updating to 2.33:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.32:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.31:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.30:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.29:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.28:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.27:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.26.6:

The logging configuration can be removed. Logs have been moved to `$PREFIX/var/log/anaconda-server/`:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    anaconda-server-config --remove LOGGING
    supervisorctl stop all
    supervisorctl start all

Updating to 2.26:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.25:

    curl '$INSTALLER_URL' > anaconda_repository.sh
    bash anaconda_repository.sh -u
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.24:

    conda update binstar-server binstar-static anaconda-client
    anaconda-server-db-setup --execute
    anaconda-server-install-supervisord-config.sh
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.23:

    conda update binstar-server binstar-static anaconda-client
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.22:

    conda update binstar-server binstar-static anaconda-client
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.21:

    conda update binstar-server binstar-static anaconda-client
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.20:

    conda update binstar-server binstar-static anaconda-client
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.19:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl stop all
    supervisorctl reload
    supervisorctl start all

Updating to 2.18:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl stop
    supervisorctl reload
    supervisorctl start all

Updating to 2.17:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl stop
    supervisorctl reload
    supervisorctl start all

Updating to 2.16:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl restart all

Updating to 2.15:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl restart all

Updating to 2.14:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl restart all

Updating to 2.13:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    anaconda-server-config --config-file /etc/binstar/config.yaml --set LABEL_NAME "'channel'"
    supervisorctl restart all

Updating to 2.12:

    conda update binstar-server anaconda-client anaconda-build
    anaconda-server-db-setup --execute
    supervisorctl restart all

Updating to 2.9:

    conda update binstar-static binstar-server cas-mirror
    anaconda-server-db-setup --execute
    supervisorctl restart all

Updating to 2.8:

    conda update binstar-static binstar-server cas-mirror
    anaconda-server-db-setup --execute
    supervisorctl restart all

Updating to 2.6.0:

    conda update binstar-server
    conda install cas-mirror

Updating to 2.5.1:

    conda update binstar-server

Updating to 2.3:

    conda update binstar-server
    conda install cas-mirror

Updating to 2.2:

    conda update binstar-server