ImmichI
Immich4mo ago
ilSaul

Redis Auth Issue After Switching to Valkey – Immich Won’t Start

Hey folks! 👋
I’ve been running Immich smoothly for about 6 months, but recently it stopped working out of nowhere—looks like it’s choking on Redis auth. I’m not sure if I had already switched to Valkey or if that happened during the crash, but since then I haven’t been able to get it back online.
Here’s the error I’m seeing:
ReplyError: WRONGPASS invalid username-password pair or user is disabled.
    at parseError (/usr/src/app/server/node_modules/.pnpm/redis-parser@3.0.0/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (/usr/src/app/server/node_modules/.pnpm/redis-parser@3.0.0/node_modules/redis-parser/lib/parser.js:302:14) {
   command: { name: 'auth', args: [ 'immich', '' ] }
}

🔍 A few things I’ve tried:
  • Logging in via redis-cli using both the password and no password → works fine.
  • Double-checked that the password is correctly passed in .env and not empty.
  • Tried using a custom Redis user (immich) instead of the default Valkey user → still no luck.
    I’d prefer not to use the default Valkey user for security reasons, so I’m trying to stick with a dedicated user and password.
    Here’s a snippet of my setup:
    .env
    UPLOAD_LOCATION=/immich/library
    DB_DATA_LOCATION=./postgres 
    IMMICH_VERSION=release 
    DB_PASSWORD=PRIVATE 
    DB_USERNAME=immich 
    DB_DATABASE_NAME=immich 
    REDIS_HOST=valkey 
    REDIS_PORT=6379 
    REDIS_USERNAME=immich 
    REDIS_PASSWORD=PRIVATE
docker-compose.yml
services:
  immich-server:
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    env_file:
      - .env
    ports:
      - 2283:2283
    networks:
      - redis-tier
      - immich-tear

Redis is reachable, and I can authenticate manually, but Immich keeps throwing the WRONGPASS error. Has anyone managed to get Immich working with Valkey + custom Redis ACLs?
Any tips or working configs would be super appreciated 🙏
Was this page helpful?