Repository navigation
Releases
OmniSync 0.14.0
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 andosynccommands are unchanged.
Action: none. - API clients:
GET /profiles/{slug}/trashanswers 503
service_unavailable(not 502) while rclone is not running, and jobs, the
preview and the diff have a newwarningslist. Action: treat 503 as
"try again", and ignore or showwarnings. - Running from source:
backend/requirements.lockis now
backend/requirements-lock.txt, and buildingosyncneeds Go 1.26 or
newer. Action: reinstall withpip install -r backend/requirements-lock.txt.
Added
- The installer uses a GitHub token when you have one. With
GH_TOKEN
orGITHUB_TOKENset, its "latest release" question toapi.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.comonly, never onto a command line or into the output.
Seeinstall.sh --helpand Operations.
Changed
-
backend/requirements.lockis nowbackend/requirements-lock.txt.
Dependabot reads only requirement files named*.txt, so it could not
open the lock thatrequirements-dev.txtincludes, 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.txtnow 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 newwarningslist (code,count, up to 20paths)
onSyncJobResponse,SyncPreviewResponseandDiffResponsenames
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,slists the running syncs and
stops exactly those aftery; in Profiles,tsays whether it will
enable or disable the profile and what that does.norEscsends
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/nodemoves
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;gofetches 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-sendread 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, soserver:/srv/datawas tested as
server:srv/dataunder 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 502rclone_failed(and logged a crash)
while the backend's rclone service was not running, for example during
start-up; it now answers 503service_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
rclonedid 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...
OmniSync 0.13.0
Changed
- The Logs page pages into the rotated log files. GET /logs goes on
past the start ofomnisync.logintoomnisync.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 Npages back too. - The audit trail names the browser for web UI actions. The web UI's
proxy now sends the browser's address in anX-OmniSync-Clientheader,
signed with the API token (HMAC over the address and the time, valid for
60 seconds). The backend records it asclient(with the web UI
container asvia) 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'skey_filethat point into OmniSync's data directory or
contain$, and crypt, alias or union style remotes that point at a
localremote or wrap a local path, directly or through a chain
(422invalid_params). The checks are shared with the import
(services/rclone_import.py). - Leftover
.partialfiles 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.partialstays). 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 runsscripts/install.shagainst them in a
temporary folder on non-default ports: install,status, a second run
(up to date) anduninstall --purge --yes, checking the health checks,
the API token and the web UI's path to the API. The installer's
test-onlyOMNISYNC_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 ID0010_backups, so 0.12.0
databases need no migration for it; the adoption of pre-Alembic
databases is gone. Migration 0011 dropssync_profiles.backup_dir. - Config: a single-profile
config.tomlis no longer turned into a
"Default" profile, and a profile'sbackup_dirno longer into a
"Legacy backup" target.backup_dirleaves the profile API. - Backups: mirror version folders without a manifest are no longer
listed or restorable as "Before this backup" snapshots, and the
currentpseudo snapshot is gone.SnapshotResponse.kindand
RestorePreviewResponse.exactare 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 /healthno longer sends the always-null
remote_accessible, and always sendsversion. - 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
fromlocalStorage.
- Database: migrations 0001 to 0010 are squashed into one baseline that
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.0It 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.0The 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
Added
- One-line installer.
curl -fsSL https://raw.githubusercontent.com/pan-fire/OmniSync/main/scripts/install.sh | bashchecks Docker and the ports, downloads the release's compose file
and checks it againstSHA256SUMS(and their signature with cosign),
writes a.envwith 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;statusanduninstall(--purge) too,
--osyncfor the terminal client,--dry-runto see the steps. It also
explains how to move an install built from the source over without
losing data. Releases now attachcompose.yml(fromdeploy/compose.yml,
which addsOMNISYNC_API_PORTandOMNISYNC_WEB_PORT) andinstall.sh,
both listed in the signedSHA256SUMS. Seedocs/gem/operations.md. - One log for the whole backend. Besides OmniSync's own lines, the log
file anddocker compose logs backendnow 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 logsprints 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 bybackend.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) andosync logs --category audit|errors
filter by category;GET /logstakescategory=audit|errorsand returns
each entry'slogger,request_idandexc. - Request ids. Every API answer carries an
X-Request-IDheader and
every error answer arequest_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_BYTESandOMNISYNC_LOG_BACKUPS
set the rotation (still 5 MB and 3 files by default);
OMNISYNC_LOG_ACCESS=1also 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=valueand 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.securitywarning.
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.0It 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.0The 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.