Skip to content

How-to guides

How to run OpenMausBot 24/7 on a home server

When you’re done, you have an OpenMausBot server that’s always on: it starts at boot, restarts after crashes, and runs bots as a dedicated user on a separate machine, away from the personal files on your laptop. Routines (like the daily Search Console report) run on time, every day.

Ours is a low-power mini PC in the N100/N150 class (4 cores, 16 GB RAM). That’s plenty. See where your bots should run.

Woodcut print at night: a small mini PC with a green light on a shelf, a robot on a crate keeping watch beside a lantern, and a crescent moon in the window.
Decide Recommendation Why
OS Ubuntu Server 24.04 LTS A desktop environment uses memory a server doesn’t need, and OpenMausBot won’t control an Ubuntu Wayland desktop for safety. Bots get their own desktop in a container; the host needs no GUI
User Dedicated, e.g. bot Bots have that user’s permissions
Install npm with a pinned version, into ~/.local Upgrade and rollback are one command each
Network Wired Long-lived streams to your phone and browser are steadier

Install the OS, create the user, enable OpenSSH, and make sure you can ssh <user>@<server-ip>.

Paste this into Claude Code, Codex or OpenCode:

Prompt
Set up an always-on OpenMausBot server on my Ubuntu 24.04 Server machine at <user>@<server-ip>,
working over SSH from this computer:
1. Key-based SSH with a host alias "myserver" in ~/.ssh/config. If passwordless sudo isn't set up, give me the command to run, then verify.
2. Install Node.js 24 (NodeSource), git, curl and Docker Engine with compose; add the user to the docker group.
3. Install openmausbot with npm into ~/.local (pin the current latest version) and put ~/.local/bin on PATH.
4. Run `openmausbot doctor --host` and fix every FAIL as it suggests. For the browser sandbox AppArmor issue,
add the per-binary profile from the OpenMausBot docs instead of disabling the restriction globally.
5. Start at boot: run `openmausbot service install`, then run the three sudo commands it prints. Install the bots' browser:
`sudo -H env "PATH=$PATH" openmausbot browser install --with-deps` once for system libraries, then
`openmausbot browser install` as this user.
6. Open an SSH tunnel (local 8799 → server 127.0.0.1:8799), run `openmausbot pair`, and give me the link.
7. Finish with a table: version, service state, listening ports, free disk and RAM.
Rules: never print secrets in chat; back up config files before editing; don't change DNS, timezone or routing.

Open the pairing link and press Connect. The browser stays signed in for 30 days, renewed as you use it for up to 180 days. Codes last 10 minutes and work once. If one expires, generate a new one on the server, or ask your AI agent to do it.

In the paired page, send MausBot a message. If it replies, the setup works. You need at least one engine signed in.

For a more thorough check, send this to your AI agent:

Prompt
Check my OpenMausBot server (ssh alias "myserver"): run openmausbot doctor, confirm the systemd service is active and port 8799 is bound to 127.0.0.1 only, then use openmausbot run to get a one-sentence reply from MausBot. Give me a status table.

MausBot Guide is an independent, unofficial community guide and is not affiliated with Supamaus Software Private Limited. OpenMausBot, MausBot and the mascot are trademarks of their respective owner.