Upgrade - Server running Docker on Offline Linux with Sudoless Access
Overview
The vFunction Server keeps a backup of environmentally-specific files in $BASE_DIRECTORY/vfunction/etc/sysconfig/vfunction/installation/backup/. These backup files are then copied back into the default location during the upgrade process. Because this backup-and-copy process is in place, no manual steps are required to keep backups of files before the upgrade occurs.
Upgrade Steps
- Download the vFunction Server Sudoless Offline Installation TGZ
- SCP the Server TGZ package to the Server VM to the location where vFunction was previously installed, such as $BASE_DIRECTORY
- Change owernship of the Server TGZ package to match the user who performed the original installation
### Replace $INSTALLING_USER with the user who will perform the install
### Replace $INSTALLING_GROUP with the group to which the user is assigned
### Replace $VERSION with the release version, such as "3.6.1449"
chown $INSTALLING_USER:$INSTALLING_GROUP vfunction-server-offline-sudo-less-installation.v$VERSION.tgz
- Switch the user to the be logged in as the user who originally performed the installation
- Move to the location where vFunction was previously installed, such as $BASE_DIRECTORY
cd $BASE_DIRECTORY
- Unpack the Server TGZ package
### Replace $VERSION with the release version, such as "3.6.1449"
tar -xvzf vfunction-server-offline-sudo-less-installation.v$VERSION.tgz
- Run the Upgrade Script
bash vfunction/opt/vfunction/server-installation/upgrade.sh