Skip to content

Releases

OmniSync 0.14.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 10:05
83872a1

Breaking changes and upgrade notes

Upgrading from 0.13.0 needs no action for a Docker install: the installer
(install.sh update) or docker compose pull && up -d migrates the database
on start and keeps a copy of it from before. These changes can still surprise
you; each says what to do.

  • Database migrations 0012 and 0013 run on start. 0012 makes the profile
    required on sync jobs and conflict records and removes any leftover rows
    without one (none are written since 0.12.0; the count is logged). 0013
    adds the warnings column to sync jobs. Action: none; the pre-migration
    copy of the database keeps the old rows if you ever need them.
  • More files can show up as conflicts. A file that differs and has a
    readable modification time on one side only is now a conflict instead of
    "modified" on that side, so a push or pull no longer overwrites it.
    Action: resolve these in Conflicts like any other.
  • Local symbolic links are never written through. Pulls and two-way
    syncs leave a local link (and its target) as they are and report the
    remote item they skipped; per-file actions, conflict resolution, trash
    and backup restores refuse a path that goes through a link. Action:
    replace a link with the real folder if you want the remote content there.
  • The web UI and the terminal UI ask before Stop, Stop all and enabling
    or disabling a profile.
    The API and osync commands are unchanged.
    Action: none.
  • API clients: GET /profiles/{slug}/trash answers 503
    service_unavailable (not 502) while rclone is not running, and jobs, the
    preview and the diff have a new warnings list. Action: treat 503 as
    "try again", and ignore or show warnings.
  • Running from source: backend/requirements.lock is now
    backend/requirements-lock.txt, and building osync needs Go 1.26 or
    newer. Action: reinstall with pip install -r backend/requirements-lock.txt.

Added

  • The installer uses a GitHub token when you have one. With GH_TOKEN
    or GITHUB_TOKEN set, its "latest release" question to api.github.com
    sends it, so a shared address (a CI runner, a company network) no longer
    runs into GitHub's 60 requests an hour. The token goes to
    api.github.com only, never onto a command line or into the output.
    See install.sh --help and Operations.

Changed

  • backend/requirements.lock is now backend/requirements-lock.txt.
    Dependabot reads only requirement files named *.txt, so it could not
    open the lock that requirements-dev.txt includes, and the backend's
    dependency updates stopped. A non-Docker install reinstalls from the new
    name (pip install -r backend/requirements-lock.txt).

  • The backend image's Python dependencies are updated. FastAPI
    0.141.1 → 0.143.0, Pydantic 2.13.5 → 2.14.1 (pydantic-core 2.50.1),
    SQLAlchemy 2.1.1 → 2.1.4, cryptography 50.0.1 → 50.0.2 (wheels built
    with OpenSSL 4.0.3), uvloop 0.22.1 → 0.23.0, websockets 17.1 → 17.2,
    httptools 0.8.0 → 0.9.0, aiohttp 3.14.3 → 3.14.5 with multidict 6.9.1 →
    7.1.0, and patch releases of charset-normalizer, MarkupSafe, pycparser
    and python-dotenv. FastAPI 0.142 added a dependency on
    opentelemetry-api, which the lock now pins (1.45.1) instead of letting
    the image build pick any version; FastAPI sets up no telemetry exporter
    unless asked to (FASTAPI_OTEL_AUTO_CONFIGURE), and OmniSync does not
    ask. aiohttp comes in only through pywebpush, whose synchronous sender
    OmniSync uses. requirements.txt now requires FastAPI 0.143, Pydantic
    2.14 and SQLAlchemy 2.1.4 or newer. From Dependabot pull requests #56
    and #60.

  • A differing file with a modification time on one side only is a
    conflict.
    When rclone gave a readable modification time for only one
    copy of a file that differs, the diff counted it as changed on that side
    ("modified local" or "modified remote"), although nothing showed that the
    other copy was unchanged, so a push or pull could overwrite a change. It
    is now listed as a conflict, for you to review, like a file with no
    readable time on either side.

  • Every sync job and conflict record belongs to a profile. A database
    migration (0012) makes the profile required on sync jobs and conflict
    records. OmniSync has always set it since 0.12.0, and deleting a profile
    deletes its history, so a row without a profile could be neither shown
    under a profile nor acted on. Any such leftover rows are removed (with
    their file changes and errors; the count is logged), and the copy of the
    database taken before migrating still has them.

  • Jobs, the sync preview and the diff report names a sync cannot carry
    as they are.
    A new warnings list (code, count, up to 20 paths)
    on SyncJobResponse, SyncPreviewResponse and DiffResponse names
    local files whose names exist in two spellings equal after Unicode
    normalisation (rclone syncs only one of them), names that are not valid
    UTF-8, and symbolic links that share a name with a remote file or
    folder. A job with warnings shows as "Completed with warnings" in the
    web UI, its detail lists them, the sync confirmation and the diff show
    them before anything runs, the log has one line per kind, and the
    completed notification becomes a warning. The terminal UI shows them
    too: "warnings" in the job lists, "completed with warnings" and the
    warnings in a job's detail, and the warnings in the sync confirmation
    and the diff tab. See
    File names and links.

  • The terminal UI asks before "Stop all" and before enabling or
    disabling a profile.
    On the Dashboard, s lists the running syncs and
    stops exactly those after y; in Profiles, t says whether it will
    enable or disable the profile and what that does. n or Esc sends
    nothing, as in the other prompts. The flash now says "Profile enabled"
    or "Profile disabled" instead of "Profile toggled".

  • The web UI type-checks against Node.js 24. Its @types/node moves
    from Node 20's types to Node 24's (^24), matching the Node 24 LTS the
    image, CI and the development setup run on, so the compiler knows the
    APIs the server actually has.

  • Building osync from source needs Go 1.26 or newer. bubbletea 2.0.10
    requires it; go fetches the pinned 1.27.2 toolchain by itself, and the
    released binaries and images are unaffected.

  • The web UI asks before Stop and before enabling or disabling a
    profile,
    as the terminal UI does. The Dashboard's Stop names every
    profile whose sync is running and stops only those once you confirm; the
    profile page's Stop names its profile. The on/off switch on a profile
    card says what changes: disabling stops the profile's automatic syncs
    (and a running sync), enabling starts them again (or notes that a pause of
    yours still holds). These notes follow the profile's current state while
    the dialog is open. Cancel or Escape sends nothing.

  • The web UI runs on Next.js 16.4.0.

Fixed

  • A failed desktop notification shows its real error. The notifiers
    read the tool's error output as strict UTF-8, so on a Windows host in a
    language other than English (PowerShell writes in the console code page)
    the error became a text-decoding error instead of the reason. Undecodable
    bytes are now replaced, on every platform.

  • Linux desktop notifications about files starting with - arrive.
    notify-send read a title or body starting with - (a file named
    -draft.txt) as an option and refused it, so the notification was lost.
    The text now follows --.

  • The sync test probes the folder the profile syncs. For remotes tested
    through rclone (SFTP, SMB, local and the like), the leading / of the
    remote path was dropped, so server:/srv/data was tested as
    server:srv/data under the remote's home folder, where the test could
    create folders that were never meant to exist. The rclone test now uses
    the path exactly as the sync does. The Google Drive, Dropbox and OneDrive
    tests also ignore a trailing or doubled / now.

  • A sync test that leaves its test file behind fails. When the
    .omnisync-test-… file could not be deleted from the remote, the test
    still passed and the file stayed there: rclone's failure was ignored, and
    the Google Drive, Dropbox and OneDrive deletes only failed when the
    provider could not be reached at all, not when it refused the delete (or,
    for Google Drive, when the folder could not be looked up). The test now
    fails at the cleanup step ("The test file could not be removed from the
    remote.") unless the file is confirmed gone; "not found" counts as gone.
    The log names the file. The Google Drive cleanup no longer creates the
    folder it looks into.

  • The trash list says when rclone is not available. GET
    /profiles/{slug}/trash answered 502 rclone_failed (and logged a crash)
    while the backend's rclone service was not running, for example during
    start-up; it now answers 503 service_unavailable, like restoring and
    deleting from the trash.

  • One trash restore that cannot keep the file in its place no longer
    stops the others.
    If the trash already held a version of a file for
    every second of the hour after a restore, restoring it raised an
    internal error that ended the whole batch with a 500. That file is now
    reported as failed (nothing moved, with a message that says why) and the
    other selected files are still restored.

  • A hung helper process no longer stays behind. When rclone did not
    answer within its time limit in the network check (GET
    /health/network) or while storing a password, OmniSync gave up waiting
    but left the process running; each check could add one. Desktop
    notifiers that hang were killed but not reaped. All of them are now
    killed and reaped when their time is up or the request is cancelled.

  • **A push or pull no longe...

Read more

OmniSync 0.13.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 18:26
d096017

Changed

  • The Logs page pages into the rotated log files. GET /logs goes on
    past the start of omnisync.log into omnisync.log.1, .2, ... in
    order, reading each from the end only as far as the page needs; the level
    and category filters apply across all of them. The web Logs page and the
    terminal UI's Logs view now reach every entry still on disk, and
    osync logs --skip N pages back too.
  • The audit trail names the browser for web UI actions. The web UI's
    proxy now sends the browser's address in an X-OmniSync-Client header,
    signed with the API token (HMAC over the address and the time, valid for
    60 seconds). The backend records it as client (with the web UI
    container as via) only when the request has the right token and the
    signature checks out; authentication and throttling still use the TCP
    peer. See The audit trail.
  • The wizard and the remote edit check what the import checks.
    Creating a remote (POST /wizard/create) or editing one (PUT
    /remotes/{name}) now refuses, like the rclone.conf import, file settings
    such as SFTP's key_file that point into OmniSync's data directory or
    contain $, and crypt, alias or union style remotes that point at a
    local remote or wrap a local path, directly or through a chain
    (422 invalid_params). The checks are shared with the import
    (services/rclone_import.py).
  • Leftover .partial files are cleaned up. When a push, pull or
    two-way sync succeeds after a run that failed, was stopped or was
    killed, rclone's leftover in-progress files of that run
    (<name>.<8 hex>.partial, the pattern every sync already skips) are
    deleted from both of the profile's folders, if they are older than the
    run's start and outside the trash. Nothing else is touched (a file named
    notes.partial stays). The log records how many were removed, with the
    job id.
  • The web UI image runs on Node.js 24 LTS (24.21.0), up from Node 22,
    and takes Debian's security updates at build time like the backend image.
    CI builds and tests the web UI on Node 24 too.
  • CI tests the installer end to end. A new job builds both images from
    the pull request and runs scripts/install.sh against them in a
    temporary folder on non-default ports: install, status, a second run
    (up to date) and uninstall --purge --yes, checking the health checks,
    the API token and the web UI's path to the API. The installer's
    test-only OMNISYNC_INSTALL_TEST_RELEASE_DIR (a local stand-in for the
    release, see CONTRIBUTING.md) makes this possible without downloads.

Removed

  • Compatibility with builds before 0.12.0. No installation predates
    0.12.0, so the paths that only served older installs, data or clients
    are gone; a 0.12.0 install behaves as before.
    • Database: migrations 0001 to 0010 are squashed into one baseline that
      creates the 0.12.0 schema. It keeps the ID 0010_backups, so 0.12.0
      databases need no migration for it; the adoption of pre-Alembic
      databases is gone. Migration 0011 drops sync_profiles.backup_dir.
    • Config: a single-profile config.toml is no longer turned into a
      "Default" profile, and a profile's backup_dir no longer into a
      "Legacy backup" target. backup_dir leaves the profile API.
    • Backups: mirror version folders without a manifest are no longer
      listed or restorable as "Before this backup" snapshots, and the
      current pseudo snapshot is gone. SnapshotResponse.kind and
      RestorePreviewResponse.exact are removed (osync and the TUI show a
      Latest column instead of Kind). Pre-rename .gsync-* markers in
      backup targets are no longer cleaned up.
    • API: the single-engine /sync/* routes that answered 410
      (route_removed) now get the generic 404; GET /sync/status/aggregate
      stays. GET /health no longer sends the always-null
      remote_accessible, and always sends version.
    • Installer: releases must attach compose.yml; the copy for 0.11.0 is
      gone and the oldest installable release is 0.12.0.
    • Web UI: the sidebar state and the language are no longer migrated
      from localStorage.

Fixed

  • A long backup snapshot list scrolls inside its card. With five or more
    snapshots the list grew past its card instead of scrolling; capped scroll
    areas (the snapshot and backup job lists, the notification history, the
    help dialog) now scroll at any length, and every row stays reachable with
    the keyboard.
  • Counts read correctly in every language. "1 conflicts" and the like
    are gone: the differences summary, the selection count, the file action
    toasts, the sync progress and every other string with a count use the
    plural form for that number, in English, German and Persian.
  • The profile page fits a phone. At 390 px wide the profile name wraps
    instead of being cut off (in Persian it lost its start), the badges move
    below it, and the tab list starts at its first tab and scrolls to the
    active one.
  • The status cards are named for what they show. The summary card was
    titled "Dashboard" on the dashboard and on every profile; it is now "Sync
    status" on the dashboard and "Status" on a profile.

Install

Install or update with the installer (it shows what it does with
--dry-run; download install.sh below to read it first):

curl -fsSL https://raw.githubusercontent.com/pan-fire/OmniSync/main/scripts/install.sh | bash -s -- --version 0.13.0

It downloads this release's compose.yml, checks it against
SHA256SUMS, writes the .env and starts OmniSync; run again,
it updates (after a backup of the data volume). By hand:

docker pull ghcr.io/pan-fire/omnisync-backend:0.13.0
docker pull ghcr.io/pan-fire/omnisync-web:0.13.0

The images are signed with cosign (keyless) and carry an SBOM and
provenance attestation.

The osync terminal client for your platform is attached below;
verify it with sha256sum -c SHA256SUMS --ignore-missing and the
checksums' signature (SHA256SUMS.sigstore.json) with cosign.
compose.yml and install.sh are listed in the same checksums.
See the README's Install section for the installer and a compose
file, and "Verify a release" for the commands.

OmniSync 0.12.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 10:41
ef371c1

Added

  • One-line installer. curl -fsSL https://raw.githubusercontent.com/pan-fire/OmniSync/main/scripts/install.sh | bash checks Docker and the ports, downloads the release's compose file
    and checks it against SHA256SUMS (and their signature with cosign),
    writes a .env with a generated API token (mode 0600), optionally a web
    UI password hash, starts OmniSync and waits for its health checks. Run
    again it updates, after a backup of the data volume, and rolls back if
    the new version is not healthy; status and uninstall (--purge) too,
    --osync for the terminal client, --dry-run to see the steps. It also
    explains how to move an install built from the source over without
    losing data. Releases now attach compose.yml (from deploy/compose.yml,
    which adds OMNISYNC_API_PORT and OMNISYNC_WEB_PORT) and install.sh,
    both listed in the signed SHA256SUMS. See docs/gem/operations.md.
  • One log for the whole backend. Besides OmniSync's own lines, the log
    file and docker compose logs backend now get uvicorn's start, stop and
    errors, warnings and errors of the libraries OmniSync uses, and every
    unhandled exception with its traceback (in a request, a background task
    or a thread). The Logs page shows a traceback under the entry's
    Details; osync logs prints it indented under the entry. See
    Logs.
  • Audit trail. User actions (syncs and pauses, profile, remote and
    backup target changes, backup runs and restores, trash and conflict
    actions, notification settings, log level changes, rejected API tokens)
    are recorded in the log by backend.audit, with the outcome, the request
    id and the client address, names and ids only. The Logs page, the
    terminal UI's Logs view (c) and osync logs --category audit|errors
    filter by category; GET /logs takes category=audit|errors and returns
    each entry's logger, request_id and exc.
  • Request ids. Every API answer carries an X-Request-ID header and
    every error answer a request_id; the log lines written for the request
    carry the same id. Server error messages in the web UI and the terminal UI
    end in the id, so a problem can be found in the log.
  • JSON log lines with OMNISYNC_LOG_FORMAT=json (ts, level,
    logger, msg, exc, request_id, fields), for Loki, Elastic and
    other log shippers. OMNISYNC_LOG_MAX_BYTES and OMNISYNC_LOG_BACKUPS
    set the rotation (still 5 MB and 3 files by default);
    OMNISYNC_LOG_ACCESS=1 also writes the access log to the file.
  • Web UI server events (refused requests, logins, failed and
    throttled logins, logouts) are logged as JSON lines on its standard
    output (docker compose logs frontend), without passwords, session ids
    or query strings, and limited to 20 lines a minute per event type.

Changed

  • Secrets are masked in every log line, on both outputs and in
    tracebacks: the API token, Bearer tokens, OAuth tokens, secret-named
    name=value and JSON pairs, credentials in URLs, backup passphrases,
    notification passwords and tokens. Before, only rclone command lines and
    errors were masked.
  • The log file is created owner-only (mode 0600); an existing file and its
    rotated copies are tightened on the next start.
  • At log level DEBUG, SQL statements and outgoing HTTP request URLs stay
    out of the log.
  • A rejected API token is logged as the audit event auth.token_rejected
    (still at most once per client address and minute) instead of a
    backend.security warning.

Install

Install or update with the installer (it shows what it does with
--dry-run; download install.sh below to read it first):

curl -fsSL https://raw.githubusercontent.com/pan-fire/OmniSync/main/scripts/install.sh | bash -s -- --version 0.12.0

It downloads this release's compose.yml, checks it against
SHA256SUMS, writes the .env and starts OmniSync; run again,
it updates (after a backup of the data volume). By hand:

docker pull ghcr.io/pan-fire/omnisync-backend:0.12.0
docker pull ghcr.io/pan-fire/omnisync-web:0.12.0

The images are signed with cosign (keyless) and carry an SBOM and
provenance attestation.

The osync terminal client for your platform is attached below;
verify it with sha256sum -c SHA256SUMS --ignore-missing and the
checksums' signature (SHA256SUMS.sigstore.json) with cosign.
compose.yml and install.sh are listed in the same checksums.
See the README's Install section for the installer and a compose
file, and "Verify a release" for the commands.