Use this checklist for a first transition from pre-rootless Docker Jitsi, such as stable-11031. The target reviewed on 25 October 2026 is stable-11248-2, commit 74d3e6edbb275d700d25de71bddc7088a78b1af4. This is a migration plan, not a claim of a completed end-to-end upgrade on your server. [S1][S2]
This target includes the released corrections for Prosody missing inspect and Jigasi custom CA trust. They do not remove the filesystem, ownership and recovery checks in this migration plan. [S1]
Start with the upgrade and backup workflow. Finish its inventory, staging and stopped-state backup before the copy steps here; return to its startup and verification steps afterwards. If you already have rootless storage, do not run this first-transition copy recipe over it.
What changes in the rootless layout
| Area | Reviewed target behavior |
|---|---|
| Container user | Unprivileged s6; writable-volume checks refer to UID 1000. [S3] |
| Images | Core Compose defaults to ghcr.io/jitsi and the release’s tag. [S2] |
| Web ports | Container HTTP 8000 and HTTPS 8443; environment settings choose host ports. [S2] |
| Configuration | Input remains mounted at /config; web renders runtime files under /run/web/config. [S4] |
| State | Web certificates and accounts use /storage; Prosody data uses /var/lib/prosody. [S2][S4][S5] |
This is separate from running the Docker daemon in rootless mode. The ownership example assumes ordinary Linux Docker Engine without user-namespace remapping. Check translated IDs for other runtimes rather than assuming a host chown 1000 works everywhere. [S3][S10]
1. Prepare a separate configuration copy
The common workflow defines JITSI_CONFIG_DIR as the resolved old host CONFIG. Leave that variable and the original tree unchanged. Choose a new, absent path outside the old project, old configuration and backup directory for JITSI_MIGRATED_CONFIG. Its parent must already exist. [S8]
This recipe covers ordinary local directory trees. Inventory named volumes, external mounts, symlink targets and custom storage before copying. Check free space for the backup, migration copy and any duplicated recordings. If the source contains paths that cannot be represented by this copy, adapt and rehearse the storage plan first.
With the old services stopped and the backup verified, use Bash: [S8]
JITSI_MIGRATED_CONFIG=$(realpath -m /absolute/path/to/new-rootless-config)
case "$JITSI_MIGRATED_CONFIG/" in
"$JITSI_PROJECT_DIR/"*|"$JITSI_CONFIG_DIR/"*|"$JITSI_BACKUP_DIR/"*)
echo 'Choose a separate migration path.' >&2
exit 1 ;;
esac
test ! -e "$JITSI_MIGRATED_CONFIG"
test -d "$JITSI_CONFIG_DIR/web"
sudo mkdir "$JITSI_MIGRATED_CONFIG"
sudo cp -a "$JITSI_CONFIG_DIR/." "$JITSI_MIGRATED_CONFIG/"Copying first preserves the old inputs and ownership for recovery. The target will later use this new tree; the old stack must stay stopped while the new stack is tested. Do not run both against shared writable state.
2. Prepare core writable storage
For this first-transition example, storage must not already exist in the copied tree. If it does, stop and identify whether a migration has already occurred; do not merge an old state over current storage. The target’s mounted core paths are listed below. [S2][S4][S5]
test ! -e "$JITSI_MIGRATED_CONFIG/storage"
sudo install -d -m 0750 \
"$JITSI_MIGRATED_CONFIG/storage/web" \
"$JITSI_MIGRATED_CONFIG/storage/prosody" \
"$JITSI_MIGRATED_CONFIG/storage/transcripts" \
"$JITSI_MIGRATED_CONFIG/tmp/web-load-test"
if [ -d "$JITSI_CONFIG_DIR/prosody/config/data" ]; then
sudo cp -a "$JITSI_CONFIG_DIR/prosody/config/data" \
"$JITSI_MIGRATED_CONFIG/storage/prosody/"
fi
for state in acme.sh acme-certs; do
if [ -d "$JITSI_CONFIG_DIR/web/$state" ]; then
sudo cp -a "$JITSI_CONFIG_DIR/web/$state" \
"$JITSI_MIGRATED_CONFIG/storage/web/"
fi
doneThese offline copies prepare the target locations while preserving the source. In the reviewed startup code, Prosody copies /config/data only when its new data directory is empty. Web copies old ACME directories only when the corresponding destinations do not exist. Neither condition establishes that all copied data is readable or valid. Do not rely on startup to repair an incomplete migration. [S4][S5]
Custom certificate inputs in web/keys remain inputs. The web startup handles them separately from built-in ACME. See SSL setup for the applicable certificate path. [S4]
3. Handle optional data before startup
Review the overlays you actually use, not just the core Compose file. [S6]
| Optional data | Reviewed target host location under the new CONFIG |
|---|---|
| Standard Jibri recordings and logs | storage/jibri/recordings and storage/jibri/logs |
| Saved transcripts with the transcriber overlay | storage/transcripts |
| Custom recording/upload storage | Inspect the actual mounts, scripts and configured destination |
Copy your existing recordings, logs and saved transcripts to the appropriate new locations before starting the corresponding services. Create the required input, custom-CA and writable directories for the target overlays. The default Jibri recording directory inside the target container is /storage/recordings; an old override pointing elsewhere needs review. The table is not a universal migration script for customized sidecars or remote storage. [S6]
After preparing and reviewing the copied tree, assign ownership to the new tree only. This recursively changes ownership within that copy, not the old installation. The no-dereference option avoids changing ownership through copied symlinks; symlink targets still require their own plan. Keep the copied file modes restrictive enough for private keys while allowing the container user to read inputs and write state. [S3][S8]
sudo chown -R --no-dereference 1000:1000 "$JITSI_MIGRATED_CONFIG"This ownership step is scoped to the newly created copy. Do not substitute a parent path, the original CONFIG, or a shared data directory.
4. Point the staged release at the new tree
In the staged .env, preserve passwords and installation-specific settings, and set CONFIG to the actual absolute value of JITSI_MIGRATED_CONFIG. Do not paste the shell variable name as a literal path. For this target: [S2]
JITSI_IMAGE_REPO=ghcr.io/jitsi
JITSI_IMAGE_VERSION=stable-11248-2Use the common workflow’s target Compose array and original project name. Resolve the model again after the CONFIG change: [S9]
"${JITSI_NEW_COMPOSE[@]}" config --quiet
"${JITSI_NEW_COMPOSE[@]}" config --imagesInspect every resolved bind mount locally and confirm it uses the intended new path. A leftover old tag can combine a new registry with an unavailable image; fix registry and tag together rather than blindly removing the pin. Custom templates, networks and optional overlays also need compatibility review. [S2][S9]
5. Check proxies, configuration and certificates
- An external proxy targeting the web container directly must use the target’s internal HTTP port 8000, not an old container port 80. Keep required signaling routes and review removed Colibri WebSocket configuration using the proxy guide. A host-side port mapping is a separate setting. [S2][S11]
- Keep supported custom input files under the copied
webdirectory. Web startup renders/run/web/config/config.jsand appendscustom-config.js; generated runtime files are not the persistent input. See custom configuration checks. [S4] - Preserve ACME account and certificate state. The reviewed renewal service checks due renewals every 12 hours when built-in HTTPS/ACME is enabled. An old challenge-port or hook problem needs diagnosis; deleting state or manually invoking renewal is not a read-only verification. Use certificate diagnostics and rootless renewal recovery. [S4][S7]
6. Start, verify and retain rollback state
Return to startup and acceptance checks. Check the running images, UID and data access, user authentication, served TLS, custom configuration, a three-participant meeting and any enabled recording or transcription.
Do not treat an empty error-log search as proof that migration succeeded. Verify representative existing accounts and outputs as well as a new test account or recording where your access policy allows it. Keep the pre-upgrade backup and original configuration unchanged until acceptance and recovery are verified.
For rollback, use clean-state recovery. Accounts and other changes written into the new storage after cutover are not present in the old data. Preserve them separately for reconciliation. Do not extract old archives over the new tree and claim an exact restoration.
Debian and Ubuntu packages
The container user, GHCR registry, bind mounts and port mapping here apply to Docker images. Native Jitsi packages have their own configuration, service management and migration behavior; use the Ubuntu guide for that route.
Open questions and maintenance
The pinned scripts, storage paths, Compose models and a synthetic file-copy/restore fixture were checked locally. Linux ownership enforcement, a complete production migration, renewal, optional-service compatibility and a full rollback cutover remain untested for this revision. Very old or customized installations may need additional migration steps. Recheck the target source and rehearse with representative data before changing an existing server.
Sources
Reviewed 25 October 2026. Docker sources use commit 74d3e6edbb275d700d25de71bddc7088a78b1af4.
- [S1] Target stable-11248-2 release and rootless transition release stable-11146.
- [S2] Pinned Compose file and environment.
- [S3] Pinned writable-directory check and base image.
- [S4] Pinned web startup.
- [S5] Pinned Prosody migration condition.
- [S6] Jibri overlay, Jibri startup and transcriber overlay.
- [S7] Pinned renewal service.
- [S8] GNU cp, install, chown, realpath and Bash.
- [S9] Compose configuration checks.
- [S10] Docker rootless-mode considerations.
- [S11] Colibri WebSocket removal.