How to setup Sentry.io (open source) server in Ubuntu 18.04

October 28, 2019 332 views
Applications

Hi,

I am willing to get some technical information and guidelines in order to set up “Sentry.io” (open source) system on my own Ubuntu 18.04 server. “Sentry.io” is a bug reporting server-side solution. I heard there is a docker image for it as well but I do not have much of the skillset on server-side specifically related to Docker image setup. I know only basic server management commands. Will appreciate the steps I need to perform in order to setup this, with minimum hardware (VPS) requirements.

1 Answer

Hello,

There are a couple of ways of installing Sentry. You could either use:

  • Docker:

https://docs.sentry.io/server/installation/docker/

  • Python:

https://docs.sentry.io/server/installation/python/

If you decide to go with Docker, you can follow the steps here:

  • Install Docker:

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04

  • Then clone this repository:

https://github.com/getsentry/onpremise

git clone https://github.com/getsentry/onpremise.git
  • According to the official instructions to get started with all the defaults, simply clone the repo and run ./install.sh in your local check-out.

There may need to be modifications to the included docker-compose.yml file to accommodate your needs or your environment (such as adding GitHub credentials). If you want to perform these, do them before you run the install script.

The recommended way to customize your configuration is using the files below, in that order:

  • config.yml
  • sentry.conf.py
  • .env w/ environment variables

Hope that this helps!
Regards,
Bobby

by Brian Hogan
Docker is an application that simplifies the process of managing application processes in containers. In this tutorial, you'll install and use Docker Community Edition (CE) on Ubuntu 18.04. You'll install Docker itself, work with containers and images, and push an image to a Docker Repository.
Have another answer? Share your knowledge.