Updates
The Mac and Windows apps update themselves; a Linux server can too, once you turn it on. A server also updates from the app, from the terminal, or in Package Center.
Contents
The Mac, Windows and Linux apps
On a Mac the app checks at launch and once a day. A notification says when an update is available, and a dot on the menu bar icon stays until it is installed; the menu bar menu then names the new version and opens Install and Relaunch. If the update is still waiting three days later, its window opens when the app next starts, or a notification comes again. Turn the check off in Settings, General, Check for updates automatically. Check by hand with Check for Updates… in the menu bar menu.
On Windows the app checks half a minute after it starts and then every six hours. A notification says when an update is available, and a dot on the tray icon stays until it is installed. If it is still waiting three days later, a small window offers it when the app next starts, or a notification comes again. Install and Relaunch is in Settings, General. While an update waits the tray menu names it and opens that button; otherwise it has Check for Updates… (HyperDrop on Windows).
On Linux the app updates with the rest of the system from the package repository it was installed from (sudo apt upgrade, sudo dnf upgrade, or your software centre), and has no update check of its own (HyperDrop on Linux).
The command line
Installed from the package repository on Debian, Ubuntu, Fedora or RHEL, the command line updates with the rest of the system (sudo apt upgrade, sudo dnf upgrade). That update can arrive before the server's: a command line ahead of its server by no more than the rule allows keeps working (the rule). Installed from a download, it does not update itself: install the newer build from the command line page over the old one. The copy inside the Mac, Windows and Linux apps updates with the app.
HyperDrop for Android
Installed from the Android download page, the app checks that page's release list once a day. When a newer version is out, Settings shows HyperDrop <version> is available with Open Download Page: download the new APK and install it over the old one. Accounts and settings stay. When the app is too old for a server, the version notice says Update HyperDrop from gethyperdrop.com. with the same button (details).
The server
- Automatic. With automatic updates on, a Linux server checks once a day and installs a newer release once its signature checks out. It is away for a moment while it restarts.
- Off by default. A new server starts with them off unless you tick Install server updates automatically when Server Management sets it up (or install with
HYPERDROP_AUTO_UPDATE=1). An administrator switches them with Install Server Updates Automatically on the server's card in the Servers pane,hyperdrop server auto-update on(oroff), or Automatic updates… on the server's row in Server Management (signed in as an administrator or over the server's SSH login). - By hand. A NAS, a server with automatic updates off and one whose update failed are updated by an administrator, and the app says when: the Servers pane shows Update Server… with what the update changes, and the menu bar shows Server Update Available….
Linux: Update Server
A Linux server updates over its own API, with no SSH. Open Servers, the server, then Update Server…. It asks for the admin password and a two-factor code every time, since the update runs as root. The box swaps the new server in and puts the old one back if it does not serve; the server is away for seconds.
From a terminal, signed in as an administrator:
hyperdrop server update
In the Mac, Windows and Linux apps the command bundled with the app sends the server it carries. The downloaded command line has none: add --binary with the .gz from the server page, its .sig beside it. A version older than the one running is refused.
Synology NAS: Package Center
Update Server refuses on a NAS. With the package source https://gethyperdrop.com/synology/ added, each version appears under Package Center, Installed, HyperDrop, Update. Installed by hand: download the newer package from the Synology page and use Manual Install over the old one. Shares, links and settings are kept.
Until Package Center lists a new version, the app and the command line keep working with a server within the version rule (Version mismatch).
Server Management
Server Management reads its release list at launch. On macOS, Windows and the Linux .zip, a banner shows the notes and Update now, which installs it and relaunches; the terminal form is hyperdrop-server-management update. A .deb or .rpm never replaces itself: once the package repository is added it updates with the rest of the system, and the banner shows the command that installs it now (sudo apt update && sudo apt install --only-upgrade hyperdrop-server-management or sudo dnf upgrade --refresh hyperdrop-server-management). Without the repository, install the next downloaded package over the old one.
Version mismatch
An app and a server work together when the first number of their versions is the same and the second is at most two apart: an app on 1.9 works with servers 1.7 to 1.11. The third number never matters. A feature the server is too old for is refused by name, and everything else keeps working. Further apart, the app refuses to share and says which side is behind. Nothing is lost.
- Server older: an administrator updates it as above; a regular user is told to ask the administrator.
- Server newer: update the app with Check for Updates…, or update the command line. Installed from the package repository, it updates with the rest of the system.
- Command line too new for its server (the system updated it before the administrator updated the server): ask the administrator to update the server. To keep working until then, download the older package from the command line page and hold it. On Debian and Ubuntu:
sudo apt install --allow-downgrades ./hyperdrop_<version>-<revision>_amd64.deb(ARM64:_arm64.deb), thensudo apt-mark hold hyperdrop. On Fedora:sudo dnf downgrade ./hyperdrop-<version>-<revision>.x86_64.rpm(ARM64:.aarch64.rpm), thensudo dnf versionlock add hyperdrop; on RHEL and Rocky Linux, runsudo dnf install 'dnf-command(versionlock)'first. Release the hold once the server is updated:sudo apt-mark unhold hyperdrop, orsudo dnf versionlock delete hyperdrop.
The app offers an update that still works with its server, as far ahead as the rule above allows, and holds one further ahead; sharing keeps working. A user sees a notice in Settings, General; Update Anyway… installs it, and sharing then pauses until an administrator updates the server. An administrator is offered that update with a reminder to run Update Server right after; sharing pauses in between.