This document describes the supported upgrade procedure for Fabric Web Studio for Docker Compose environments.
Starting with Fabric Web Studio for Docker Compose package version 2.1.14, upgrades can be performed using the built-in k2space.sh utility.
The supported upgrade approach preserves:
This is the recommended approach for upgrading existing Studio environments.
The recommended upgrade procedure is an in-place upgrade of the existing Studio environment.
Avoid recreating the entire VM/container environment from scratch during the upgrade process unless the deployment is intentionally designed as a disaster recovery (DR) or an immutable infrastructure reprovisioning workflow.
Recreating the environment without preserving the persistent state may result in:
If environments are intentionally treated as disposable/recreatable infrastructure, K2view strongly recommends:
Verify that the Studio for Docker Compose package version is 2.1.14 or newer.
The package version can be viewed in the .VERSION file located in the root directory of the Studio package.
Example:
cat .VERSION
You will find along with the .VERSION file, the .env file. This file configures, among other things, the location of where Fabric are pulled from during the space creation or upgrade process. The "FABRIC_VERSION" that is set in this file corresponds to the latest version set by K2view at the time of releasing the package. It can be overridden. Additionally, you can pass the version at installation or upgrade time.
Excerprt from the .env file
# Images
FABRIC_IMAGE=docker.share.cloud.k2view.com/k2view-images/fabric-studio
FABRIC_VERSION=8.3.3_10
Before upgrading:
Use the k2space.sh upgrade command.
Example:
./k2space.sh upgrade <space-name> --fabric-version=<new-version>
Example:
./k2space.sh upgrade myspace --fabric-version=8.4.2_28
The upgrade process:
**`--fabric-version`**
Updates the Fabric/Studio image version.
Example:
./k2space.sh upgrade myspace --fabric-version=8.4.2_28
**`--heap`**
Overrides the configured JVM heap size.
Example:
./k2space.sh upgrade myspace --heap=16G
**`--port`**
Overrides the exposed UI port.
Example:
./k2space.sh upgrade myspace --port=8443
**`--safety-bypass`**
Bypasses the working-directory safety validation.
Use only if you intentionally upgrade from a directory other than the original Space creation directory.
Example:
./k2space.sh upgrade myspace --fabric-version=8.4.2_28 --safety-bypass
Alternatively, the Fabric image version may be updated directly in the deployment .env file used by the existing Space deployment.
After updating the version:
docker compose up -d
This approach must still preserve:
Do not recreate the environment from scratch unless intentionally implementing a DR/reprovisioning workflow.
After upgrade:
docker ps
This document describes the supported upgrade procedure for Fabric Web Studio for Docker Compose environments.
Starting with Fabric Web Studio for Docker Compose package version 2.1.14, upgrades can be performed using the built-in k2space.sh utility.
The supported upgrade approach preserves:
This is the recommended approach for upgrading existing Studio environments.
The recommended upgrade procedure is an in-place upgrade of the existing Studio environment.
Avoid recreating the entire VM/container environment from scratch during the upgrade process unless the deployment is intentionally designed as a disaster recovery (DR) or an immutable infrastructure reprovisioning workflow.
Recreating the environment without preserving the persistent state may result in:
If environments are intentionally treated as disposable/recreatable infrastructure, K2view strongly recommends:
Verify that the Studio for Docker Compose package version is 2.1.14 or newer.
The package version can be viewed in the .VERSION file located in the root directory of the Studio package.
Example:
cat .VERSION
You will find along with the .VERSION file, the .env file. This file configures, among other things, the location of where Fabric are pulled from during the space creation or upgrade process. The "FABRIC_VERSION" that is set in this file corresponds to the latest version set by K2view at the time of releasing the package. It can be overridden. Additionally, you can pass the version at installation or upgrade time.
Excerprt from the .env file
# Images
FABRIC_IMAGE=docker.share.cloud.k2view.com/k2view-images/fabric-studio
FABRIC_VERSION=8.3.3_10
Before upgrading:
Use the k2space.sh upgrade command.
Example:
./k2space.sh upgrade <space-name> --fabric-version=<new-version>
Example:
./k2space.sh upgrade myspace --fabric-version=8.4.2_28
The upgrade process:
**`--fabric-version`**
Updates the Fabric/Studio image version.
Example:
./k2space.sh upgrade myspace --fabric-version=8.4.2_28
**`--heap`**
Overrides the configured JVM heap size.
Example:
./k2space.sh upgrade myspace --heap=16G
**`--port`**
Overrides the exposed UI port.
Example:
./k2space.sh upgrade myspace --port=8443
**`--safety-bypass`**
Bypasses the working-directory safety validation.
Use only if you intentionally upgrade from a directory other than the original Space creation directory.
Example:
./k2space.sh upgrade myspace --fabric-version=8.4.2_28 --safety-bypass
Alternatively, the Fabric image version may be updated directly in the deployment .env file used by the existing Space deployment.
After updating the version:
docker compose up -d
This approach must still preserve:
Do not recreate the environment from scratch unless intentionally implementing a DR/reprovisioning workflow.
After upgrade:
docker ps