Sunbird cQube
Search…
Base Upgradation steps

cQube_Base Upgradation:

  • Open Terminal
  • Navigate to the directory from where cQube can be downloaded or cloned
    1
    cd cQube_Base/
    2
    git checkout release-3.1
    Copied!
  • Copy the config.yml.template to config.yml
    1
    cp config.yml.template config.yml
    Copied!
  • If you are opting for storage_type as s3. Copy the aws_s3_config.yml.template to aws_s3_config.yml
    1
    cp aws_s3_config.yml.template aws_s3_config.yml
    Copied!
  • If you are opting for storage_type as local. Copy the local_storage_config.yml.template to local_storage_config.yml
    1
    cp local_storage_config.yml.template local_storage_config.yml
    Copied!
  • This script will update the below cQube components:
    • Creates & Updates table, sequence, index in PostgreSQL database
    • Updates NodeJS server side code
    • Updates Angular and Chart JS client side code
    • Updates & configure Apache NIFI template
    • Updates & configure Keycloak
  • Fill the configuration details in config.yml (* all the values are mandatory, make sure to fill the same configuration details which were used during installation)
  • Edit using nano config.yml
  • Save and Close the file
  • Give the following permission to the upgrade.sh file
    1
    chmod u+x upgrade.sh
    Copied!
  • Run the script to update cQube using the non-root user with sudo privilege
    Start the upgradation by running upgrade.sh shell script file as mentioned below:
    1
    sudo ./upgrade.sh
    Copied!
Configuration filled in config.yml will be validated first. If there is any error during validation, you will be prompted with the appropriate error message and the upgradation will be aborted. Refer the error message and solve the errors appropriately. Restart the upgradation process sudo ./upgrade.sh
Once upgradation is completed without any errors, you will be prompted the following message. CQube upgraded successfully!!
Last modified 1mo ago
Copy link