diegosouzapw/OmniRoute · error · Error

Tailscale is not installed

Error message

Tailscale is not installed

What it means

Error "Tailscale is not installed" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/tailscaleTunnel.ts:548

  };
}

async function runSudoShell(command: string, password: string) {
  const normalizedPassword = password.trim();
  if (!normalizedPassword) {
    throw new Error("Sudo password required");
  }
  await execFileWithPassword("sudo", ["-S", "sh", "-c", command], normalizedPassword);
}

export async function startTailscaleDaemon({
  sudoPassword,
}: {
  sudoPassword?: string;
} = {}) {
  const resolution = await resolveBinary();
  if (!resolution.binaryPath) {
    throw new Error("Tailscale is not installed");
  }

  // Invalidate socket cache so we re-probe the system socket
  invalidateSocketCache();

  // Check if the system daemon is already running (e.g. via systemd)
  // This is the most common case on servers where tailscale was installed via apt/brew
  if (isSystemDaemonAvailable()) {
    const systemStatus = await getLiveStatusPayload(resolution.binaryPath);
    if (systemStatus) {
      // System daemon is live — no need to start our own
      return { started: false, systemDaemon: true };
    }
  }

  // Check if our custom daemon is already running
  const existingStatus = await getLiveStatusPayload(resolution.binaryPath);
  if (existingStatus) {

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/tailscaleTunnel.ts:548 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/88e6c5b9e22425e6. Report an issue: GitHub.