Storage
Track Folder — v0.9.7 and v0.9.8
Link a recordings folder and run Alloy Edge v0.9.7 or v0.9.8 (current)
This guide covers Alloy Edge v0.9.7 and v0.9.8, the current release. The commands and configuration are the same in both versions.
If your recorder already writes MCAP files to a folder, Alloy Edge can watch it and upload completed recordings to Storage. The device needs outbound HTTPS on port 443, but no inbound port.
Need a recorder as well? Docker provides one in a container. The Docker setup lists its own image versions. From v0.9.8, Alloy Edge images use the same version number as the binary release.
1. Download the binary
Open Storage → Devices → Add device. The binary setup opens by default. Select
the device's operating system and architecture, then download the version marked
latest. The downloaded filename includes the operating system and architecture;
install it as alloy-edge before using the commands below. On Linux, the
standalone binary requires glibc 2.31 or newer. For a Linux x86_64 download:
mkdir -p "$HOME/.local/bin"
install -m 755 "$HOME/Downloads/alloy-edge-linux-amd64" "$HOME/.local/bin/alloy-edge"
export PATH="$HOME/.local/bin:$PATH"Use the downloaded filename for your selected platform. The setup panel shows
the matching macOS or Windows install command. On Linux, you can instead select
the .deb package and install it with sudo dpkg -i alloy-edge_*.deb.
2. Link the recordings folder
Copy the organisation key from the Provisioning Key tab, then replace the
folder path with your recordings folder. link creates the folder if it does
not exist. The CLI reads the key from the environment:
export ALLOY_PROVISIONING_KEY="paste-key-here"
alloy-edge link --track-folder /data/recordingsIf the key is already in the environment, you can read it through stdin to avoid putting it in process arguments:
printenv ALLOY_PROVISIONING_KEY | alloy-edge link \
--provisioning-key-stdin \
--track-folder /data/recordingslink creates the configuration, checks the credential with Alloy, and waits
up to 60 seconds for approval. It prints the matching run command, but does
not start a background process. If approval takes longer, the installation
remains pending; you can still start run and approve it afterward.
| Installation | Link option | Configuration and state |
|---|---|---|
| User (default) | no scope option | ~/.config/alloy-edge and ~/.local/state/alloy-edge |
| Folder-local | --local | /data/recordings/.alloy |
| System | --system (run link with sudo) | /etc/alloy-edge and /var/lib/alloy-edge |
3. Run Alloy Edge
For the default user installation:
alloy-edge run --userKeep run in the foreground under a supervisor you control. For other scopes,
run alloy-edge run --local from the tracked folder or
sudo alloy-edge run --system. To check the installation without backend calls
or child processes, run:
alloy-edge run --user --dry-runOn Linux, alloy-edge config --user systemd print previews a service unit;
alloy-edge config --user systemd install installs and starts it. Use the scope
selected during link.
4. Approve and verify
If the device is pending, open Storage → Devices and select Approve. The manager then receives its device key and starts syncing. Last seen updates. Select the device, then select View data to see its uploaded recordings.
For retention or pipeline settings, see the
v0.9.7 and v0.9.8 Configuration reference.
If an older installation has input_dir in edge-sync.yaml, follow the
tracked-folder migration
before starting v0.9.7 or later.