{"id":13469070,"url":"https://github.com/mherrmann/sentry-self-hosted","last_synced_at":"2025-10-12T12:46:35.827Z","repository":{"id":78915125,"uuid":"164296797","full_name":"mherrmann/sentry-self-hosted","owner":"mherrmann","description":"Self-host Sentry for $5 per month","archived":false,"fork":false,"pushed_at":"2019-12-31T13:57:02.000Z","size":13,"stargazers_count":171,"open_issues_count":7,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-07T08:46:30.935Z","etag":null,"topics":["sentry","sentry-installation"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mherrmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-06T10:28:09.000Z","updated_at":"2025-10-04T15:57:16.000Z","dependencies_parsed_at":"2023-06-26T05:45:49.355Z","dependency_job_id":null,"html_url":"https://github.com/mherrmann/sentry-self-hosted","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mherrmann/sentry-self-hosted","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mherrmann%2Fsentry-self-hosted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mherrmann%2Fsentry-self-hosted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mherrmann%2Fsentry-self-hosted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mherrmann%2Fsentry-self-hosted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mherrmann","download_url":"https://codeload.github.com/mherrmann/sentry-self-hosted/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mherrmann%2Fsentry-self-hosted/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011300,"owners_count":26084928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sentry","sentry-installation"],"created_at":"2024-07-31T15:01:25.611Z","updated_at":"2025-10-12T12:46:35.771Z","avatar_url":"https://github.com/mherrmann.png","language":"Shell","funding_links":[],"categories":["Shell","others"],"sub_categories":[],"readme":"# Sentry self-hosted\n[Sentry](https://sentry.io) is a popular error tracking solution.\nThey have a free tier, but it is rather limited. Prices for the\nhosted tier currently start at $26/mo.\n\nThis repository lets you set up a self-hosted instance of Sentry\non\n[Linode](https://www.linode.com/?r=03c98ce370ba6c626d40c900c8f6f316ccb808f2),\nfor only $5/mo. You need a (sub-)domain such as `sentry.example.com`.\nInstallation is mostly automatic and takes a little over 30 minutes\nin total.\n\n## 1. Create a Linode account\nIf you don't already have one,\n[create a Linode account](https://www.linode.com/?r=03c98ce370ba6c626d40c900c8f6f316ccb808f2).\nUse the promo code **DOCS10** for a $10 credit.\n\n## 2. Add a Linode\n[Create a Linode](https://manager.linode.com/linodes/add?group=) in\nLinode's Management interface. (If you haven't used them before:\nLinodes are simply private Linux servers.) For small projects, a\nNanode for $5/mo is enough.\n\n## 3. Update your DNS\nThe Linode management interface should now show the IP of your\nserver. Update your domain's DNS settings so a new `A` record points\nto this IP. Typically, you'd use a subdomain such as\n`sentry.myapp.com`.\n\n## 4. Install Debian 9\nOpen the management page for your new Linode. Click on *Rebuild* at\nthe top. Select *Debian 9* as the image and pick a password. Click\n*Rebuild*.\n\n## 5. Increase swap size (if necessary)\nInstalling Sentry requires about 4GB of RAM. If you chose a Nanode\ninstance above, it only has 1GB. Go to the main management page for\nyour Linode. You should see two disks:\n\n * Debian 9 Disk\n * 256MB Swap Image\n\nFirst, click on *Edit* next to *Debian 9 Disk*. Reduce its size by\n5GB. Once this process is complete, *In*crease the size of the Swap\nImage by 5GB.\n\n## 6. Install Sentry\nConnect to your server via SSH. Clone this repository:\n\n    apt-get update\n    apt-get install git -y\n    git clone https://github.com/mherrmann/sentry-self-hosted.git\n\nUse an editor such as `vi` to change the settings at the top of\n`install.sh`. Then, make the file executable and run it:\n\n    cd sentry-self-hosted\n    chmod +x install.sh\n    ./install.sh\n\nThe first time you do this, the script will ask you to log out and\nback in again. Do this but **don't yet run the script again**.\n\nInvoking `install.sh` for a second time takes about 30 minutes.\nWe don't want this process to be interrupted in case your internet\nconnection drops. So it is highly recommended to install the\n`screen` tool at this point. This keeps your terminal session alive\nin case there are problems with your internet.\n\nTo install screen, log into the server and type the following:\n\n    apt-get install screen -y\n\nThen, launch `screen`:\n\n    screen\n\nThis shows some information. Press \u003ckbd\u003eENTER\u003c/kbd\u003e. You are now in\na virtual terminal session hosted by `screen`. Now execute\n\n    cd sentry-self-hosted\n    ./install.sh\n\nagain. You can detach from this terminal session by pressing\n\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eA\u003c/kbd\u003e followed by \u003ckbd\u003eD\u003c/kbd\u003e. To attach to\nthe session again (either because you detached from it or because\nyour connection dropped), type `screen -r` on the command line.\n\nThe installation will prompt you to create a super user at some\npoint. Provide it with some values.\n\nOnce the installation is complete, the server will automatically\nreboot. You can now log into it with the user credentials you\ncreated.\n\n## 7. Decrease swap size\nOnce installation is complete, it's a good idea to decrease the swap\nsize again (in case you increased it). Just follow the same steps as\nin 5.\n\n## 8. (Optional) enable backups\nLinode can automatically back up your server for an extra $2 per\nmonth. You can enable this in the management interface for your\nLinode.\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmherrmann%2Fsentry-self-hosted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmherrmann%2Fsentry-self-hosted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmherrmann%2Fsentry-self-hosted/lists"}