Documentation

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

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.

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.