This guide provides step-by-step instructions to upgrade your Intel® SceneScape deployment to a new version. By completing this guide, you will:
- Migrate configuration and data directories.
- Deploy the latest version of Intel® SceneScape.
- Validate and troubleshoot common upgrade issues.
This task is essential for maintaining access to the latest features and fixes in Intel® SceneScape while preserving existing data and services.
Before You Begin, ensure the following:
- You have an existing Intel® SceneScape v1.4.0 installation with volumes
scenescape_vol-db,scenescape_vol-media,scenescape_vol-migrations, andscenescape_vol-modelsor directorymodel_installer/models/.
-
Checkout latest sources:
git checkout main
-
Back up old database:
make backupdb
-
Build the New Release:
make rebuild-all
-
Run the upgrade-database script:
bash manager/tools/upgrade-database
-
Bring up services to verify upgrade:
SUPASS=<password> make demo
-
Log in to the Web UI and verify that data and configurations are intact.
Starting from 1.4.0 version, Intel® SceneScape stores models in Docker volumes instead of the host filesystem. This provides several benefits:
- Automatic Preservation: Models are automatically preserved during upgrades as Docker volumes persist across container recreations.
- No Manual Copy Required: You no longer need to manually copy
model_installer/models/during upgrades. - Reduced Disk Usage: Models are not duplicated between host filesystem and containers.
- To reinstall models:
make install-models - To clean models:
make clean-models(this will remove the Docker volume) - To check existing models in volume:
docker volume ls | grep vol-models
If upgrading from a version that used host filesystem model storage (model_installer/models/), the models will be automatically reinstalled to the new Docker volume during the first deployment.
- pg_backup Container Already Running Error:
- Stop all active containers:
docker stop $(docker ps -q) - Re-run the above steps for upgrade.
- Stop all active containers: