Skip to content

Update a self-hosted installation

This guide walks you through updating a self-hosted installation of Operately to a newer version.

Log in to the server running Operately and navigate to the directory where Operately is running. By default this location is ~/operately.

The update process depends on your current version:

  • Version 1.4.0 or later: Use the operately update script
  • Before version 1.4.0: Manually update the Docker Compose configuration

To update to the latest official release without specifying a version:

Terminal window
./operately update

To update to a specific version:

Terminal window
./operately update <version>

Replace <version> with the version you want to upgrade to. For example:

Terminal window
./operately update 1.4.0
Terminal window
./operately update 1.5.0

You can also update to nightly builds:

Terminal window
./operately update nightly-build-20260116-070020-49842cd04

Depending on the Operately version you installed for the first time, the operately script might not be available. In that case, you need to generate it first:

Terminal window
docker compose run --rm app sh -c "/opt/operately/bin/generate-script" > operately
chmod +x operately

After generating the script, you can use the update commands above.

You need to manually update the Docker Compose file.

Edit the docker-compose.yml file and update the Operately version tag:

# From this:
image: operately/operately:vOLD
# To this:
image: operately/operately:vNEW

Replace vOLD with your current version and vNEW with the target version you want to upgrade to.

Examples:

# From this:
image: operately/operately:1.2.0
# To this:
image: operately/operately:1.3.0
# From this:
image: operately/operately:1.2.0
# To this:
image: operately/operately:nightly-build-20260116-070020-49842cd04
Terminal window
docker compose run --rm app sh -c "/opt/operately/bin/migrate"
Terminal window
docker compose up --wait --detach