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

Register Form tab is showing but Content is of Login in Sentry 24.11.1

Open Kishan0330 opened this issue 1 year ago • 11 comments

Self-Hosted Version

24.11.1

CPU Architecture

x86_64

Docker Version

27.4.0

Docker Compose Version

2.27.0

Machine Specification

  • [x] My system meets the minimum system requirements of Sentry

Steps to Reproduce

  1. Open a web browser and navigate to the following URL: http://<IP>:<Port>.
  2. Once the page loads, locate and click on the "Register" tab in the navigation menu.

Expected Result

  1. Observe that the page content is incorrect, displaying the login form instead of the registration form.

Actual Result

install-logs.txt docker-compose-logs.txt

Image of login form --> Notice the URL

Image of Register form i am getting --> URL is set Register but form did not changed

Event ID

No response

Kishan0330 avatar Dec 12 '24 08:12 Kishan0330

Having the same issue here~ It seems like a duplicate of https://github.com/getsentry/self-hosted/issues/2954 but it was unanswered there either. The 'Sentry -> Admin Settings -> Enable Registration' settings is not there any more.

wendellli99 avatar Dec 14 '24 23:12 wendellli99

Hey @Kishan0330 does this solves the problem? https://github.com/getsentry/self-hosted/issues/2954#issuecomment-2053948765

aldy505 avatar Dec 17 '24 02:12 aldy505

Having the same issue here~ It seems like a duplicate of #2954 but it was unanswered there either. The 'Sentry -> Admin Settings -> Enable Registration' settings is not there any more.

@wendellli99 Hello, the settings is still there. Top left --> Admin --> Settings --> Enable Registration

Image

aldy505 avatar Dec 17 '24 02:12 aldy505

Hey @Kishan0330 does this solves the problem? #2954 (comment)

No this does not solve the probem

Kishan0330 avatar Dec 17 '24 04:12 Kishan0330

Having the same issue here~ It seems like a duplicate of #2954 but it was unanswered there either. The 'Sentry -> Admin Settings -> Enable Registration' settings is not there any more.

@wendellli99 Hello, the settings is still there. Top left --> Admin --> Settings --> Enable Registration

Image

This does not solve the problem either(it is already on that is why i am seeing the Register tab)

Kishan0330 avatar Dec 17 '24 04:12 Kishan0330

I think it's better to keep the issue open if the problem isn't resolved,

I have also encountered this issue, using last week's nightly build. the register form appears when I change the version to 24.9.0, but maybe because I haven't rollback database, there's an internal error message on the issue page


edit update, rollback to 24.10.0 seems to remove the problem, I can see there are a lot of migration files after 24.10 though, not sure if it will broken somewhere

weeband avatar Dec 17 '24 09:12 weeband

I think it's better to keep the issue open if the problem isn't resolved,

I have also encountered this issue, using last week's nightly build. the register form appears when I change the version to 24.9.0, but maybe because I haven't rollback database, there's an internal error message on the issue page

edit update, rollback to 24.10.0 seems to remove the problem, I can see there are a lot of migration files after 24.10 though, not sure if it will broken somewhere

For Information: I did not upgrade sentry. This is fresh Installation

Kishan0330 avatar Dec 17 '24 10:12 Kishan0330

I also encountered this problem, has anyone found a solution? I encountered this when installing release 24.12.0, rolled back to 24.8.0

maks5959 avatar Dec 19 '24 13:12 maks5959

Hi everyone! I got into the same situation after upgrading Sentry from 24.11.1 to 24.12.0 - the "Register" tab doesn't open anymore, disregarding whether I enabled the registration or just sent the invite to the user. The console has such errors:

Uncaught (in promise) ChunkLoadError
    at _.f.j (jsonp chunk loading:27:18)
    at ensure chunk:6:28
    at Array.reduce (<anonymous>)
    at _.e (ensure chunk:5:56)
    at e (index.tsx:74:27)
    at index.tsx:84:1
    at app.js:2:969
    at app.js:2:973

and

Refused to execute script from 'https://sentry-self-hosted-url/auth/login/mypr/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

@aldy505 I also checked your recommendation from https://github.com/getsentry/self-hosted/issues/2954#issuecomment-2053948765 - I had everything set.

disparo13 avatar Dec 20 '24 11:12 disparo13

I can confirm that this issue is happening for our self-hosted version 24.12.0 exactly like @disparo13 mentioned above.

We don't have registration enabled but invite new users.

Now I'm wondering if there is a workaround how we could add users in the meantime until this is fixed?

moreinhardt avatar Feb 05 '25 15:02 moreinhardt

I've managed to work around it. Go into the dev console and look for the div with id register and remove the class attribute. The register form will now be visible on the page and can be used as expected.

fpiribauer avatar Feb 06 '25 06:02 fpiribauer