Skip to main content

Install UAVcast-Pro

Install in one command
curl -fsSL https://install.uavmatrix.com | sudo bash

Run it on the companion computer (64-bit Raspberry Pi OS, Debian or Ubuntu, with internet). The steps below explain what it does and how to prepare the device.

UAVcast-Pro installs with one command on any 64-bit, Debian-based Linux system: Raspberry Pi OS, Debian or Ubuntu, on arm64 or amd64. The installer downloads the latest release, installs its dependencies and services, and prints the address of the web interface when it's done. It takes about 10 minutes, or about 30 minutes on a Raspberry Pi Zero 2 W, 2 or 3.

Before you begin​

  • A 64-bit OS on the companion computer. Check with uname -m: it must print aarch64 or x86_64.
  • At least 500 MB free on the root disk (df -h /).
  • Internet access on the device during the install.
  • SSH or a keyboard and screen on the device, and a user with sudo rights.

Step 1: Flash the operating system​

  1. Open Raspberry Pi Imager and choose your Pi model.
  2. Choose Raspberry Pi OS (64-bit). The Lite version is enough and leaves more CPU for video.
  3. Open the OS customisation settings. Set a hostname, a username and password, your Wi-Fi network and country, and enable SSH.
  4. Write the card, put it in the Pi and power it up.

Ubuntu Server 64-bit for Raspberry Pi also works.

Then log in over SSH and update the system:

Terminal
sudo apt update && sudo apt full-upgrade -y

Step 2: Run the installer​

On the drone:

curl -fsSL https://install.uavmatrix.com | sudo bash

The installer:

  1. Detects the architecture and downloads the matching release to /opt/uavcast-pro.
  2. Installs the system packages it needs: NetworkManager, ModemManager, GStreamer, v4l-utils, Redis, Python and more.
  3. On a Raspberry Pi, frees the GPIO UART for the flight controller (removes the serial console from cmdline.txt, moves Bluetooth off the UART) and raises the camera memory pool for two-camera setups. Your original config.txt and cmdline.txt are backed up first.
  4. Installs ZeroTier, Tailscale, mavlink-router and MediaMTX.
  5. Installs and starts the UAVcast-Pro services.
  6. Checks that the key tools are present and prints the web address.

When it finishes you see:

Text
✅ Installation completed successfully!

Please reboot your device to complete the installation.

To access the UAVcast-Pro web interface, open your browser and navigate to:
http://192.168.1.50

Reboot so the UART and camera changes take effect:

Terminal
sudo reboot
Let slow boards finish

On a Pi Zero 2 W the progress bar can sit still for minutes while apt works. Don't start a second install: the installer refuses to run twice and a second copy only slows the first one down. The full log is in /opt/uavcast-pro/installer.log.

Install a specific version​

List the versions available for your architecture:

Terminal
curl -fsSL https://install.uavmatrix.com | bash -s -- -l

Install one of them with -b:

Terminal
curl -fsSL https://install.uavmatrix.com | sudo bash -s -- -b 6.5.2

You can also switch versions later from the web interface. See Update UAVcast-Pro.

Step 3: Open the web interface​

On a computer on the same network, open a browser and go to the address the installer printed, for example http://192.168.1.50. The web interface runs on port 80.

If you don't know the address:

  • Try the hostname you set in Raspberry Pi Imager, for example http://raspberrypi.local. This needs mDNS, which works on most home networks and on macOS, Linux and Windows 10 or newer.
  • Look for the device in your router's list of connected clients.
  • On the device, run hostname -I.

The first page you see is Application, because UAVcast-Pro has no license yet. The sidebar stays greyed out (Feature requires license) until the device is licensed.

Step 4: Activate your license​

On Application → License Manager, paste your key into Enter License Key and select Validate. The device needs internet access for this. The full flow, device slots and moving a license are covered in Licensing & activation.

Step 5: Create an admin user​

A fresh install has no users and no login: anyone who can reach the web interface has full admin access. Create an admin account before the drone goes on a shared network or the internet.

  1. Go to Users in the sidebar (under Management).
  2. Select Add User.
  3. Enter a Username (at least 3 characters) and a Password (at least 6 characters). The first user is always Admin.
  4. Select Create User.

From now on the web interface asks for a login. Sessions last 7 days. See Users & access for read-only accounts.

What gets installed​

ItemLocation
Application, binaries, database (uavcast.db), logs/opt/uavcast-pro
Installer log/opt/uavcast-pro/installer.log
systemd servicesuavcast-web, uavcast-factory, mavlink-manager, uavcast-camera, uavcast-ntrip, uavcast-dns, mediamtx, internet-check
MAVLink router config/etc/mavlink-router/main.conf (generated by UAVcast-Pro, don't edit)

Check that the web service is running:

Terminal
sudo systemctl status uavcast-web

Uninstall​

The installer binary has an uninstall mode. It stops and removes all UAVcast-Pro services, the settings database and the program files in /opt/uavcast-pro, and purges ZeroTier, Tailscale and Redis if UAVcast-Pro installed them. General packages such as NetworkManager, ModemManager and GStreamer stay.

Terminal
sudo /opt/uavcast-pro/factory/ApplicationInstaller --uninstall

From UAVcast-Pro 6.5.3, flight recordings in /opt/uavcast-pro/recordings are kept. Add --delete-recordings to remove them too, or --purge-deps to also remove ZeroTier, Tailscale and Redis that were installed before UAVcast-Pro. On earlier versions, uninstalling deletes the whole /opt/uavcast-pro folder, recordings included, so copy recordings you want to keep first.

Unregister the license first

Uninstalling doesn't free the license slot. Unregister the device on Application → License Manager before you wipe it, or you can't free the slot without another device. See Licensing & activation.

Upgrading from UAVcast-Pro 4.x or 5.x​

Version 6 is a complete rewrite and can't import settings from 4.x or 5.x. Write down your ground station, camera and modem settings, flash a fresh 64-bit OS and install version 6.

If the installer reports An older version of UAVcast-Pro has been detected at /opt/UAVcast-Pro, remove it first. This deletes the old settings:

Terminal
sudo rm -rf /opt/UAVcast-Pro

If the install fails​

Message or symptomFix
No installation candidate for … found!The OS is 32-bit or the architecture isn't supported. Check uname -m and reflash with a 64-bit image.
Not enough free space. … need 500MBFree space or use a bigger card.
Another process is currently using the system package managerAn automatic update is running. Wait a few minutes and run the installer again.
Another installer is already runningLet the first one finish.
Installation completed with errors with a red ✗Run the installer again. If it repeats, send /opt/uavcast-pro/installer.log to support@uavmatrix.com.
Web page doesn't loadCheck sudo systemctl status uavcast-web, try the IP instead of the hostname, and make sure nothing else uses port 80.

More fixes: Installation fails and Web interface won't open.

5 min readGet started
Edit