Instruction to apply the update patch

Download the update tar file:

updates dt 01-06-2017 (all updates in single tar file):
    https://clixplatform.tiss.edu/softwares/clix-schoolserver-updates/update-patch-9de330e-r1-20170610.tar.gz
    https://clixplatform.tiss.edu/softwares/clix-schoolserver-updates/patch-r1.sh
    https://clixplatform.tiss.edu/softwares/clix-schoolserver-updates/README-update.md

Copy content (downloaded tar file) in Pendrive (not inside any directory please - directly inside the pendrive {root of pendrive})

Now we have files in pendrive. Insert pendrive in the School server

Check the connection of drive with lsblk command

Command : lsblk
Expected output:
    
    core@clixserver ~ $ lsblk 
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0 931.5G  0 disk 
    |-sda4   8:4    0     1G  0 part /usr
    |-sda2   8:2    0     2M  0 part 
    |-sda9   8:9    0 929.2G  0 part /
    |-sda7   8:7    0    64M  0 part 
    |-sda3   8:3    0     1G  0 part 
    |-sda1   8:1    0   128M  0 part /boot
    `-sda6   8:6    0   128M  0 part /usr/share/oem
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sdb      8:0    0 931.5G  0 disk 
    |-sdb1   8:4    0     1G  0 part 
    

Mount the pendrive:

Command : mount <device> /mnt/
Example : mount /dev/sdb1 /mnt/

Change the directory to /mnt

Command : cd /mnt
Expected output:
    
    core@clixserver ~ $ cd /mnt/
    core@clixserver /mnt $ 
    

Update command (After the patch is applied it will reboot the system)

Command : sudo bash patch-r1.sh

======================================================================================================# Update details

This file will contain the details about the update patch. This file also includes how the update patch is prepared.

Update-patch number:

Syntax          :   update-patch-9de330e-r<release-no>-<yyyymmdd>
Exact Number    :   update-patch-9de330e-r1-20170610

Version number: r1

Commit number

gstudio-docker:

Short           :   9de330e
Long            :    9de330ec8dcce9a5e840e7eb237899035d34a5fb

gstudio:

Short           :   5568dbb
Long            :   5568dbbbdf0bda549aefbcf8fc6a9352046d7d29

qbank:

Short           :   cf7c138
Long            :   cf7c1382638c340b5665d6e7ce7e7f31626aed30

OpenAssessmentsClient:

Short           :   ed2f30d
Long            :   ed2f30dc65be911ee8f1c80a964e159e289ffe0b

Instruction to prepare the update patch

mkdir update_patch-9de330e-r1-20170610

mkdir -p update_patch-9de330e-r1-20170610/code-updates

cd update_patch-9de330e-r1-20170610/code-updates

git clone https://github.com/mrunal4/gstudio-docker.git

git clone https://github.com/gnowledge/gstudio.git -b dlkit

rsync -avzPh gstudio-docker/scripts/git-offline-update.sh gstudio-docker/scripts/code-update.sh .

cd ../../


mkdir -p update_