Agentic hosting is here. Connect to our MCP now
CloudLinux.ro
Applications

How to install GlitchTip on a Cloud VPS

Updated 11/29/2026

GlitchTip is open-source error tracking compatible with the Sentry SDKs: exceptions from PHP, JavaScript, Python, Go and other languages land grouped in one dashboard, with stack traces, email or webhook alerts, uptime and performance monitoring, and it runs on small plans.

Self-hosting your development tools keeps code and project data inside your infrastructure, and the cost does not grow with the number of users.

One-click install on cloudlinux.ro

The fastest way: GlitchTip installs automatically at the first boot of a new server.

  1. Create a Cloud VPS from the control panel.
  2. In the configuration step, pick GlitchTip from the app catalog.
  3. Start the server. The install runs in the background for a few minutes and its status shows on the server page.
  4. Access details and generated passwords are saved on the server in /root/app-credentials.txt.

Manual install on any Ubuntu server

If you prefer doing it yourself, below is the exact script our automatic install runs. Execute it as root on a fresh Ubuntu server (24.04 recommended). It stops at the first error, and when it finishes you will find the access details in /root/app-credentials.txt.

export DEBIAN_FRONTEND=noninteractive
cl_firewall
curl -fsSL https://get.docker.com | sh
mkdir -p /opt/glitchtip
cd /opt/glitchtip
ADMIN_EMAIL="admin@${CL_HOSTNAME}"
ADMIN_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-20)
DB_PASS=$(openssl rand -hex 24)
cat > .env <<ENV
DB_PASS=${DB_PASS}
DATABASE_URL=postgres://glitchtip:${DB_PASS}@postgres:5432/glitchtip
SECRET_KEY=$(openssl rand -hex 32)
GLITCHTIP_DOMAIN=https://${CL_HOSTNAME}
DEFAULT_FROM_EMAIL=glitchtip@${CL_HOSTNAME}
EMAIL_URL=consolemail://
ENABLE_USER_REGISTRATION=False
DJANGO_SUPERUSER_EMAIL=${ADMIN_EMAIL}
DJANGO_SUPERUSER_PASSWORD=${ADMIN_PASS}
ENV
chmod 600 .env
# GlitchTip 7: one process serves the web app, the worker and the scheduler.
cat > docker-compose.yml <<'YML'
services:
  postgres:
    image: postgres:18
    restart: unless-stopped
    command: postgres -c max_locks_per_transaction=512
    environment:
      POSTGRES_USER: glitchtip
      POSTGRES_PASSWORD: ${DB_PASS}
      POSTGRES_DB: glitchtip
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U glitchtip"]
      interval: 5s
      timeout: 5s
      retries: 20
    volumes:
      - pg-data:/var/lib/postgresql
  web:
    image: glitchtip/glitchtip:7
    restart: unless-stopped
    depends_on:
      postgres: { condition: service_healthy }
    ports:
      - "127.0.0.1:8000:8000"
    env_file: .env
    volumes:
      - uploads:/code/uploads
volumes:
  pg-data:
  uploads:
YML
docker compose pull
docker compose up -d
for i in $(seq 1 120); do curl -fs -o /dev/null http://127.0.0.1:8000/_health/ && break; sleep 5; done
curl -fs -o /dev/null http://127.0.0.1:8000/_health/
# Public sign-up is off: the only account is this administrator.
docker compose exec -T web ./manage.py createsuperuser --noinput
{
  printf 'GlitchTip: email %s, parola %s\n' "$ADMIN_EMAIL" "$ADMIN_PASS"
  printf 'Dupa autentificare creezi o organizatie si un proiect; DSN-ul proiectului il pui in SDK-ul Sentry al aplicatiei tale.\n'
  printf 'Inregistrarea publica este oprita. Alertele pe email cer SMTP: seteaza EMAIL_URL in /opt/glitchtip/.env (de exemplu smtp://user:parola@server:587), apoi docker compose up -d\n'
  printf 'Actualizare: cd /opt/glitchtip && docker compose pull && docker compose up -d\n'
} > /root/app-credentials.txt
cl_expose GlitchTip 8000

You can also save this script as a recipe in your account and reuse it on any new server.

Put this guide into practice on your own VPS

EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.

See pricing

Related tutorials