Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
GlitchTip

GlitchTip

GlitchTip is a self-hosted error tracking and uptime monitoring platform, a lightweight open-source alternative to Sentry. It collects errors, tracks uptime, and sends alerts for your web apps and services, and it stays compatible with existing Sentry SDKs.

Access

  1. Open the GlitchTip URL: http://<SERVER_IP>
  2. Create the first user account.
  3. Registration is automatically disabled after the first account is created (ENABLE_USER_REGISTRATION=False).

Email Configuration

GlitchTip can send password reset emails, invitations, and notifications using SMTP or supported email providers.

Edit: /root/glitchtip/docker-compose.yml

Configure:

  • EMAIL_URL
  • DEFAULT_FROM_EMAIL

Then apply the changes:

cd /root/glitchtip
docker compose up -d

Important Files and Directories

  • Install Path: /root/glitchtip
  • Compose File: /root/glitchtip/docker-compose.yml
  • PostgreSQL Volume: /var/lib/docker/volumes/glitchtip_pg-data
  • Uploads Volume: /var/lib/docker/volumes/glitchtip_uploads
  • Nginx Config: /etc/nginx/sites-available/glitchtip

Docker Management

View running containers:

docker compose -f /root/glitchtip/docker-compose.yml ps

Restart all containers:

docker compose -f /root/glitchtip/docker-compose.yml restart

Follow application logs:

docker compose -f /root/glitchtip/docker-compose.yml logs -f

Stop the application:

docker compose -f /root/glitchtip/docker-compose.yml down

Start the application:

docker compose -f /root/glitchtip/docker-compose.yml up -d

Managing Nginx

Check status:

systemctl status nginx

Restart Nginx:

systemctl restart nginx

Reload Nginx:

systemctl reload nginx

Validate the configuration:

nginx -t

Enabling SSL with a Domain

1. Point your domain to the server IP.

2. Edit Nginx config and replace server_name _; with your domain (server_name <yourdomain.com>;):

vim /etc/nginx/sites-available/glitchtip

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. Run the following command and follow the prompts to obtain a valid Let's Encrypt certificate:

certbot --nginx

5. Reload Nginx to apply the changes:

systemctl reload nginx

6. Edit /root/glitchtip/docker-compose.yml and update GLITCHTIP_DOMAIN to use your domain (including https://):

GLITCHTIP_DOMAIN=https://yourdomain.com

7. Recreate the services:

cd /root/glitchtip
docker compose up -d

8. Open your browser and visit: https://yourdomain.com

More in Monitoring

Related apps.

Deploy GlitchTip now. From $2.48/mo.