#Soft Locked out of web UI

1 messages · Page 1 of 1 (latest)

warped ivy
#

I was tinkering around with adding Authentik in front of my Immich instance (both setup iva Portainer on the same machine), and I accidentally set the wrong URL for the oauth issuer and logged out to test it. Now, whenever I go to my Immich URL I get stuck on this screen. Before setting up Authentik, I had been using Immich just fine for a few months.

Here's the actual error from the immich_server container:

[Nest] 17  - 07/06/2024, 2:54:54 AM   ERROR [Api:AuthService~z5ny3rwf] Error in OAuth discovery: RPError: outgoing request timed out after 30000ms

[Nest] 17  - 07/06/2024, 2:54:54 AM   ERROR [Api:AuthService~z5ny3rwf] RPError: outgoing request timed out after 30000ms

    at /usr/src/app/node_modules/openid-client/lib/helpers/request.js:140:13

    at async Issuer.discover (/usr/src/app/node_modules/openid-client/lib/issuer.js:143:22)

    at async AuthService.getOAuthClient (/usr/src/app/dist/services/auth.service.js:249:28)

    at async AuthService.authorize (/usr/src/app/dist/services/auth.service.js:141:24)

[Nest] 17  - 07/06/2024, 2:54:54 AM   DEBUG [Api:LoggingInterceptor~z5ny3rwf] POST /api/oauth/authorize 201 30005.85ms [ip]

[Nest] 17  - 07/06/2024, 2:54:54 AM   DEBUG [Api:HttpExceptionFilter~z5ny3rwf] HttpException(500) {"message":"Error in OAuth discovery: RPError: outgoing request timed out after 30000ms","statusCode":500}

And the error from the web console:

[handleError]: Unable to login with OAuth Error: Error: 500
    Immutable 2
 de@https://<my_immich_url>/_app/immutable/chunks/fetch-client.vy9D4DHV.js:1:2948
fe@https://<my_immich_url>/_app/immutable/chunks/fetch-client.vy9D4DHV.js:1:2872

Is there a way I can edit the oauth URL from inside one of the containers? I tried looking through the tables in the immich_database container but nothing stood out to me. My setup is basically verbatim what is described in https://immich.app/docs/install/portainer.

keen sirenBOT
#

:wave: Hey @warped ivy,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

keen sirenBOT
bleak shoal
#

There's some admin commands you can run inside the server to fix this

#

You'll find them in the docs, or I can get you a link in a few hours when I'm at a pc

warped ivy