Skip to content

Upgrading and releases

Aulteran edited this page Nov 6, 2026 · 2 revisions

Branches

Branch Purpose
dev Default branch. Feature and fix pull requests merge here after full CI.
beta Pull requests from dev. Merging publishes the beta images.
release Pull requests from beta or dev. Merging publishes the release images and a GitHub Release.

Publishing runs only on pushes to beta and release, and each publishing job waits for approval in its GitHub environment.

Images

Images are published to GitHub Container Registry under ghcr.io/aulteran/filecanopy-{postgres,api,web,converter,ocr}.

Tag Meaning
beta Latest beta build.
beta-<short sha> A specific beta build.
1.0.0 (and v1.0.0) First release, once published. Also latest for the release.

beta is a moving tag. For production, pin an explicit version (1.0.0, or a beta-<sha> tag) in FILECANOPY_VERSION. The first beta images are amd64 only. ARM64 is not shipped.

Upgrade steps

  1. Back up first. Take a disaster-recovery backup and keep it until the new version works. See Backups.
  2. Read the release notes, especially migration steps and known risks.
  3. Change the version in .env:
    FILECANOPY_VERSION=1.0.0
  4. Pull and start:
    docker compose pull
    docker compose up -d --wait
  5. Check. The migrate service runs first and must succeed. Then sign in, open a few files, and check the activity log.

Migrations run one at a time under a database lock. Your files are not changed by an upgrade.

Rolling back

There is no automatic downgrade. If an upgrade goes wrong, restore the backup you took in step 1 into an empty installation running the old version. A backup made by a newer release cannot be restored into an older one.

Restarts

docker compose restart, a reboot, or a Docker update needs nothing. Data lives in library/, app-data/ and the database volume, not in the containers. Never delete volumes to fix an upgrade in place.

Known limits

  • Images are not yet byte-reproducible, and the licence review is still open.
  • The Swarm variant is tested on a single node only.
  • Native Proxmox LXC is deferred. Do not install it from a helper script.
  • Release notes will list the current limits before any stable release.

Clone this wiki locally