immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
52.05k stars 2.76k forks source link

[BUG] /server-info/config is 404 not found #4493

Closed smallst closed 1 year ago

smallst commented 1 year ago

The bug

in recent docker version the homepage cannot be opened because /server-info/config route is 404 not found image image

The OS that Immich Server is running on

Arch

Version of Immich Server

docker release

Version of Immich Mobile App

1.79.0 build.103

Platform with the issue

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:release
    command: ["start.sh", "immich"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:release
    extends:
      file: hwaccel.yml
      service: hwaccel
    command: ["start.sh", "microservices"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:release
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  immich-web:
    container_name: immich_web
    image: ghcr.io/immich-app/immich-web:release
    env_file:
      - .env
    restart: always

  typesense:
    container_name: immich_typesense
    image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
    environment:
      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
      - TYPESENSE_DATA_DIR=/data
      # remove this to get debug messages
      - GLOG_minloglevel=1
    volumes:
      - tsdata:/data
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441
    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

  immich-proxy:
    container_name: immich_proxy
    image: ghcr.io/immich-app/immich-proxy:release
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    depends_on:
      - immich-server
      - immich-web
    restart: always

volumes:
  pgdata:
  model-cache:
  tsdata:

Your .env content

###################################################################################
# Database
###################################################################################

DB_HOSTNAME=immich_postgres
DB_USERNAME=myuser
DB_PASSWORD=mypass
DB_DATABASE_NAME=immich

# Optional Database settings:
# DB_PORT=5432

###################################################################################
# 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_PASSWORD=
# REDIS_SOCKET=

###################################################################################
# Upload File Location
#
# This is the location where uploaded files are stored.
###################################################################################

UPLOAD_LOCATION=/var/lib/immich/data

IMMICH_VERSION=release

###################################################################################
# Typesense
###################################################################################
TYPESENSE_API_KEY=mykey
# TYPESENSE_ENABLED=false

###################################################################################
# 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="Fox and chio's Photos/Videos Server"

####################################################################################
# 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

####################################################################################
# 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

Reproduction steps

1. docker-compose pull
2. docker-compose up -d
3. visit either :2283 or nginx proxied website
...

Additional information

my nginx proxy config:

server {
    listen 443;
    server_name immich.lo;
    ssl_certificate /etc/nginx/ssl/immich.lo/immich.lo.crt;
    ssl_certificate_key /etc/nginx/ssl/immich.lo/immich.lo.decrypted.key;
    ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
  ssl_prefer_server_ciphers on;
  location / {
          proxy_pass http://localhost:2283;
    proxy_set_header Host              $http_host;
        proxy_set_header X-Real-IP         $remote_addr;
        proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        # http://nginx.org/en/docs/http/websocket.html
        proxy_http_version 1.1;
        proxy_set_header   Upgrade    $http_upgrade;
        proxy_set_header   Connection "upgrade";
        proxy_redirect off;
  }
}
alextran1502 commented 1 year ago

Can you please provide the logs from immich-server?

smallst commented 1 year ago

trying to use docker-compose logs -f to get logs but when i open the web there's no server logs. here're old logs before i open the web

immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [NestFactory] Starting Nest application...
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +70ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] ConfigModule dependencies initialized +7ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:39 AM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:41 AM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +1761ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:41 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:41 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:41 AM     LOG [InstanceLoader] InfraModule dependencies initialized +5ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:41 AM     LOG [InstanceLoader] AppModule dependencies initialized +3ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:41 AM     LOG [InstanceLoader] DomainModule dependencies initialized +20msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] AssetController {/asset}: +579ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/map-marker, GET} route +3ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/memory-lane, GET} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/download/info, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/download/archive, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/download/:id, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/statistics, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/time-buckets, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/time-bucket, GET} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/jobs, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/:id, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] AssetController {/asset}: +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/upload, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/import, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/file/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/thumbnail/:id, GET} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/search, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset, GET} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/assetById/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/check, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/exist, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/asset/bulk-upload-check, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] AppController {/}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/refresh-config, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] AlbumController {/album}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/count, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id, PATCH} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id/assets, PUT} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id/assets, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id/users, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/album/:id/user/:userId, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] APIKeyController {/api-key}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/api-key, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/api-key, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] AuditController {/audit}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/audit/deletes, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] AuthController {/auth}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/login, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/devices, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/devices, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/devices/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] JobController {/jobs}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/jobs, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/jobs/:id, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] OAuthController {/oauth}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/oauth/config, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/oauth/authorize, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] PartnerController {/partner}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/partner, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/partner/:id, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/partner/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] SearchController {/search}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/search, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/search/explore, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] ServerInfoController {/server-info}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/server-info, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/server-info/version, GET} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/server-info/features, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/server-info/stats, GET} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/server-info/media-types, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] SharedLinkController {/shared-link}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link/me, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link/:id, PATCH} route +1msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link/:id/assets, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/shared-link/:id/assets, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] SystemConfigController {/system-config}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] TagController {/tag}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag/:id, PATCH} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag/:id/assets, GET} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag/:id/assets, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/tag/:id/assets, DELETE} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] UserController {/user}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/info/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/me, GET} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user, POST} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/:id, DELETE} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/:id/restore, POST} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/user/profile-image/:id, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RoutesResolver] PersonController {/person}: +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person/:id, GET} route +1ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person/:id, PUT} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person/:id/thumbnail, GET} route +0ms
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person/:id/assets, GET} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [RouterExplorer] Mapped {/person/:id/merge, POST} route +0msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [SearchService] Running bootstrap
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [TypesenseRepository] Schema up to date: assets/assets-v8
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [TypesenseRepository] Schema up to date: albums/albums-v2
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [TypesenseRepository] Schema up to date: faces/faces-v1
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v2","name":"albums"},{"collection_name":"assets-v8","name":"assets"}]immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false}
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [AppService] Feature Flags: {
immich_server  |   "clipEncode": true,
immich_server  |   "facialRecognition": true,
immich_server  |   "tagImage": true,
immich_server  |   "sidecar": true,
immich_server  |   "search": true,
immich_server  |   "oauth": false,
immich_server  |   "oauthAutoLaunch": false,
immich_server  |   "passwordLogin": true,
immich_server  |   "configFile": false
immich_server  | }
immich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [NestApplication] Nest application successfully started +8msimmich_server  | [Nest] 7  - 10/16/2023, 4:54:42 AM     LOG [ImmichServer] Immich Server is listening on http://[::1]:3001 [v1.77.0] [PRODUCTION]
immich_server  | [Nest] 7  - 10/16/2023, 5:01:46 AM     LOG [CommunicationGateway] New websocket connection: EEPY96qo4wKpQ71lAAAB
immich_server  | [Nest] 7  - 10/16/2023, 5:02:18 AM     LOG [CommunicationGateway] Client EEPY96qo4wKpQ71lAAAB disconnected from Websocket
immich_server  | [Nest] 7  - 10/16/2023, 5:05:59 AM     LOG [CommunicationGateway] New websocket connection: E_0NpOqjzNJsanQ8AAAD
immich_server  | [Nest] 7  - 10/16/2023, 5:06:34 AM     LOG [CommunicationGateway] Client E_0NpOqjzNJsanQ8AAAD disconnected from Websocket
immich_server  | [Nest] 7  - 10/16/2023, 5:15:16 AM     LOG [CommunicationGateway] New websocket connection: FbU4poCQaYi_2NtPAAAF
immich_server  | [Nest] 7  - 10/16/2023, 5:15:18 AM     LOG [CommunicationGateway] Client FbU4poCQaYi_2NtPAAAF disconnected from Websocket
smallst commented 1 year ago

btw there're some machine-learning and microserver error. i don't know if it's related:

immich_machine_learning  | [10/16/23 05:01:56] ERROR    Exception in ASGI application
immich_machine_learning  |                              Traceback (most recent call last):
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/uvicorn/pro
immich_machine_learning  |                              tocols/http/httptools_impl.py", line 435, in
immich_machine_learning  |                              run_asgi
immich_machine_learning  |                                  result = await app(  # type:
immich_machine_learning  |                              ignore[func-returns-value]
immich_machine_learning  |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              ^^^^^^^^
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/uvicorn/mid
immich_machine_learning  |                              dleware/proxy_headers.py", line 78, in __call__
immich_machine_learning  |                                  return await self.app(scope, receive, send)
immich_machine_learning  |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/uvicorn/mid
immich_machine_learning  |                              dleware/message_logger.py", line 86, in __call__
immich_machine_learning  |                                  raise exc from None
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/uvicorn/mid
immich_machine_learning  |                              dleware/message_logger.py", line 82, in __call__
immich_machine_learning  |                                  await self.app(scope, inner_receive,
immich_machine_learning  |                              inner_send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/fastapi/app
immich_machine_learning  |                              lications.py", line 276, in __call__
immich_machine_learning  |                                  await super().__call__(scope, receive, send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/a
immich_machine_learning  |                              pplications.py", line 122, in __call__
immich_machine_learning  |                                  await self.middleware_stack(scope, receive,
immich_machine_learning  |                              send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/m
immich_machine_learning  |                              iddleware/errors.py", line 184, in __call__
immich_machine_learning  |                                  raise exc
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/m
immich_machine_learning  |                              iddleware/errors.py", line 162, in __call__
immich_machine_learning  |                                  await self.app(scope, receive, _send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/m
immich_machine_learning  |                              iddleware/exceptions.py", line 79, in __call__
immich_machine_learning  |                                  raise exc
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/m
immich_machine_learning  |                              iddleware/exceptions.py", line 68, in __call__
immich_machine_learning  |                                  await self.app(scope, receive, sender)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/fastapi/mid
immich_machine_learning  |                              dleware/asyncexitstack.py", line 21, in __call__
immich_machine_learning  |                                  raise e
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/fastapi/mid
immich_machine_learning  |                              dleware/asyncexitstack.py", line 18, in __call__
immich_machine_learning  |                                  await self.app(scope, receive, send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/r
immich_machine_learning  |                              outing.py", line 718, in __call__
immich_machine_learning  |                                  await route.handle(scope, receive, send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/r
immich_machine_learning  |                              outing.py", line 276, in handle
immich_machine_learning  |                                  await self.app(scope, receive, send)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/starlette/r
immich_machine_learning  |                              outing.py", line 66, in app
immich_machine_learning  |                                  response = await func(request)
immich_machine_learning  |                                             ^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/fastapi/rou
immich_machine_learning  |                              ting.py", line 237, in app
immich_machine_learning  |                                  raw_response = await run_endpoint_function(
immich_machine_learning  |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/fastapi/rou
immich_machine_learning  |                              ting.py", line 163, in run_endpoint_function
immich_machine_learning  |                                  return await dependant.call(**values)
immich_machine_learning  |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                                File "/usr/src/app/main.py", line 70, in predict
immich_machine_learning  |                                  model: InferenceModel = await
immich_machine_learning  |                              app.state.model_cache.get(model_name, model_type,
immich_machine_learning  |                              **orjson.loads(options))
immich_machine_learning  |                                                          ^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              ^^^^^^
immich_machine_learning  |                                File "/usr/src/app/models/cache.py", line 53, in
immich_machine_learning  |                              get
immich_machine_learning  |                                  model =
immich_machine_learning  |                              InferenceModel.from_model_type(model_type,
immich_machine_learning  |                              model_name, **model_kwargs)
immich_machine_learning  |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                                File "/usr/src/app/models/base.py", line 126, in
immich_machine_learning  |                              from_model_type
immich_machine_learning  |                                  return subclasses[model_type](model_name,
immich_machine_learning  |                              **model_kwargs)
immich_machine_learning  |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              ^^^^^^^^^^
immich_machine_learning  |                                File "/usr/src/app/models/clip.py", line 43, in
immich_machine_learning  |                              __init__
immich_machine_learning  |                                  super().__init__(jina_model_name, cache_dir,
immich_machine_learning  |                              **model_kwargs)
immich_machine_learning  |                                File "/usr/src/app/models/base.py", line 58, in
immich_machine_learning  |                              __init__
immich_machine_learning  |                                  loader(**model_kwargs)
immich_machine_learning  |                                File "/usr/src/app/models/base.py", line 78, in
immich_machine_learning  |                              load
immich_machine_learning  |                                  self._load(**model_kwargs)
immich_machine_learning  |                                File "/usr/src/app/models/clip.py", line 68, in
immich_machine_learning  |                              _load
immich_machine_learning  |                                  self.vision_model = ort.InferenceSession(
immich_machine_learning  |                                                      ^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/onnxruntime
immich_machine_learning  |                              /capi/onnxruntime_inference_collection.py", line
immich_machine_learning  |                              383, in __init__
immich_machine_learning  |                                  self._create_inference_session(providers,
immich_machine_learning  |                              provider_options, disabled_optimizers)
immich_machine_learning  |                                File
immich_machine_learning  |                              "/opt/venv/lib/python3.11/site-packages/onnxruntime
immich_machine_learning  |                              /capi/onnxruntime_inference_collection.py", line
immich_machine_learning  |                              424, in _create_inference_session
immich_machine_learning  |                                  sess = C.InferenceSession(session_options,
immich_machine_learning  |                              self._model_path, True,
immich_machine_learning  |                              self._read_config_from_model)
immich_machine_learning  |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
immich_machine_learning  |                              onnxruntime.capi.onnxruntime_pybind11_state.NoSuchF
immich_machine_learning  |                              ile: [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load
immich_machine_learning  |                              model from /cache/clip/ViT-B-32__openai/visual.onnx
immich_machine_learning  |                              failed:Load model
immich_machine_learning  |                              /cache/clip/ViT-B-32__openai/visual.onnx failed.
immich_machine_learning  |                              File doesn't exist
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Object:
immich_microservices     | {
immich_microservices     |   "id": "4c8734f1-7f70-444d-8737-819fd74c7cd3",
immich_microservices     |   "source": "upload"
immich_microservices     | }
immich_microservices     |
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Unable to run job handler: SyntaxError: Unexpected token I in JSON at position 0
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] SyntaxError: Unexpected token I in JSON at position 0
immich_microservices     |     at JSON.parse (<anonymous>)
immich_microservices     |     at parseJSONFromBytes (node:internal/deps/undici/undici:6662:19)
immich_microservices     |     at successSteps (node:internal/deps/undici/undici:6636:27)
immich_microservices     |     at node:internal/deps/undici/undici:1236:60
immich_microservices     |     at node:internal/process/task_queues:140:7
immich_microservices     |     at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
immich_microservices     |     at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
immich_microservices     |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Object:
immich_microservices     | {
immich_microservices     |   "id": "4c8734f1-7f70-444d-8737-819fd74c7cd3",
immich_microservices     |   "source": "upload"
immich_microservices     | }
immich_microservices     |
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Unable to run job handler: SyntaxError: Unexpected token I in JSON at position 0
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] SyntaxError: Unexpected token I in JSON at position 0
immich_microservices     |     at JSON.parse (<anonymous>)
immich_microservices     |     at parseJSONFromBytes (node:internal/deps/undici/undici:6662:19)
immich_microservices     |     at successSteps (node:internal/deps/undici/undici:6636:27)
immich_microservices     |     at node:internal/deps/undici/undici:1236:60
immich_microservices     |     at node:internal/process/task_queues:140:7
immich_microservices     |     at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
immich_microservices     |     at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
immich_microservices     |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Object:
immich_microservices     | {
immich_microservices     |   "id": "a0f390ca-1ede-49d7-9346-f9cabf99fdca",
immich_microservices     |   "source": "upload"
immich_microservices     | }
immich_microservices     |
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Unable to run job handler: SyntaxError: Unexpected token I in JSON at position 0
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] SyntaxError: Unexpected token I in JSON at position 0
immich_microservices     |     at JSON.parse (<anonymous>)
immich_microservices     |     at parseJSONFromBytes (node:internal/deps/undici/undici:6662:19)
immich_microservices     |     at successSteps (node:internal/deps/undici/undici:6636:27)
immich_microservices     |     at node:internal/deps/undici/undici:1236:60
immich_microservices     |     at node:internal/process/task_queues:140:7
immich_microservices     |     at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
immich_microservices     |     at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
immich_microservices     |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_microservices     | [Nest] 7  - 10/16/2023, 5:01:56 AM   ERROR [JobService] Object:
immich_microservices     | {
immich_microservices     |   "id": "a0f390ca-1ede-49d7-9346-f9cabf99fdca",
immich_microservices     |   "source": "upload"
immich_microservices     | }
immich_microservices     |
jrasm91 commented 1 year ago

Your immich server is on 1.77. Please make sure it is on the same version as the web and mobile app.

alextran1502 commented 1 year ago

Also please make sure to update to the latest version 1.81