Error 401 #7594

Closed
opened 2026-02-05 13:10:14 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Patten310 on GitHub (Oct 21, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

On my Raspberry I get the Error 401 and the user witch is syncing photos disapears in the user settings. After a reboot the user is back again.

🚨 Fehler - Etwas ist schief gelaufen

Invalid user token (401)

Stapelaufgaben
Error: Error: 401
at Object.ut [as ok] (http://192.168.178.166:2283/_app/immutable/chunks/DpesxEck.js:1:5550)
at async Ti (http://192.168.178.166:2283/_app/immutable/chunks/BFFs6sFd.js:1:72412)
at async St (http://192.168.178.166:2283/_app/immutable/nodes/41.Cd4LUiVN.js:1:1443)
at async Fe (http://192.168.178.166:2283/_app/immutable/chunks/UkRvvlex.js:1:17195)

The OS that Immich Server is running on

Raspberry OS

Version of Immich Server

2.1.0

Version of Immich Mobile App

2.1.0

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Iphon 15 Pro

Your docker-compose.yml content

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-rele>
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaa>
    volumes:
      # Do not edit the next line. If you want to change the media>
      - ${UPLOAD_LOCATION}:/data
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, rocm, o>
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VER>
    # extends: # uncomment this section for hardware acceleration >
    #   file: hwaccel.ml.yml
    #   service: cpu # set to one of [armnn, cuda, rocm, openvino,>
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/valkey/valkey:8-bookworm@sha256:fea8b3e67b157>
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database >
      # DB_STORAGE_TYPE: 'HDD'
    volumes:
      # Do not edit the next line. If you want to change the datab>
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    shm_size: 128mb
    restart: always

volumes:
  model-cache:

Your .env content

You can find documentation for all the supported env variables a>

# The location where your uploaded files are stored
UPLOAD_LOCATION=./library

# The location where your database files are stored. Network share>
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to>
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific versio>
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random>
# Please use only the characters `A-Za-z0-9`, without special char>
DB_PASSWORD=

# The values below this line do not need to be changed
##################################################################>
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

  1. Syncing photos

...

Relevant log output


Additional information

No response

Originally created by @Patten310 on GitHub (Oct 21, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug On my Raspberry I get the Error 401 and the user witch is syncing photos disapears in the user settings. After a reboot the user is back again. 🚨 Fehler - Etwas ist schief gelaufen Invalid user token (401) Stapelaufgaben Error: Error: 401 at Object.ut [as ok] (http://192.168.178.166:2283/_app/immutable/chunks/DpesxEck.js:1:5550) at async Ti (http://192.168.178.166:2283/_app/immutable/chunks/BFFs6sFd.js:1:72412) at async St (http://192.168.178.166:2283/_app/immutable/nodes/41.Cd4LUiVN.js:1:1443) at async Fe (http://192.168.178.166:2283/_app/immutable/chunks/UkRvvlex.js:1:17195) ### The OS that Immich Server is running on Raspberry OS ### Version of Immich Server 2.1.0 ### Version of Immich Mobile App 2.1.0 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Device make and model Iphon 15 Pro ### Your docker-compose.yml content ```YAML name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-rele> # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaa> volumes: # Do not edit the next line. If you want to change the media> - ${UPLOAD_LOCATION}:/data - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, rocm, o> # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VER> # extends: # uncomment this section for hardware acceleration > # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, rocm, openvino,> volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/valkey/valkey:8-bookworm@sha256:fea8b3e67b157> healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database > # DB_STORAGE_TYPE: 'HDD' volumes: # Do not edit the next line. If you want to change the datab> - ${DB_DATA_LOCATION}:/var/lib/postgresql/data shm_size: 128mb restart: always volumes: model-cache: ``` ### Your .env content ```Shell You can find documentation for all the supported env variables a> # The location where your uploaded files are stored UPLOAD_LOCATION=./library # The location where your database files are stored. Network share> DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to> # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific versio> IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random> # Please use only the characters `A-Za-z0-9`, without special char> DB_PASSWORD= # The values below this line do not need to be changed ##################################################################> DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. Syncing photos 2. ... ### Relevant log output ```shell ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7594