Update#
Periodically, updates to the Inrupt Enterprise Solid Server (ESS) components are released. Follow the instructions below to update.
Procedure#
You can use the installer scripts to update. If you have not already, download the installer scripts.
Go to your ESS directory.
If you have not already, download the installer scripts.
curl -O https://download.software.inrupt.com/<TOKEN>/release/raw/names/ESS-Scripts/versions/<VERSION>/ess-reference-scripts.zip
Once downloaded, unzip the file:
unzip ess-reference-scripts.zip
Go into the
deployment
directory:cd deployment
Create the
<environment>.config
, where<environment>
is your environment value (such asdev
,testing
, etc.):Tip
If the
<environment>.config
already exists (i.e., your current ESS deployment was installed using the scripts), you can just modify theESS_VERSION
in the file.If the
<environment>.config
file does not exist (or you wish to recreate the file), run the following command, substituting your environment (such asdev
,testing
, etc.) for<environment>
:./scripts/installer.sh -p minikube -c init -e <environment>
When prompted, enter the appropriate values for your deployment.
If the
<environment>.config
file does not exist (or you wish to recreate the file), run the following command, substituting your environment (such asdev
,testing
, etc.) for<environment>
:./scripts/installer.sh -p aws -c init -e <environment>
When prompted, enter the appropriate values for your deployment.
Download and build your ESS configuration file, substituting your environment (such as
dev
,testing
, etc.) for<environment>
. The operation also creates a backup of your current deployment in the.backup
directory../scripts/installer.sh -e <environment> -p minikube -s ess -c build
./scripts/installer.sh -e <environment> -p aws -s ess -c build
Upgrade to the new version, substituting your environment (such as
dev
,testing
, etc.) for<environment>
:./scripts/installer.sh -e <environment> -p minikube -s ess -c install
./scripts/installer.sh -e <environment> -p aws -s ess -c install
Rollback#
When upgrading, the installer.sh
creates a backup of your
current deployment in the .backup
directory.
If you need to rollback the update to the previous state, you can run
the ess-rollback.sh
script to restore to the backup version:
./scripts/common/ess-rollback.sh <environment> .backup/<ess-backup-filename>