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

Can't show 'all events' of an issue

Open darrelajonas opened this issue 3 years ago • 22 comments

Self-Hosted Version

23.11.0.dev0

CPU Architecture

x86_64

Docker Version

24.0.5, build ced0996

Docker Compose Version

2.23.0

Steps to Reproduce

  1. Go to Issues
  2. Click on an Issue
  3. Click on the Event counter (top-right)

Expected Result

To be able to see all events listed

Actual Result

image

image

Event ID

6f5833f755c74a5897384e98062fe293

darrelajonas avatar Oct 27 '23 11:10 darrelajonas

Is this happening in all your issues? Or just one of them? Are there any logs that are useful in your web container?

hubertdeng123 avatar Oct 30 '23 19:10 hubertdeng123

Hi

I found a few issues where it doesn't happen but it does happen with most of them.

The web container - I'm not that familiar with docker but you think that would be a good place to start looking?

PS: Thanks for helping out btw

darrelajonas avatar Nov 01 '23 13:11 darrelajonas

Of course, no problem at all. What does this command give you? docker compose logs web

hubertdeng123 avatar Nov 01 '23 22:11 hubertdeng123

I get this

docker: 'compose' is not a docker command.

darrelajonas avatar Nov 06 '23 11:11 darrelajonas

Does using docker-compose instead work?

azaslavsky avatar Nov 07 '23 18:11 azaslavsky

yep that worked.

Here's the tail of it but I can't see any errors

sentry-self-hosted-web-1  | 09:26:53 [INFO] sentry.access.api: api.access (method='POST' view='sentry.api.endpoints.relay.project_configs.RelayProjectConfigsEndpoint' response=200 user_id='None' is_app='None' token_type='None' is_fronten
d_request='False' organization_id='None' auth_id='None' path='/api/0/relays/projectconfigs/' caller_ip='172.18.0.38' user_agent='None' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.017038583755493164 rate_lim
it_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:03 [INFO] sentry.access.api: api.access (method='POST' view='sentry.api.endpoints.relay.project_configs.RelayProjectConfigsEndpoint' response=200 user_id='None' is_app='None' token_type='None' is_fronten
d_request='False' organization_id='None' auth_id='None' path='/api/0/relays/projectconfigs/' caller_ip='172.18.0.38' user_agent='None' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.01372528076171875 rate_limi
t_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:13 [INFO] sentry.access.api: api.access (method='POST' view='sentry.api.endpoints.relay.project_configs.RelayProjectConfigsEndpoint' response=200 user_id='None' is_app='None' token_type='None' is_fronten
d_request='False' organization_id='None' auth_id='None' path='/api/0/relays/projectconfigs/' caller_ip='172.18.0.38' user_agent='None' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.019145727157592773 rate_lim
it_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:23 [INFO] sentry.access.api: api.access (method='POST' view='sentry.api.endpoints.relay.project_configs.RelayProjectConfigsEndpoint' response=200 user_id='None' is_app='None' token_type='None' is_fronten
d_request='False' organization_id='None' auth_id='None' path='/api/0/relays/projectconfigs/' caller_ip='172.18.0.38' user_agent='None' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.0425570011138916 rate_limit
_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:33 [INFO] sentry.access.api: api.access (method='POST' view='sentry.api.endpoints.relay.project_configs.RelayProjectConfigsEndpoint' response=200 user_id='None' is_app='None' token_type='None' is_fronten
d_request='False' organization_id='None' auth_id='None' path='/api/0/relays/projectconfigs/' caller_ip='172.18.0.38' user_agent='None' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.019913911819458008 rate_lim
it_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:38 [INFO] sentry.access.api: api.access (method='GET' view='sentry.web.frontend.react_page.ReactPageView' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='True' organization_
id='1' auth_id='None' path='/organizations/jonas/issues/7/events/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_limited='Fals
e' rate_limit_category='None' request_duration_seconds=0.22236347198486328 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:39 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_details.OrganizationDetailsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_req
uest='True' organization_id='1' auth_id='None' path='/api/0/organizations/jonas/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rat
e_limited='False' rate_limit_category='None' request_duration_seconds=0.20366549491882324 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:39 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_projects.OrganizationProjectsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_r
equest='True' organization_id='1' auth_id='None' path='/api/0/organizations/jonas/projects/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/
537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.22152352333068848 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:39 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_teams.OrganizationTeamsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request
='True' organization_id='1' auth_id='None' path='/api/0/organizations/jonas/teams/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' r
ate_limited='False' rate_limit_category='None' request_duration_seconds=0.19652628898620605 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:43 [INFO] sentry.access.api: api.access (method='POST' view='sentry.api.endpoints.relay.project_configs.RelayProjectConfigsEndpoint' response=200 user_id='None' is_app='None' token_type='None' is_fronten
d_request='False' organization_id='None' auth_id='None' path='/api/0/relays/projectconfigs/' caller_ip='172.18.0.38' user_agent='None' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.022894620895385742 rate_lim
it_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:43 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_index.OrganizationIndexEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request
='True' organization_id='None' auth_id='None' path='/api/0/organizations/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_limit
ed='False' rate_limit_category='None' request_duration_seconds=0.0597987174987793 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:43 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.system_health.SystemHealthEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='True' or
ganization_id='None' auth_id='None' path='/api/0/internal/health/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_limited='Fals
e' rate_limit_category='None' request_duration_seconds=0.022838115692138672 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:43 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.assistant.AssistantEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='True' organizat
ion_id='None' auth_id='None' path='/api/0/assistant/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_limited='False' rate_limit
_category='None' request_duration_seconds=0.027052640914916992 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:44 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.broadcast_index.BroadcastIndexEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='True
' organization_id='None' auth_id='None' path='/api/0/organizations/jonas/broadcasts/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36'
 rate_limited='False' rate_limit_category='None' request_duration_seconds=0.06407451629638672 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:44 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.group_details.GroupDetailsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='True' or
ganization_id='1' auth_id='None' path='/api/0/organizations/jonas/issues/7/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_lim
ited='False' rate_limit_category='None' request_duration_seconds=0.4455106258392334 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:45 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.group_tags.GroupTagsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='True' organiza
tion_id='1' auth_id='None' path='/api/0/organizations/jonas/issues/7/tags/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_limi
ted='False' rate_limit_category='None' request_duration_seconds=0.34581446647644043 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:45 [INFO] sentry.access.api: api.access (method='GET' view='sentry.replays.endpoints.organization_replay_count.OrganizationReplayCountEndpoint' response=200 user_id='1' is_app='None' token_type='None' is
_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/jonas/replay-count/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/11
9.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.40038323402404785 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' rema
ining='None')
sentry-self-hosted-web-1  | 09:27:46 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_reque
st='True' organization_id='1' auth_id='None' path='/api/0/organizations/jonas/events/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.32732367515563965 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:46 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_reque
st='True' organization_id='1' auth_id='None' path='/api/0/organizations/jonas/events/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.3822784423828125 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:46 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.group_attachments.GroupAttachmentsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='
True' organization_id='1' auth_id='None' path='/api/0/issues/7/attachments/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_lim
ited='False' rate_limit_category='None' request_duration_seconds=0.08173131942749023 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
sentry-self-hosted-web-1  | 09:27:46 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.group_attachments.GroupAttachmentsEndpoint' response=200 user_id='1' is_app='None' token_type='None' is_frontend_request='
True' organization_id='1' auth_id='None' path='/api/0/issues/7/attachments/' caller_ip='62.254.200.124' user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' rate_lim
ited='False' rate_limit_category='None' request_duration_seconds=0.07770395278930664 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')

darrelajonas avatar Nov 08 '23 09:11 darrelajonas

So one thing I notice is that you are on the nightly release: it's possible that something was broken and then fixed quickly, etc. If you downgrade to the last official release (23.10.1), do you still see this issue?

azaslavsky avatar Nov 08 '23 16:11 azaslavsky

oh wow.

I'm pretty new with Sentry.

How do I downgrade without doing a reinstall?

I can't find any upgrade/downgrade instructions...

I'm familiar with Unix/Linux though.

Can you send me some Unix/Linux commands I would need to run?

darrelajonas avatar Nov 08 '23 16:11 darrelajonas

Well, you might as well try syncing to main first, to see if the issue might have been fixed. So just do a git pull master from the directory where your self-hosted install lives.

Downgrading is a bit more perilous, since there are probably database migrations we've pushed that may break when going backwards, so let's try upgrading first.

azaslavsky avatar Nov 08 '23 16:11 azaslavsky

so do a git pull master from within ~/.sentry and then reboot the server?

darrelajonas avatar Nov 08 '23 16:11 darrelajonas

Not sure where you downloaded it locally, but its where ever the local version of this repository (self-hosted) lives on your macine. Do git pull master from there.

azaslavsky avatar Nov 09 '23 21:11 azaslavsky

Do I need to do anything after git pull master? I don't know docker very well...

darrelajonas avatar Nov 10 '23 11:11 darrelajonas

docker-compose stop should work? Then restart the containers.

azaslavsky avatar Nov 13 '23 19:11 azaslavsky

You'll still need to rerun the install script if you're trying to downgrade unfortunately. If you're able to wait two days, we're releasing 23.11.0 on Nov 15, which should just be a simple upgrade process

hubertdeng123 avatar Nov 13 '23 19:11 hubertdeng123

Hi @hubertdeng123

  1. Is the upgrade available now?

  2. I'm not familiar with the upgrade process but am guessing it's pretty simple. Will this do the trick?

  • git pull master
  • Restart docker containers

Thanks in advance

darrelajonas avatar Nov 20 '23 14:11 darrelajonas

Yep, that will do the trick here. Please try it out and report back

hubertdeng123 avatar Nov 21 '23 23:11 hubertdeng123

...? I think you may have posted to the wrong issue?

azaslavsky avatar Dec 01 '23 01:12 azaslavsky

yep - deleted now

darrelajonas avatar Dec 01 '23 09:12 darrelajonas

Are you able to access the page now?

hubertdeng123 avatar Dec 04 '23 21:12 hubertdeng123

no. each time I try and upgrade/downgrade, Sentry breaks because it can't start kafka - I raised a separate issue for that (#2604), but this issue is effectively on hold until I can do an upgrade/downgrade without breaking stuff...

darrelajonas avatar Dec 05 '23 10:12 darrelajonas