How to upgrade Docker Jitsi from stable-11031 to rootless

Short answer

For a first move from pre-rootless Docker releases, back up the stopped deployment and prepare a separate copy of CONFIG. Create writable storage for UID 1000, copy the old account and certificate state into the new locations, and migrate optional data before starting. Point the staged release at that new tree, preserve the Compose project identity and verify the result. Keep the original data and clean backups for rollback.

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]

Terminal
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]

Terminal
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
done

These 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]

Terminal
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]

Config
JITSI_IMAGE_REPO=ghcr.io/jitsi
JITSI_IMAGE_VERSION=stable-11248-2

Use the common workflow’s target Compose array and original project name. Resolve the model again after the CONFIG change: [S9]

Terminal
"${JITSI_NEW_COMPOSE[@]}" config --quiet
"${JITSI_NEW_COMPOSE[@]}" config --images

Inspect 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 web directory. Web startup renders /run/web/config/config.js and appends custom-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.

Written by the Jitsi Help engineering team

Jitsi infrastructure engineers who deploy and run Jitsi Meet servers in production. Last updated . How we write our guides

Stuck on something this page does not cover? Ask a question below. Jitsi Help engineers read every one.

Did this guide work for you?

Something on this page is outdated or wrong?

Frequently asked questions

Can I upgrade by changing only the image tag?

No. The rootless transition changes writable storage, runtime configuration, web container ports and image registry. Use matching release files and images, preserve credentials and prepare the data paths before starting.

Must I use chmod 777 for Jitsi storage?

No. The reviewed images need storage writable by UID 1000. This recipe prepares a separate copy with that ownership on a standard Docker host. Rootless Docker daemons and user-namespace remapping need their own host-ID checks.

Does startup automatically migrate all my data?

No. The reviewed Prosody and web startup scripts have conditional copy behavior for specific old data. Recordings, logs, transcripts, custom paths and permissions need explicit review. Do not assume a failed or partial migration can safely be repeated over existing state.

Should I delete ACME state to fix renewal after upgrading?

Preserve it and diagnose the actual error first. The reviewed release uses persistent ACME state and a rootless renewal service. Deleting it can discard account and renewal metadata and lead to new issuance attempts.

Will rollback preserve accounts created after upgrading?

A pre-upgrade backup contains only the state captured then. Accounts and other changes written to the new storage need separate reconciliation. Keep both states until you have verified recovery.

Discussion

    Stuck, or would rather not do this by hand?

    Deploy it in one click

    A private Jitsi server in your own AWS account with SSL, your domain and optional recording, transcription and JWT. Free 15 minute trial.

    Start free trial

    Talk to a Jitsi engineer

    Setup, fixes, branding, recording, scaling. Tell us what is happening and we reply with a plan and a quote.

    Get expert help

    Related

    Recently updated