Report this

What is the reason for this report?

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

Posted on October 28, 2019

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.