Skip to content
DocsSelf-hosting

Server commands

Manage your server with the openteam command on the host.

On this page

Common commands

CommandWhat it does
openteam statusShows the server URL, version, and health of each service
openteam doctorChecks for setup, connection, storage, and model problems
openteam startStarts the server and waits until it's ready
openteam stopStops the server. Your data is kept.
openteam logs --followStreams logs from all services
openteam setupReruns guided setup, for example to change your model provider
openteam setupChanges connection mode, including Tailscale HTTPS
openteam setup --advancedAlso changes API port, time zone, and tasks at once
openteam tailscale enable [--https-port <port>]Configures and verifies private HTTPS through Serve
openteam tailscale statusChecks Tailscale, route ownership, and HTTPS readiness
openteam tailscale disableReturns to local access and removes unchanged OpenTeam-managed mappings
openteam modelChooses the model, reasoning level, and voice transcription
openteam providerSigns in to, signs out of, or adds model providers
openteam account updateChanges your username or password
openteam updateUpdates the server and the CLI
openteam uninstallRemoves the server containers and CLI while preserving configuration and data

Run openteam <command> --help for options. If you installed to a different directory, add --dir <path>.

Diagnose a problem

Start with openteam status. If a service isn't healthy or bots aren't responding, run openteam doctor. It explains each failed check and what to do. Doctor sends one short request to your model provider, which counts toward your usage. It doesn't start services or change your settings.

To see logs for one service:

Terminal
openteam logs server --follow

The main services are server, worker, computer, and postgres, plus caddy if you use automatic HTTPS.

Change your account

Terminal
openteam account update

This asks for a new username and password, and signs out every connected app. To change only one, add --username <name> or --password.

Uninstall

Terminal
openteam uninstall

This removes the containers and the openteam CLI, but keeps your data and configuration. Run the installer again to restore the CLI and bring the server back with the preserved data.

To delete everything, including your bots, conversations, files, and update backups:

Terminal
openteam uninstall --purge

This can't be undone. Make a backup first if you might want your data back. Both uninstall modes remove the openteam CLI; on Windows, deletion completes immediately after the running CLI process exits.