imagegenius / docker-immich

Monolithic (Single) Docker Container for Immich

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot connect to immich WebUI (Unraid)

adamzvolanek opened this issue · comments

Using my docker-compose file with the Immich all in one, I cannot seem to be able to access the Immich webUI when using Unraid.

Immich Docker-Compose File

  • My Nvidia GPU is not in my test server so the last 4 environment lines are commented out for immich:
      #- MACHINE_LEARNING_GPU_ACCELERATION=cuda # NVIDIA
      #- MACHINE_LEARNING_WORKERS=1 #optional
      #- MACHINE_LEARNING_WORKER_TIMEOUT=120 #optional
      #- NVIDIA_VISIBLE_DEVICES=${NVIDIA_GPUID}
Env files (combined for Unraid)
# Docker Configuration
DOCKER_NETWORK=test_network
LAN_NETWORK=192.168.1.0/24
SERVER_IP=192.168....
SERVER_NAME=Alexandria
PUID=99
PGID=100
TZ=America/Chicago
# Immich Env
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich
REDIS_PASSWORD=testKey123!@321yeKtset
NVIDIA_GPUID=GPU-123456789-987654321
POSTGRES_PORT=5433

Immich logs:

[04/03/24 22:14:34] INFO     Starting gunicorn 21.2.0                           
[04/03/24 22:14:34] INFO     Listening at: http://0.0.0.0:3003 (182)            
[04/03/24 22:14:34] INFO     Using worker: uvicorn.workers.UvicornWorker        
[04/03/24 22:14:34] INFO     Booting worker with pid: 218                       
[Nest] 186  - 04/03/2024, 10:14:36 PM     LOG [EventRepository] Initialized websocket server
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [SystemConfigService] LogLevel=log (set via system config)
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [MetadataRepository] Initializing metadata repository
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [MetadataService] Initialized local reverse geocoder
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [NestFactory] Starting Nest application...
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] BullModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] OpenTelemetryModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] OpenTelemetryCoreModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] ConfigModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] EventEmitterModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] BullModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] BullModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [InstanceLoader] MicroservicesModule dependencies initialized
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [NestApplication] Nest application successfully started
[Nest] 186  - 04/03/2024, 10:14:37 PM     LOG [ImmichMicroservice] Immich Microservices is listening on http://[::1]:3002 [v1.100.0] [PRODUCTION] 
[04/03/24 22:14:44] INFO     Started server process [218]                       
[04/03/24 22:14:44] INFO     Waiting for application startup.                   
[04/03/24 22:14:44] INFO     Created in-memory cache with unloading after 300s  
                             of inactivity.                                     
[04/03/24 22:14:44] INFO     Initialized request thread pool with 4 threads.    
[04/03/24 22:14:44] INFO     Application startup complete.    

I expect to be able to access Immich via port server_IP:6781 however this is not the case.

The default port is 8080

The default port is 8080

I'm dumb and forgot to update the Internal docker port from

    ports:
      - "${SERVER_IP}:6781:6781"

To

    ports:
      - "${SERVER_IP}:6781:8080"

Close my issue!

We have all been there 😅