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.
Requirements
Section titled “Requirements”- 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.
Install
Section titled “Install”- Install uv with Homebrew, then Ombro. (macOS’s own Python is too old; uv fetches its own.)
Terminal window brew install uvuv tool install ombrouv tool update-shell # so your terminal finds `ombro` - Install the service:
It sets up a launch agent, after asking.
Terminal window ombro serve install - Check it’s running:
The log, with the first pairing code, is
Terminal window ombro serve statusscheduler/serve.login the Ombro home. - Connect the desktop app.
- Install pipx and Ombro:
Terminal window sudo apt install pipx bubblewrappipx install ombro - Install the service. Run this in a terminal where sudo can ask for your password, since keeping the service running after you log out needs it once:
It shows what it will set up, asks first, then starts the server.
Terminal window ombro serve install - Check it’s running, and find the first pairing code:
Terminal window ombro serve statusjournalctl --user -u ombro - Connect the desktop app.
Make sure job code can run
Section titled “Make sure job code can run”Jobs can write and run small Python scripts, always inside the operating system’s sandbox. Check the sandbox works on this machine:
ombro sandboxIt says whether code can run and, if not, why and what to do.
The Ubuntu step
Section titled “The Ubuntu step”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:
ombro sandbox --apparmor | sudo tee /etc/apparmor.d/ombro-bwrap >/dev/nullsudo apparmor_parser -r /etc/apparmor.d/ombro-bwrapNothing 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.
A browser for reading pages
Section titled “A browser for reading pages”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.
Managing the service
Section titled “Managing the service”ombro serve status # is it running?ombro serve remove # stop it and take the service awayombro serve # run it in the foreground insteadBy default it listens on 127.0.0.1:8765. For Tailscale, give it the machine’s Tailscale address:
ombro serve install --host 100.x.y.zIt still listens on 127.0.0.1 too, so SSH keeps working.
Updating
Section titled “Updating”pipx upgrade ombro # or: uv tool upgrade ombroombro serve install # restarts the service on the new versionIf you installed the service with --host, give the same --host again.
Troubleshooting
Section titled “Troubleshooting”ombro: command not foundover SSH.~/.local/binisn’t on thePATHfor one-off SSH commands. Use the full path, such asssh -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 installshowed after “runs”:Terminal window sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add <python> --unblockapp <python> - The app’s SSH sign-in fails. Check
ssh you@server trueworks without a password. With several keys, install the right one withssh-copy-id -i ~/.ssh/<key>.pub you@server.