No description
Find a file
amir-climy bacccd9550 feat: add --upgrade one-liner and improve upgrade.sh
get.sh --upgrade:
- Re-downloads installer files (compose.yaml, upgrade.sh, etc.) so the
  on-disk scripts are always current before upgrading
- Then execs upgrade.sh with any passthrough flags (e.g. --image TAG)

upgrade.sh improvements:
- Platform-aware backup dir (Linux: /var/backups/triton,
  macOS: ~/Library/Application Support/triton/backups)
- Reads POSTGRES_USER/POSTGRES_DB from .env instead of hardcoding
- Uses detected runtime (podman/docker) for pg_dump exec
- Explicit messaging that DB migrations run automatically on startup
- Health check success confirms migrations applied
- Prints rollback command pointing at the backup file

Usage:
  curl -fsSL .../get.sh | sudo bash -s -- --upgrade
  curl -fsSL .../get.sh | sudo bash -s -- --upgrade --image ...:1.2.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:19:57 +08:00
manage-server feat: add --upgrade one-liner and improve upgrade.sh 2026-05-19 19:19:57 +08:00
get.sh feat: add --upgrade one-liner and improve upgrade.sh 2026-05-19 19:19:57 +08:00
README.md docs: simplify install to single curl command — setup wizard handles licence config 2026-05-17 10:13:06 +02:00

Triton Manage Server Installer

Production installer for the Triton Manage Server. Container-based (Docker or Podman), idempotent — safe to re-run.

Install

curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/manage-server/install.sh | sudo bash

That's it. The setup wizard walks you through the rest.

Setup wizard

After install, open http://localhost:8082 and complete the wizard:

  1. Set your manage server name
  2. Enter your Triton licence server URL and licence ID — or upload an air-gap licence file
  3. Create the admin account

Optional flags

sudo bash install.sh [flags]
Flag Description
--gateway-hostname HOST Agent mTLS hostname (defaults to current FQDN).
--manage-host-ip IP Host LAN IP for "+ This machine" auto-registration.
--image TAG Pin a specific image tag (e.g. 1.0.0-rc.2).
--no-tls Skip TLS sanity check (dev only).

Other commands

# Upgrade to latest image
sudo bash manage-server/upgrade.sh

# Uninstall
sudo bash manage-server/uninstall.sh

Requirements

  • Linux (amd64 or arm64)
  • Docker or Podman with Compose
  • Port 443 open (HTTPS)