Rob Nieuwenhuizen
3e0ca482c2
Make secret key generation idempotent ( #390 )
...
Only generate secret key if not set
2020-02-25 16:08:13 +03:00
Burak Yigit Kaya
9dfc5c99de
docs(versioning): Add section about versioning and SENTRY_IMAGE ( #381 )
...
This addreses multiple questions raised about how to install a specific version of Sentry or using specific versions for images such as #378 , #355 , #348 , and #326 .
2020-02-15 01:59:25 +03:00
Burak Yigit Kaya
6979959a71
fix(postgres): Fix postgres suddenly failing after their 'patch' release
...
See
https://github.com/docker-library/postgres/pull/658#pullrequestreview-336007842
2020-02-15 01:39:55 +03:00
Burak Yigit Kaya
6538f47288
docs(upgrade): Add note regarding min Sentry 9.1.2 requirement ( #380 )
...
Fixes #325 .
2020-02-05 23:59:15 +03:00
sentry-update-license-date[bot]
91cce7afa6
license: Update BSL change date
...
Co-authored-by: Burak Yigit Kaya <ben@byk.im>
2020-02-03 18:39:08 +00:00
Vernon Hockney
ce5834b8cf
fix(install): Update exit status and fix premature exit ( #375 )
...
Update exit -1 to exit 1 in line with best practices
Fixes premature exit of the script when checking for sse42 support. The
script would exit before displaying the reason for failure to the user.
2020-02-03 21:01:12 +03:00
Burak Yigit Kaya
fd9bd107df
fix(config): Enable http-chunked-input for UWSGI ( #376 )
...
Fixes getsentry/sentry#16596
2020-02-03 19:15:40 +03:00
Burak Yigit Kaya
37d6166032
build(clickhouse): Bump clickhouse version to match Snuba ( #371 )
2020-01-30 22:54:12 +03:00
Amphaal
cd1f9e811e
Check SSE4.2 compatibility before installation ( #361 )
...
Fixes #358 .
2020-01-29 16:29:38 +03:00
Burak Yigit Kaya
bc6d3b47e2
feat(config): Have better GitHub config examples ( #327 )
...
Better defaults and guidance regarding GitHub app settings after getsentry/sentry#16550 .
2020-01-24 21:08:41 +03:00
Simon Golms
73bf3f5ab4
fix(config): parse env variable as int ( #359 )
...
- parse SENTRY_EVENT_RETENTION_DAYS as integer in case it is defined as a string like in kubernetes
2020-01-24 21:04:39 +03:00
sentry-update-license-date[bot]
1748073324
license: Update BSL change date
2020-01-23 19:36:19 +00:00
Burak Yigit Kaya
dbcf4cc528
license: Update BSL change date
...
* license: Update BSL change date
* try being too protective in the future
* set the date properly
2020-01-23 19:13:28 +00:00
Burak Yigit Kaya
1292a125b8
fix(install): Remove unnecessary infinite loop from snuba bootst… ( #354 )
...
With getsentry/snuba#709 merged, we no longer need to randomly try forever creating Kafka topics, which were a prerequisite for creating Clickhouse tables. This patch also removes the preceding (and obsolete) `docker-compose up` statement which was used to "speed up" the `snuba bootstrap` command in the hopes to fix it.
2020-01-21 22:56:45 +03:00
Burak Yigit Kaya
b8405fca76
build(compose): Bump required compose version ( #353 )
...
With #343 , we added the `--parallel` flag which only got introduced in `docker-compose` `1.23.0` (source https://medium.com/schkn/parallelize-your-docker-compose-build-8ac653e3e596 as Docker docs themselves don't really mention these) so bumping the minimum required version.
Fixes #351 .
2020-01-21 22:56:04 +03:00
Burak Yigit Kaya
dffd59723c
meta(readme): Update docs and chat links in readme ( #346 )
...
Fixes #345 .
2020-01-13 22:28:19 +03:00
Burak Yigit Kaya
70674e252a
fix(data-migration): Make sure to chown the /data folder on sentry ( #336 )
...
Fixes #334 .
2020-01-13 22:25:27 +03:00
Burak Yigit Kaya
a655b4799c
feat(build): Enable parallel builds for docker-compose ( #343 )
2020-01-12 18:53:54 +03:00
Burak Yigit Kaya
d6951a2c32
fix(install): Fix secret key gen on BSD ( #338 )
...
Fixes #330 .
2020-01-10 12:34:36 +03:00
Simon Golms
bc23448141
fix(install): support for Windows and Git Bash ( #335 )
...
Fixes #329 .
2020-01-09 22:55:20 +03:00
Burak Yigit Kaya
d54c1a8d6c
fix(Makefile): Remove the obsolete Makefile ( #333 )
...
rip
2020-01-09 16:13:18 +03:00
Burak Yigit Kaya
b2080c1446
meta(readme): Remove stable 9.1.2 notice ( #321 )
2020-01-07 20:44:20 +03:00
Burak Yigit Kaya
6d80e5a68d
license(date): Update license change date to 2023-01-07 ( #320 )
2020-01-07 20:21:45 +03:00
Chris Fuller
6587df3269
Changing search class name reference ( #319 )
...
Currently in sentry, both SnubaSearchBackend and EventsDatasetSnubaSearchBackend exist, and they are the same.
This just points to the new (renamed) class so we can delete SnubaSearchBackend from sentry, as we only left it in to transition getsentry & onpremise.
2020-01-07 11:51:30 -05:00
Burak Yigit Kaya
753683d3d6
ref(install): Remove manual eventstream backfill ( #318 )
...
This became obsolete thanks to getsentry/sentry#16226
2020-01-03 23:28:43 +03:00
Burak Yigit Kaya
1d33ae6b04
fix(migration): Move Snuba bootstrapping before DB upgrade ( #317 )
...
Since we are [moving the eventstream into a proper db migration](https://github.com/getsentry/sentry/pull/16226 ), we need Snuba and its friends ready at the time of `sentry upgrade` command. This patch does exactly that.
Co-authored-by: Lyn Nagara <lyn.nagara@gmail.com>
2020-01-03 22:52:22 +03:00
Burak Yigit Kaya
4a82e9fa1d
feat(logs): Cleaner logs w/o ANSI sequences ( #316 )
2020-01-03 22:06:33 +03:00
Burak Yigit Kaya
629ee07c79
feat(install): Add automatic logs to install script ( #312 )
...
This change makes the install script create a new install log file, `sentry_install_log-<ISO_TIMESTAMP>.txt`, for each run and records all the output there for future reference.
2020-01-03 13:17:35 +03:00
Burak Yigit Kaya
aa79f8baf9
fix(post-process): Add missing post-process-forwarder ( #309 )
...
We were not running the post-process forwarder, causing post-process to not run which covers all plugin and rule/alert work.
Fixes #287 .
2019-12-30 23:27:02 +03:00
Burak Yigit Kaya
3dfc01ec2d
fix(upgrade): Fix upgrade instructions and script ( #304 )
2019-12-30 23:07:42 +03:00
Burak Yigit Kaya
3af61c8f55
fix(retention): Sync system.event-retention-days w/ cleanup ( #308 )
2019-12-30 23:07:17 +03:00
Burak Yigit Kaya
547bea23e6
ref(env): Set docker-compose project name ( #305 )
2019-12-26 08:26:28 +03:00
sentry-update-license-date[bot]
a465b170be
license: Update BSL change date
2019-12-23 21:20:05 +00:00
Burak Yigit Kaya
9ec53c3350
meta(readme): Update upgrade notice ( #299 )
2019-12-09 23:40:18 +03:00
Burak Yigit Kaya
ba67058070
feat(upgrade): Add automatic Snuba migration for upgrades ( #292 )
...
Upgrades existing events from last `$SENTRY_EVENT_RETENTION_DAYS`
to Snuba automatically. Relies on getsentry/sentry#15934 .
2019-12-09 21:33:02 +03:00
Burak Yigit Kaya
3c9e8c28ff
fix(sentry-data): Don't migrate when not needed ( #297 )
...
With this patch, `./install.sh` becomes safer as it won't recursively move things under `/data/file`. It also won't try to migrate an empty volume.
2019-12-09 21:18:43 +03:00
Burak Yigit Kaya
4af4ecfd0e
fix(install): Don't run migrations in interactive mode ( #296 )
...
This should fix the GCB failures.
2019-12-06 23:21:54 +03:00
Burak Yigit Kaya
89e8053c40
fix(data): Use /data
for persisting files and file caches ( #295 )
...
Moves sentry-data volume to /data mount point and sets all file-based storage settings to /data/files, /data/dsym-cache etc. accordingly. See 50ac550666/src/sentry/options/defaults.py (L45-L54)
2019-12-06 03:32:31 +03:00
Burak Yigit Kaya
7b10fea284
fix(volumes): Fix creation of random volumes at every run ( #291 )
...
Plugs all the holes (VOLUME defs) in the images we use so they at least persist across runs/restarts for things like random logs or SMTP spool. This also fixes symbolicator_cleanup service not having access to symbolicator data.
2019-12-04 02:29:01 +03:00
Burak Yigit Kaya
6c0d7e48f0
fix(kafka): Disable support metrics in Kafka & ZK ( #290 )
...
Disables the annoying automatic support metrics for Kafka and ZK while defaulting all logs to WARN level, instead of some being WARN and some ERROR.
2019-12-04 01:30:24 +03:00
Burak Yigit Kaya
62c0cb16bf
ref(kafka): Simpler kafka listener setup ( #288 )
2019-12-04 00:53:38 +03:00
Burak Yigit Kaya
83f52d1fe5
fix(tracing): Force-disable self-tracing on on-premise ( #285 )
2019-11-28 01:19:08 +03:00
Burak Yigit Kaya
ddabbe96c6
feat(postgres): Add auto upgrade from pg 9.5 to 9.6 ( #283 )
2019-11-27 03:14:09 +03:00
Burak Yigit Kaya
b461a7591d
feat(symbolicator): Use the image from Docker Hub for symbolicat… ( #282 )
2019-11-26 02:33:04 +03:00
Burak Yigit Kaya
9d21847218
fix(snuba): Add migrate call on setup ( #281 )
...
We need to run `snuba migrate` to be able to safely upgrade between Snuba versions
2019-11-25 23:01:14 +03:00
Burak Yigit Kaya
5d064c2224
feat(sentry10): Make on-premise work for Sentry 10 ( #220 )
2019-11-12 02:18:59 +03:00
Burak Yigit Kaya
e2b7c743af
meta(LICENSE): Switch to Business Source License 1.1 ( #267 )
...
See the public announcement about this on: https://blog.sentry.io/2019/11/06/relicensing-sentry/
2019-11-06 23:39:55 +03:00
mark burdett
2018fb50d0
Declare ARG in Dockerfile. ( #265 )
...
Resolves [Warning] One or more build-args [SENTRY_IMAGE] were not consumed.
2019-10-28 22:33:06 +03:00
Thomas Lutz
fc24bd4b82
fix(build): make version checker more robust in install ( #260 )
...
Resolves #246 .
2019-10-24 01:14:53 +03:00
Ben Johnson
ac33e08b47
Fix typo ( #263 )
...
There's a word missing here, although, I'm not sure if it should be "want" or "need"; either one seems to work.
2019-10-24 01:10:14 +03:00