You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything was working fine until a recent upgrade of Immich stack to 1.82.1. Then all of a sudden my photos stopped showing up and I tried to log out and relogin the app. After logging out and trying to login (via email and not OAuth), I get an error message that says: "StatusCode:500; "Internal Server Error"
The corresponding error in my server log:
[Nest] 7 - 10/21/2023, 4:03:33 PM ERROR [ExceptionsHandler] Unexpected token '<', "<!DOCTYPE "... is not valid JSON
10/21/2023
12:03:33 PM
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
10/21/2023
12:03:33 PM
at JSON.parse (<anonymous>)
10/21/2023
12:03:33 PM
at IncomingMessage.get (/usr/src/app/node_modules/openid-client/lib/helpers/request.js:153:30)
10/21/2023
12:03:33 PM
at processResponse (/usr/src/app/node_modules/openid-client/lib/helpers/process_response.js:55:25)
10/21/2023
12:03:33 PM
at Issuer.discover (/usr/src/app/node_modules/openid-client/lib/issuer.js:179:18)
10/21/2023
12:03:33 PM
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
10/21/2023
12:03:33 PM
at async AuthService.getOAuthClient (/usr/src/app/dist/domain/auth/auth.service.js:240:24)
10/21/2023
12:03:33 PM
at async AuthService.generateConfig (/usr/src/app/dist/domain/auth/auth.service.js:141:22)
10/21/2023
12:03:33 PM
at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
10/21/2023
12:03:33 PM
at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
My server is running behind Traefik. But none of those configs were changed and was working prior to the recent update. Not sure what's causing this error. I have no trouble logging in and out on desktop.
PUID=<<REDACTED>>PGID=<<REDACTED>>TZ=<<REDACTED>>##### DIRECTORIESDOCKERDIR=<<REDACTED>>##### DOMAINDOMAIN=<<REDACTED>>##################################################################################### IMMICH ENV######################################################################################################################################################################## Upload Directory File Locations## This is the location where uploaded files are stored.# Used for:# - immich-machine-learning# - immich-microservices# - immich-server#################################################################################### UPLOAD_LOCATION=absolute_location_on_your_machine_where_you_want_to_store_the_backup ### DEFAULT saves to one directory, but below splits the library and dataLIBRARY_LOCATION=/<<REDACTED>>/shared/pictures/photos/THUMBS_LOCATION=/<<REDACTED>>/docker/appdata/immich/upload/thumbs/UPLOAD_LOCATION=/<<REDACTED>>/docker/appdata/immich/upload/upload/PROFILE_LOCATION=/<<REDACTED>>/docker/appdata/immich/upload/profile/ENCODED_VIDEO_LOCATION=/<<REDACTED>>/docker/appdata/immich/upload/encoded-video/#################################################################################### POSTGRS Database#################################################################################### NOTE: The following four database variables support Docker secrets by adding a *_FILE suffix to the variable name# See the docker-compose documentation on secrets for additional details: https://docs.docker.com/compose/compose-file/compose-file-v3/#secretsDB_USERNAME=<<REDACTED>>DB_DATABASE_NAME=<<REDACTED>>DB_PASSWORD=<<REDACTED>>#################################################################################### Ports###################################################################################PORT=3000# DB_PORT=5432SERVER_PORT=3001MICROSERVICES_PORT=3002MACHINE_LEARNING_PORT=3003TYPESENSE_PORT=8108#################################################################################### Redis###################################################################################REDIS_HOSTNAME=immich_redis# Optional Redis settings:# Note: these parameters are not automatically passed to the Redis Container# to do so, please edit the docker-compose.yml file as well. Redis is not configured# via environment variables, only redis.conf or the command line# REDIS_PORT=6379# REDIS_DBINDEX=0# REDIS_USERNAME=# REDIS_PASSWORD=# REDIS_SOCKET=#################################################################################### Typesense###################################################################################TYPESENSE_API_KEY=<<REDACTED>># TYPESENSE_ENABLED=falseTYPESENSE_HOST=immich_typesense#################################################################################### Reverse Geocoding## Reverse geocoding is done locally which has a small impact on memory usage# This memory usage can be altered by changing the REVERSE_GEOCODING_PRECISION variable# This ranges from 0-3 with 3 being the most precise# 3 - Cities > 500 population: ~200MB RAM# 2 - Cities > 1000 population: ~150MB RAM# 1 - Cities > 5000 population: ~80MB RAM# 0 - Cities > 15000 population: ~40MB RAM##################################################################################### DISABLE_REVERSE_GEOCODING=false# REVERSE_GEOCODING_PRECISION=3##################################################################################### WEB - Optional## Custom message on the login page, should be written in HTML form.# For example:# PUBLIC_LOGIN_PAGE_MESSAGE="This is a demo instance of Immich.<br><br>Email: <i>[email protected]</i><br>Password: <i>demo</i>"####################################################################################PUBLIC_LOGIN_PAGE_MESSAGE=##################################################################################### Alternative Service Addresses - Optional## This is an advanced feature for users who may be running their immich services on different hosts.# It will not change which address or port that services bind to within their containers, but it will change where other services look for their peers.# Note: immich-microservices is bound to 3002, but no references are made####################################################################################IMMICH_WEB_URL=http://immich-web:3000IMMICH_SERVER_URL=http://immich-server:3001IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003##################################################################################### Alternative API's External Address - Optional## This is an advanced feature used to control the public server endpoint returned to clients during Well-known discovery.# You should only use this if you want mobile apps to access the immich API over a custom URL. Do not include trailing slash.# NOTE: At this time, the web app will not be affected by this setting and will continue to use the relative path: /api# Examples: http://localhost:3001, http://immich-api.example.com, etc#####################################################################################IMMICH_API_URL_EXTERNAL=http://localhost:3001#################################################################################### Immich Version - Optional## This allows all immich docker images to be pinned to a specific version. By default,# the version is "release" but could be a specific version, like "v1.59.0".###################################################################################IMMICH_VERSION=release####### Other environment Variables ######################################### Default=log; verbose, debug, log, warn, errorLOG_LEVEL=debug
Reproduction steps
1.Enter my external domain address that is directed to Immich on mobile app
2.Click next on the app
3.
...
This discussion was converted from issue #4580 on November 01, 2023 03:29.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The bug
Everything was working fine until a recent upgrade of Immich stack to 1.82.1. Then all of a sudden my photos stopped showing up and I tried to log out and relogin the app. After logging out and trying to login (via email and not OAuth), I get an error message that says: "StatusCode:500; "Internal Server Error"
The corresponding error in my server log:
My server is running behind Traefik. But none of those configs were changed and was working prior to the recent update. Not sure what's causing this error. I have no trouble logging in and out on desktop.
The OS that Immich Server is running on
Ubuntu
Version of Immich Server
v.1.82.1
Version of Immich Mobile App
v1.82.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions