Steps to upgrade DSS Cloud (with Kubernetes and User Isolation) to latest version.
For commands with sudo, run as your user (i.e. run as cheryl_abundo) instead of as dataiku.
For all other commands, run as dataiku.
- Check if anyone is logged in to DSS cloud
If no one is connected, stop DSS (run commands as dataiku)
sudo su - dataiku
./design/bin/dss stop
If someone is connected, inform the person/s before stopping DSS, - Clean-up DSS disk
rm -rf ./design/tmp/*
rm -rf ./design/caches/*
rm -rf ./design/exports/*
rm -rf ./design/diagnosis/*
rm -rf ./design/jobs/*
rm -rf ./design/scenarios/* - Backup data directory
- Check the size of the DSS data directory
du -hcs ./design - Check if there's enough disk space in the VM
df -h
If there's not enough space, incrased disk by following 3c else proceed to 4 - Increase disk attached to VM instance
- Open boot disk and click on Edit. Specify higher Size and click Save.
- Open VM SSH and identify the disk with the file system and the partition that you want to resize.
sudo lsblk - Resize the image partition identified above.
sudo growpart /dev/sda 1 - Extend the file system on the disk/partition to use the added space.
sudo xfs_growfs /dev/sda1 - Verify that the file system is resized
df -h /dev/sda1
- Open boot disk and click on Edit. Specify higher Size and click Save.
- Copy DSS data directory to backup directory (can take awhile, have coffee, work on something else in the meantime)
cp -rv ./design ./design_backup
- Check the size of the DSS data directory
- Download the latest Dataiku installation file
wget https://cdn.downloads.dataiku.com/public/dss/6.0.1/dataiku-dss-6.0.1.tar.gz
Unpack the file
tar xzf dataiku-dss-6.0.1.tar.gz
Related articles





