Skip to content

sync-server-v1.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 11:15
9ebe9ce

Before updating: this version upgrades the database in /data so that 1.1.2 can no longer open it, and the copy it saves in /data/backups/ is the way back.

Added

  • Devices can keep their backups on the server.
  • My account lists the device backups to download, delete or upload.
  • An Activity page for each account shows what its devices sent and received, hour by hour, for the last 30 days.
  • The account pages show how much storage the account uses, split into library, covers and fonts.
  • My account shows a code, also as a QR code, that connects a device to the account without a password.
  • Adding an account ends on a page with what to hand over: the address, the username and a code for the first device.
  • People can delete their own account on My account.
  • Admins can remove a device from an account they manage.
  • A password reset gives the person a code, and they choose their own password with it.
  • Invites that are still waiting are listed with who they are for.
  • An invite can be sent as a link.
  • The web page tells admins when a newer server version is out, and the log says it once per version.
  • The web page and the log name devices that were refused because their app version doesn't match the server.
  • The log says what happened to accounts and devices, such as sign-ups, removals and refusals.

Changed

  • Android 3.9.0 and desktop 1.6.0 need this version, and older apps keep working with it.
  • Disabling or removing an account, and removing a device, ask for confirmation in a dialog first.
  • A removed device's last sync time stays on the account.
  • Before each database upgrade the server saves a copy of the old database in /data/backups/ and keeps the latest three.
  • The image's health check fails when the server can't read its database.
  • reset-password names the admin accounts when the username doesn't match one.

Improved

  • When the server can't start, for example because it can't write its data directory, the log says how to fix it.
  • Forms show their rules up front and mark the field that is wrong.
  • Sync times older than a week read as dates.
  • Devices silent for a month are marked inactive.
  • A wrong address or a failing page shows a page with a way back instead of a blank one.

Performance

  • Many uploads at once no longer stop the server answering other requests.
  • Reading records no longer waits for other devices' writes.
  • A push writes about half as much to disk.
  • The hourly clean-up no longer reads every record of a large library.
  • Space freed by deleting an account goes back to the disk.

Tip

The image is ghcr.io/pa2x2/katari-sync-server:1.2.0. Running a sync server explains how to update.