-
The bugSince the release of Immich v1.106.4, I cannot log in with one of my iOS devices. Instead, the app shows the message:
(See also the screenshot below.) First, I thought that the release of the corresponding iOS app in vv1.106.4 was slightly delayed but since the initial release of v1.106.4 was before two weeks, I do not think there will be an updated iOS app. On another iOS device that was logged in before updating the server to v1.106.4, everything works as expected. The OS that Immich Server is running onDebian 11 (bullseye) Version of Immich Serverv1.106.4 Version of Immich Mobile Appv1.106.3 Platform with the issue
Your docker-compose.yml contentversion: "3.6"
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
ports:
- 2283:3001
depends_on:
- redis
- database
restart: always
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
redis:
container_name: immich_redis
image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
restart: always
database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
PG_DATA: /var/lib/postgresql/data
volumes:
- pgdata:/var/lib/postgresql/data
restart: always
volumes:
pgdata:
model-cache:
data:
driver_opts:
type: "nfs"
o: "addr=10.0.1.69,nolock,soft,rw,intr,rsize=8192,wsize=8192,timeo=20,retrans=3,proto=tcp"
device: ":/mnt/ironwolfraidfs/immich-mount" Your .env content###################################################################################
# Database
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich
# Optional Database settings:
# DB_PORT=5432
###################################################################################
# Redis
###################################################################################
REDIS_HOSTNAME=immich_redis
# Optional Redis settings:
# REDIS_PORT=6379
# REDIS_DBINDEX=0
# REDIS_PASSWORD=
# REDIS_SOCKET=
###################################################################################
# Upload File Location
#
# This is the location where uploaded files are stored.
###################################################################################
UPLOAD_LOCATION=data
###################################################################################
# Typesense
###################################################################################
#TYPESENSE_API_KEY=some-random-text
TYPESENSE_ENABLED=false
# TYPESENSE_URL uses base64 encoding for the nodes json.
# Example JSON that was used:
# [
# { 'host': 'typesense-1.example.net', 'port': '443', 'protocol': 'https' },
# { 'host': 'typesense-2.example.net', 'port': '443', 'protocol': 'https' },
# { 'host': 'typesense-3.example.net', 'port': '443', 'protocol': 'https' },
# ]
# TYPESENSE_URL=ha://$redacted
###################################################################################
# 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>demo@demo.de</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:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_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=https://photos.redacted.tld Reproduction steps1. Download the iOS app in the latest version (v1.106.3) currently available.
2. Try to use the app to log in to an Immich server with v1.106.4
3. See the error message (screenshot above). Relevant log outputNo response Additional informationIf you need any additional information please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Can you try to access your instance over local ip? |
Beta Was this translation helpful? Give feedback.
-
I've installed the latest update (from the iOS app store) and updated the server to the most recent version. Still no luck in logging in via the second iOS device. I've also ensured that the recommended reverse proxy settings were used in my reverse proxy config. I've also configured the Immich iOS app to the "finest" log level but the logs only show entries like this:
Any other ideas? |
Beta Was this translation helpful? Give feedback.
-
I got it working now. @alextran1502, you were right, my reverse proxy configuration was breaking the login process of the iOS app. (Besides that I have no idea why it works on my primary iOS device, though.) The Immich documentation page [1] does not mention that the Immich app must be able to access |
Beta Was this translation helpful? Give feedback.
I got it working now. @alextran1502, you were right, my reverse proxy configuration was breaking the login process of the iOS app. (Besides that I have no idea why it works on my primary iOS device, though.)
The Immich documentation page [1] does not mention that the Immich app must be able to access
$host/.well-known/immich
. After correcting this in my configuration, the login works as expected.[1] https://immich.app/docs/administration/reverse-proxy/