How to Upgrade Intel® SceneScape#
This guide provides step-by-step instructions to upgrade your Intel® SceneScape deployment to a new version. By completing this guide, you will:
Back up your existing Intel® SceneScape deployment.
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.
Prerequisites#
Before You Begin, ensure the following:
You have an existing Intel® SceneScape installation with directories
db/
,media/
,migrations/
,secrets/
,models/
, and adocker-compose.yml
file.You have obtained the latest Intel® SceneScape release tar file (
NEW_SCENESCAPE_TAR
).You know the path to your current installation (
OLD_PATH
).
Steps to Upgrade Intel® SceneScape#
Backup the Current Installation:
tar -cpzf backup_scenescape_${OLD_VERSION}.tar.gz OLD_PATH
Extract the New Release:
tar -xzf NEW_SCENESCAPE_TAR -C NEW_SCENESCAPE_DIR
Copy Configuration and Data:
cp -r ${OLD_PATH}/db ${NEW_SCENESCAPE_DIR}/ cp -r ${OLD_PATH}/media ${NEW_SCENESCAPE_DIR}/ cp -r ${OLD_PATH}/migrations ${NEW_SCENESCAPE_DIR}/ cp -r ${OLD_PATH}/secrets ${NEW_SCENESCAPE_DIR}/ cp -r ${OLD_PATH}/models ${NEW_SCENESCAPE_DIR}/ cp ${OLD_PATH}/docker-compose.yml ${NEW_SCENESCAPE_DIR}/
Regenerate TLS Certificates:
make -BC certificates deploy-certificates
Warning: This will overwrite any existing self-signed certificates. If using a custom PKI, follow your own certificate provisioning process.
Run the Deployment Script:
./deploy.sh
Proceed with “yes” when prompted to back up the database.
Verify Deployment:
Confirm that Intel® SceneScape starts correctly and the web UI is accessible.
Restore Additional Services (if applicable):
Edit
docker-compose.yml
inNEW_SCENESCAPE_DIR
to merge previous service definitions.Use
sample_data/docker-compose-example.yml
as a reference.
Restart the updated deployment:
docker compose up
Log in to the Web UI and verify that data and configurations are intact.
Troubleshooting#
Accidental Execution of deploy.sh in New Directory Before Migration:
Delete
db/
,media/
,migrations/
,secrets/
,models/
, anddocker-compose.yml
inNEW_SCENESCAPE_DIR
Restart from Step 3
pg_backup Container Already Running Error:
Stop all active containers:
docker stop $(docker ps -q)
Re-run the deploy script:
./deploy.sh
TLS Certificate Issues:
Re-run:
make -BC certificates deploy-certificates
Tracker Failures in UI:
Verify that
percebro
containers are correctly configured with updated arguments.