Skip to content

Install on a server

This installs Ombro straight onto a server and keeps it running as a service. To use Docker instead, see Run in Docker.

  • Python 3.11 or later, and pipx or uv.
  • On macOS, nothing extra. The sandbox is built in.
  • On Linux, bubblewrap: the sandbox for code a job writes (sudo apt install bubblewrap).
  • An SSH key that signs you in to the server, if you’ll connect the app over SSH. The app can’t type passwords.
  1. Install uv with Homebrew, then Ombro. (macOS’s own Python is too old; uv fetches its own.)
    Terminal window
    brew install uv
    uv tool install ombro
    uv tool update-shell # so your terminal finds `ombro`
  2. Install the service:
    Terminal window
    ombro serve install
    It sets up a launch agent, after asking.
  3. Check it’s running:
    Terminal window
    ombro serve status
    The log, with the first pairing code, is scheduler/serve.log in the Ombro home.
  4. Connect the desktop app.

Jobs can write and run small Python scripts, always inside the operating system’s sandbox. Check the sandbox works on this machine:

Terminal window
ombro sandbox

It says whether code can run and, if not, why and what to do.

On some Ubuntu versions (24.04, for one), a security setting stops bubblewrap working until it’s allowed once with a small AppArmor profile. Ubuntu 25.10 doesn’t need it. ombro serve install offers to do it for you; by hand, it’s:

Terminal window
ombro sandbox --apparmor | sudo tee /etc/apparmor.d/ombro-bwrap >/dev/null
sudo apparmor_parser -r /etc/apparmor.d/ombro-bwrap

Nothing is installed: AppArmor is already part of Ubuntu, and the profile only allows /usr/bin/bwrap. Without it, Ombro still works; only jobs that need to run code are refused, with a message saying how to fix it.

Crews read web pages in a headless browser. Install Chrome or Chromium on the server and Ombro uses it, as on the desktop. Without one, web search still works, but pages can’t be read.

Terminal window
ombro serve status # is it running?
ombro serve remove # stop it and take the service away
ombro serve # run it in the foreground instead

By default it listens on 127.0.0.1:8765. For Tailscale, give it the machine’s Tailscale address:

Terminal window
ombro serve install --host 100.x.y.z

It still listens on 127.0.0.1 too, so SSH keeps working.

Terminal window
pipx upgrade ombro # or: uv tool upgrade ombro
ombro serve install # restarts the service on the new version

If you installed the service with --host, give the same --host again.

  • ombro: command not found over SSH. ~/.local/bin isn’t on the PATH for one-off SSH commands. Use the full path, such as ssh -t you@server '~/.local/bin/ombro serve install'. The app finds it either way.
  • The app can’t connect over Tailscale to a Mac. The macOS firewall asks once, on the Mac’s own screen, whether Ombro’s Python may accept connections. On a headless Mac, allow it from a terminal, using the path ombro serve install showed after “runs”:
    Terminal window
    sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add <python> --unblockapp <python>
  • The app’s SSH sign-in fails. Check ssh you@server true works without a password. With several keys, install the right one with ssh-copy-id -i ~/.ssh/<key>.pub you@server.