All Projects → mherrmann → Sentry Self Hosted

mherrmann / Sentry Self Hosted

Licence: mit
Self-host Sentry for $5 per month

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Sentry Self Hosted

Sentry Cordova
The official Sentry SDK for Cordova
Stars: ✭ 49 (-62.88%)
Mutual labels:  sentry
Ember Cli Sentry
Error tracking via Sentry for Ember.js apps
Stars: ✭ 81 (-38.64%)
Mutual labels:  sentry
Attic Sentry
Mirror of Apache Sentry
Stars: ✭ 109 (-17.42%)
Mutual labels:  sentry
Sentry
Middleware to integrate with sentry crash reporting.
Stars: ✭ 55 (-58.33%)
Mutual labels:  sentry
Sentry Wizard
Sentry Project Setup Wizard
Stars: ✭ 78 (-40.91%)
Mutual labels:  sentry
Raven Aiohttp
An aiohttp transport for raven-python
Stars: ✭ 92 (-30.3%)
Mutual labels:  sentry
Sentry
Sentry is cross-platform application monitoring, with a focus on error reporting.
Stars: ✭ 29,700 (+22400%)
Mutual labels:  sentry
Sentry Mina
小程序 Sentry SDK
Stars: ✭ 124 (-6.06%)
Mutual labels:  sentry
Nestjs Sentry
Provides an injectable sentry.io client to provide enterprise logging nestjs modules
Stars: ✭ 80 (-39.39%)
Mutual labels:  sentry
Logrus
Hooks for logrus logging
Stars: ✭ 110 (-16.67%)
Mutual labels:  sentry
Sentry
Bruteforce attack blocker (ssh, FTP, SMTP, and more)
Stars: ✭ 58 (-56.06%)
Mutual labels:  sentry
Sentry Clj
Sentry SDK for Clojure
Stars: ✭ 63 (-52.27%)
Mutual labels:  sentry
Raven.cr
Raven is a Crystal client for Sentry
Stars: ✭ 96 (-27.27%)
Mutual labels:  sentry
Api server boilerplate
typescript express board boilerplate using routing controller
Stars: ✭ 52 (-60.61%)
Mutual labels:  sentry
Sentry Php
The official PHP SDK for Sentry (sentry.io)
Stars: ✭ 1,591 (+1105.3%)
Mutual labels:  sentry
Sentry React Native
Official Sentry SDK for react-native
Stars: ✭ 1,032 (+681.82%)
Mutual labels:  sentry
Myapp
React Native 工程实践
Stars: ✭ 83 (-37.12%)
Mutual labels:  sentry
Gatsby Starter Lumen
A constantly evolving and thoughtful architecture for creating static blogs.
Stars: ✭ 1,797 (+1261.36%)
Mutual labels:  sentry
Nest Raven
Sentry Raven Module for Nest.js Framework
Stars: ✭ 123 (-6.82%)
Mutual labels:  sentry
Magento2 Sentry
Magento 2 module to log to Sentry
Stars: ✭ 99 (-25%)
Mutual labels:  sentry

Sentry self-hosted

Sentry is a popular error tracking solution. They have a free tier, but it is rather limited. Prices for the hosted tier currently start at $26/mo.

This repository lets you set up a self-hosted instance of Sentry on Linode, for only $5/mo. You need a (sub-)domain such as sentry.example.com. Installation is mostly automatic and takes a little over 30 minutes in total.

1. Create a Linode account

If you don't already have one, create a Linode account. Use the promo code DOCS10 for a $10 credit.

2. Add a Linode

Create a Linode in Linode's Management interface. (If you haven't used them before: Linodes are simply private Linux servers.) For small projects, a Nanode for $5/mo is enough.

3. Update your DNS

The Linode management interface should now show the IP of your server. Update your domain's DNS settings so a new A record points to this IP. Typically, you'd use a subdomain such as sentry.myapp.com.

4. Install Debian 9

Open the management page for your new Linode. Click on Rebuild at the top. Select Debian 9 as the image and pick a password. Click Rebuild.

5. Increase swap size (if necessary)

Installing Sentry requires about 4GB of RAM. If you chose a Nanode instance above, it only has 1GB. Go to the main management page for your Linode. You should see two disks:

  • Debian 9 Disk
  • 256MB Swap Image

First, click on Edit next to Debian 9 Disk. Reduce its size by 5GB. Once this process is complete, Increase the size of the Swap Image by 5GB.

6. Install Sentry

Connect to your server via SSH. Clone this repository:

apt-get update
apt-get install git -y
git clone https://github.com/mherrmann/sentry-self-hosted.git

Use an editor such as vi to change the settings at the top of install.sh. Then, make the file executable and run it:

cd sentry-self-hosted
chmod +x install.sh
./install.sh

The first time you do this, the script will ask you to log out and back in again. Do this but don't yet run the script again.

Invoking install.sh for a second time takes about 30 minutes. We don't want this process to be interrupted in case your internet connection drops. So it is highly recommended to install the screen tool at this point. This keeps your terminal session alive in case there are problems with your internet.

To install screen, log into the server and type the following:

apt-get install screen -y

Then, launch screen:

screen

This shows some information. Press ENTER. You are now in a virtual terminal session hosted by screen. Now execute

cd sentry-self-hosted
./install.sh

again. You can detach from this terminal session by pressing Ctrl+A followed by D. To attach to the session again (either because you detached from it or because your connection dropped), type screen -r on the command line.

The installation will prompt you to create a super user at some point. Provide it with some values.

Once the installation is complete, the server will automatically reboot. You can now log into it with the user credentials you created.

7. Decrease swap size

Once installation is complete, it's a good idea to decrease the swap size again (in case you increased it). Just follow the same steps as in 5.

8. (Optional) enable backups

Linode can automatically back up your server for an extra $2 per month. You can enable this in the management interface for your Linode.

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].