self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

General Thread (Q1 2022)

Open chadwhitacre opened this issue 4 years ago • 46 comments

This is a thread for meta discussion about self-hosted Sentry (SHS).

Please file a ticket if you have a support request (or feature suggestion).

← Q4 2021

chadwhitacre avatar Jan 04 '22 22:01 chadwhitacre

Okay, I'll post this here. The on-premise documentation points to the forum for discussions, but it's not possible to create new topics there. Also, there is supposed to be a pinned post in the forum which explains that people should use Github issues now. But its not visible to me there: on-premise

It took me quite some time to figure this out. Could you pin the post in the forums or point the documentations to Github issues directly?

djmaze avatar Jan 07 '22 15:01 djmaze

@djmaze Thanks for letting us know and sorry for the frustration! Glad you found us. :)

I made https://github.com/getsentry/team-ospo/issues/27 to track link cleanup, I had that in a private TODO, sorry I didn't get to it in time. :(

I'm not sure what's up with pinning on Discourse. I see on the post that it says "PINNED ON NOV 18, '21":

Screen Shot 2022-01-07 at 10 14 16 AM

But yeah I don't see it pinned anymore. 🤔

Screen Shot 2022-01-07 at 10 16 03 AM

Maybe we're running afoul of this "feature"?

chadwhitacre avatar Jan 07 '22 15:01 chadwhitacre

I unchecked both of these but still don't see the item pinned as expected.

Screen Shot 2022-01-07 at 10 19 40 AM

chadwhitacre avatar Jan 07 '22 15:01 chadwhitacre

lolsob in incognito I get another pin back but not the one we want

Screen Shot 2022-01-07 at 10 22 47 AM

chadwhitacre avatar Jan 07 '22 15:01 chadwhitacre

I just bumped it. ¯\_(ツ)_/¯

chadwhitacre avatar Jan 07 '22 15:01 chadwhitacre

Did you try unpinning and pinning it again? ;)

djmaze avatar Jan 07 '22 16:01 djmaze

Aka turn it off and turn it back on again? :-P

Done, here's hoping it works ...

chadwhitacre avatar Jan 07 '22 17:01 chadwhitacre

Seems to work. On the topic page, it says:

This topic is pinned for you; it will display at the top of its category

Thanks!

djmaze avatar Jan 07 '22 17:01 djmaze

Hello for all, here is the status of the following attempt: https://github.com/getsentry/self-hosted/issues/1175#issuecomment-1005123801

After increasing the value of the variable SENTRY_EVENT_RETENTION_DAYS and upgrading again to version 21.5 the same behavior occurred, most of the issues were lost. For example, in project A there were more than 4000 issues in version 9.0, but after upgrading to version 21.5 only 535 are registered. Also, the service to auto-remove the old issues was removed from docker-compose file. Does anyone have another tip to try?

bergpb avatar Jan 10 '22 16:01 bergpb

Hello for all, here is the status of the following attempt: #1175 (comment)

After increasing the value of the variable SENTRY_EVENT_RETENTION_DAYS and upgrading again to version 21.5 the same behavior occurred, most of the issues were lost. For example, in project A there were more than 4000 issues in version 9.0, but after upgrading to version 21.5 only 535 are registered. Also, the service to auto-remove the old issues was removed from docker-compose file. Does anyone have another tip to try?

Not sure what has happened in your situation, but did you first upgrade to 9.1.2 as it has been told on https://develop.sentry.dev/self-hosted/releases/#hard-stops prior to upgrading to 21.5.0 ?

Because missing that step may arise some issues.

aminvakil avatar Jan 10 '22 16:01 aminvakil

Yeah, on my first try I'm follow the hard stops, but I'm found some problems in migrations described here: https://forum.sentry.io/t/migration-errors-9-1-2-to-21-6-1-project-object-has-no-attribute-get-option/14279/4 After that I worked on the upgrade using these steps: 9.0 > 9.1 > 20.12.1 > 21.5, and with this, I don't have errors with migrations, but lost some issues in step to upgrade to 9.1 > 20.12.1.

bergpb avatar Jan 10 '22 16:01 bergpb

lost some issues in step to upgrade to 9.1 > 20.12.1

Do you lose issues if you go from 9.1.2 straight to 21.5.0? There may be bugs in migrations in earlier versions.

chadwhitacre avatar Jan 10 '22 16:01 chadwhitacre

Yes @chadwhitacre when I try to go from version 9.1 directly to version 21.5 I found some errors in migration and lost issues too.

An error occured while trying to migrate the following event: <sentry.eventstore.models.Event object at 0x7ff941841ba8>
Project' object has no attribute 'get_option'

bergpb avatar Jan 10 '22 17:01 bergpb

Hmmm ... @bergpb this is getting involved enough that we should open a separate ticket to help you work through your scenario. Can you open a new ticket, please?

chadwhitacre avatar Jan 10 '22 19:01 chadwhitacre

Sure @chadwhitacre

bergpb avatar Jan 11 '22 15:01 bergpb

Another question. We realized that the sentry js client often sends client_report requests upon page load, which the server responds to with a 400 response. Looking into the self-hosted documentation and issues, I can't find any mention of it. Is that feature only available in the commercial product?

Would be good to have this cleared up in the documentation as well.

djmaze avatar Jan 19 '22 11:01 djmaze

In general self-hosted has all the same features as SaaS.

Looking into the self-hosted documentation and issues, I can't find any mention of it.

Sorry, I'm lost. What would make sense to mention about client_report requests in the self-hosted documentation that is not already mentioned in the client reports documentation?

chadwhitacre avatar Jan 19 '22 16:01 chadwhitacre

Ah. I dug a bit deeper and found that it's supported since version 21.9.0 in the relay. Our instance is just too old.

Sorry for the noise.

(Minor point that it is difficult to see all changes in a release since the detailed changelogs are spread over all of the service repos.)

djmaze avatar Jan 19 '22 17:01 djmaze

Minor point

Fair point. :) I updated the GH release notes to include links to Sentry, Snuba, and Relay. Do you think we should link to Symbolicator? Anything else I'm forgetting?

I also added a mention of Postgres 10 while I was there.

chadwhitacre avatar Jan 19 '22 17:01 chadwhitacre

@chadwhitacre Excellent, very helpful!

djmaze avatar Jan 19 '22 18:01 djmaze