immich-app / immich

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

[BUG] Phone timeline doesn't load if duration doesn't match 0:00:00.000000 #1907

Closed jagjordi closed 1 year ago

jagjordi commented 1 year ago

The bug

With the new versions, I'm getting errors and the timeline is not loading on the phone.

The OS that Immich Server is running on

unraid (debian based)

Version of Immich Server

1.50.1

Version of Immich Mobile App

v1.50.0 build.73

Platform with the issue

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    image: altran1502/immich-server:release
    entrypoint: ["/bin/sh", "./start-server.sh"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    image: altran1502/immich-server:release
    entrypoint: ["/bin/sh", "./start-microservices.sh"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    image: altran1502/immich-machine-learning:release
    entrypoint: ["/bin/sh", "./entrypoint.sh"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - database
    restart: always

  immich-web:
    image: altran1502/immich-web:release
    entrypoint: ["/bin/sh", "./entrypoint.sh"]
    env_file:
      - .env
    environment:
      # Rename these values for svelte public interface
      - PUBLIC_IMMICH_SERVER_URL=${IMMICH_SERVER_URL}
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14
    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: altran1502/immich-proxy:release
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always

volumes:
  pgdata:

### Your .env content

```Shell
###################################################################################
# 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=/mnt/user/Media/immich

###################################################################################
# Log message level - [simple|verbose]
###################################################################################

LOG_LEVEL=verbose

###################################################################################
# JWT SECRET
#
# This JWT_SECRET is used to sign the authentication keys for user login
# You should set it to a long randomly generated value
# You can use this command to generate one: openssl rand -base64 128
###################################################################################

JWT_SECRET=***

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

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

### Reproduction steps

```bash
1. Update server
2. Install latest apk
3. Log in and wait for timeline to load
...

Additional information

APP logs

created_at,level,context,message,stacktrace
2023-03-01 11:18:26.191738,INFO,"AssetNotifier","Reading assets 0 from cache: 9ms",""
2023-03-01 11:18:21.860992,INFO,"AssetNotifier","state is already up-to-date",""
2023-03-01 11:18:21.860946,INFO,"AssetNotifier","Load assets: 44024ms",""
2023-03-01 11:18:21.858065,SEVERE,"AssetService","Error while getting remote assets","#0      DurationExtension.toDuration.<anonymous closure> (package:immich_mobile/utils/builtin_extensions.dart)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:344)
#3      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#4      new _List.of (dart:core-patch/array.dart:127)
#5      new List.of (dart:core-patch/array_patch.dart:54)
#6      SetMixin.toList (dart:collection/set.dart:118)
#7      DurationExtension.toDuration (package:immich_mobile/utils/builtin_extensions.dart:4)
#8      new Asset.remote (package:immich_mobile/shared/models/asset.dart:15)
#9      SearchService.searchAsset.<anonymous closure> (package:immich_mobile/modules/search/services/search.service.dart:35)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:344)
#12     new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#13     new _List.of (dart:core-patch/array.dart:127)
#14     new List.of (dart:core-patch/array_patch.dart:54)
#15     SetMixin.toList (dart:collection/set.dart:118)
#16     AssetService.getRemoteAssets (package:immich_mobile/shared/services/asset.service.dart:50)
<asynchronous suspension>
#17     AssetNotifier.getAllAsset (package:immich_mobile/shared/providers/asset.provider.dart:132)
<asynchronous suspension>
"
2023-03-01 11:17:37.836343,INFO,"AssetNotifier","Reading assets 0 from cache: 5ms",""
2023-03-01 11:16:08.340043,INFO,"AssetNotifier","state is already up-to-date",""
2023-03-01 11:16:08.339932,INFO,"AssetNotifier","Load assets: 49041ms",""
2023-03-01 11:16:08.338821,SEVERE,"AssetService","Error while getting remote assets","#0      DurationExtension.toDuration.<anonymous closure> (package:immich_mobile/utils/builtin_extensions.dart)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:344)
#3      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#4      new _List.of (dart:core-patch/array.dart:127)
#5      new List.of (dart:core-patch/array_patch.dart:54)
#6      SetMixin.toList (dart:collection/set.dart:118)
#7      DurationExtension.toDuration (package:immich_mobile/utils/builtin_extensions.dart:4)
#8      new Asset.remote (package:immich_mobile/shared/models/asset.dart:15)
#9      SearchService.searchAsset.<anonymous closure> (package:immich_mobile/modules/search/services/search.service.dart:35)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:344)
#12     new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#13     new _List.of (dart:core-patch/array.dart:127)
#14     new List.of (dart:core-patch/array_patch.dart:54)
#15     SetMixin.toList (dart:collection/set.dart:118)
#16     AssetService.getRemoteAssets (package:immich_mobile/shared/services/asset.service.dart:50)
<asynchronous suspension>
#17     AssetNotifier.getAllAsset (package:immich_mobile/shared/providers/asset.provider.dart:132)
<asynchronous suspension>
"
2023-03-01 11:15:19.298004,INFO,"AssetNotifier","Reading assets 0 from cache: 26ms",""
2023-03-01 11:15:11.207402,INFO,"AssetNotifier","state is already up-to-date",""
2023-03-01 11:15:11.207266,INFO,"AssetNotifier","Load assets: 56059ms",""
2023-03-01 11:15:11.199264,SEVERE,"AssetService","Error while getting remote assets","#0      DurationExtension.toDuration.<anonymous closure> (package:immich_mobile/utils/builtin_extensions.dart)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:344)
#3      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#4      new _List.of (dart:core-patch/array.dart:127)
#5      new List.of (dart:core-patch/array_patch.dart:54)
#6      SetMixin.toList (dart:collection/set.dart:118)
#7      DurationExtension.toDuration (package:immich_mobile/utils/builtin_extensions.dart:4)
#8      new Asset.remote (package:immich_mobile/shared/models/asset.dart:15)
#9      SearchService.searchAsset.<anonymous closure> (package:immich_mobile/modules/search/services/search.service.dart:35)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:344)
#12     new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#13     new _List.of (dart:core-patch/array.dart:127)
#14     new List.of (dart:core-patch/array_patch.dart:54)
#15     SetMixin.toList (dart:collection/set.dart:118)
#16     AssetService.getRemoteAssets (package:immich_mobile/shared/services/asset.service.dart:50)
<asynchronous suspension>
#17     AssetNotifier.getAllAsset (package:immich_mobile/shared/providers/asset.provider.dart:132)
<asynchronous suspension>
"
2023-03-01 11:14:15.147485,INFO,"AssetNotifier","Reading assets 0 from cache: 9ms",""
2023-03-01 11:13:36.345367,INFO,"AssetNotifier","state is already up-to-date",""
2023-03-01 11:13:36.345292,INFO,"AssetNotifier","Load assets: 71742ms",""
2023-03-01 11:13:36.340251,SEVERE,"AssetService","Error while getting remote assets","#0      DurationExtension.toDuration.<anonymous closure> (package:immich_mobile/utils/builtin_extensions.dart)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:344)
#3      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#4      new _List.of (dart:core-patch/array.dart:127)
#5      new List.of (dart:core-patch/array_patch.dart:54)
#6      SetMixin.toList (dart:collection/set.dart:118)
#7      DurationExtension.toDuration (package:immich_mobile/utils/builtin_extensions.dart:4)
#8      new Asset.remote (package:immich_mobile/shared/models/asset.dart:15)
#9      SearchService.searchAsset.<anonymous closure> (package:immich_mobile/modules/search/services/search.service.dart:35)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:344)
#12     new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#13     new _List.of (dart:core-patch/array.dart:127)
#14     new List.of (dart:core-patch/array_patch.dart:54)
#15     SetMixin.toList (dart:collection/set.dart:118)
#16     AssetService.getRemoteAssets (package:immich_mobile/shared/services/asset.service.dart:50)
<asynchronous suspension>
#17     AssetNotifier.getAllAsset (package:immich_mobile/shared/providers/asset.provider.dart:132)
<asynchronous suspension>
"
2023-03-01 11:12:10.739223,INFO,"AssetNotifier","Reading assets 0 from cache: 30ms",""
2023-03-01 11:09:24.773429,INFO,"AssetNotifier","state is already up-to-date",""
2023-03-01 11:09:24.773349,INFO,"AssetNotifier","Load assets: 39634ms",""
2023-03-01 11:09:24.772669,SEVERE,"AssetService","Error while getting remote assets","#0      DurationExtension.toDuration.<anonymous closure> (package:immich_mobile/utils/builtin_extensions.dart)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:344)
#3      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#4      new _List.of (dart:core-patch/array.dart:127)
#5      new List.of (dart:core-patch/array_patch.dart:54)
#6      SetMixin.toList (dart:collection/set.dart:118)
#7      DurationExtension.toDuration (package:immich_mobile/utils/builtin_extensions.dart:4)
#8      new Asset.remote (package:immich_mobile/shared/models/asset.dart:15)
#9      SearchService.searchAsset.<anonymous closure> (package:immich_mobile/modules/search/services/search.service.dart:35)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:344)
#12     new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#13     new _List.of (dart:core-patch/array.dart:127)
#14     new List.of (dart:core-patch/array_patch.dart:54)
#15     SetMixin.toList (dart:collection/set.dart:118)
#16     AssetService.getRemoteAssets (package:immich_mobile/shared/services/asset.service.dart:50)
<asynchronous suspension>
#17     AssetNotifier.getAllAsset (package:immich_mobile/shared/providers/asset.provider.dart:132)
<asynchronous suspension>
"
2023-03-01 11:08:45.138564,INFO,"AssetNotifier","Reading assets 0 from cache: 41ms",""
2023-03-01 11:08:45.091213,INFO,"AssetNotifier","state is already up-to-date",""
2023-03-01 11:08:45.091139,INFO,"AssetNotifier","Load assets: 48256ms",""
2023-03-01 11:08:45.088177,SEVERE,"AssetService","Error while getting remote assets","#0      DurationExtension.toDuration.<anonymous closure> (package:immich_mobile/utils/builtin_extensions.dart)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:344)
#3      new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#4      new _List.of (dart:core-patch/array.dart:127)
#5      new List.of (dart:core-patch/array_patch.dart:54)
#6      SetMixin.toList (dart:collection/set.dart:118)
#7      DurationExtension.toDuration (package:immich_mobile/utils/builtin_extensions.dart:4)
#8      new Asset.remote (package:immich_mobile/shared/models/asset.dart:15)
#9      SearchService.searchAsset.<anonymous closure> (package:immich_mobile/modules/search/services/search.service.dart:35)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:415)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:344)
#12     new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162)
#13     new _List.of (dart:core-patch/array.dart:127)
#14     new List.of (dart:core-patch/array_patch.dart:54)
#15     SetMixin.toList (dart:collection/set.dart:118)
#16     AssetService.getRemoteAssets (package:immich_mobile/shared/services/asset.service.dart:50)
<asynchronous suspension>
#17     AssetNotifier.getAllAsset (package:immich_mobile/shared/providers/asset.provider.dart:132)
<asynchronous suspension>
"
2023-03-01 11:06:54.848875,INFO,"AssetNotifier","Reading assets 0 from cache: 14ms",""
bo0tzz commented 1 year ago

Are there any error logs on the immich-server container?

jagjordi commented 1 year ago
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [NestFactory] Starting Nest application...
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +366ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] ConfigModule dependencies initialized +10ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +294ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [NestFactory] Starting Nest application...
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +328ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] DownloadModule dependencies initialized +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +2ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] ConfigModule dependencies initialized +16ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] ScheduleModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +1707ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] ServerInfoModule dependencies initialized +5ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] ScheduleTasksModule dependencies initialized +14ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TagModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] AlbumModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] JobModule dependencies initialized +3ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] InfraModule dependencies initialized +10ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] DomainModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] AssetModule dependencies initialized +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] AppModule dependencies initialized +6ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AppController {/}: +302ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/refresh-config, POST} route +6ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] APIKeyController {/api-key}: +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key, POST} route +2ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AuthController {/auth}: +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/login, POST} route +2ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +2ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] DeviceInfoController {/device-info}: +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/device-info, PUT} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] OAuthController {/oauth}: +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/config, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] ShareController {/share}: +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/me, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/:id, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/:id, DELETE} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/:id, PATCH} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] SystemConfigController {/system-config}: +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] UserController {/user}: +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/info/:userId, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/me, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/:userId, DELETE} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/:userId/restore, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user, PUT} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/profile-image/:userId, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AssetController {/asset}: +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/upload, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/download/:assetId, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/download-files, POST} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/download-library, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/file/:assetId, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/thumbnail/:assetId, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/search, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/count-by-time-bucket, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/count-by-user-id, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/time-bucket, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/:assetId, PUT} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset, DELETE} route +0ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/check, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/exist, POST} route +1ms
immich-immich-server-1         | [Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/shared-link, POST} route +0ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [MetadataExtractionProcessor] Initializing Reverse Geocoding
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] InfraModule dependencies initialized +42ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] DomainModule dependencies initialized +1ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [InstanceLoader] MicroservicesModule dependencies initialized +0ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [NestApplication] Nest application successfully started +80ms
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:57:43 AM     LOG [ImmichMicroservice] Running Immich Microservices in PRODUCTION environment - version 1.50.1 - Listening on port: 3002
immich-immich-microservices-1  | [Nest] 1  - 03/01/2023, 9:58:01 AM     LOG [MetadataExtractionProcessor] Reverse Geocoding Initialised
Error response from daemon: configured logging driver does not support reading
jrasm91 commented 1 year ago

Those logs don't actually ever show the server startup message. Can you pull the latest logs for the immich server container?

jagjordi commented 1 year ago

Is this what you mean?

root@Tower:~# docker logs immich-immich-server-1
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [NestFactory] Starting Nest application...
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +328ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] DownloadModule dependencies initialized +0ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +2ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] ConfigModule dependencies initialized +16ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] ScheduleModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:45 AM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +1707ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] ServerInfoModule dependencies initialized +5ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] ScheduleTasksModule dependencies initialized +14ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] TagModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] AlbumModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] JobModule dependencies initialized +3ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] InfraModule dependencies initialized +10ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] DomainModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] AssetModule dependencies initialized +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [InstanceLoader] AppModule dependencies initialized +6ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AppController {/}: +302ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/refresh-config, POST} route +6ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] APIKeyController {/api-key}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key, POST} route +2ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AuthController {/auth}: +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/login, POST} route +2ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +2ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] DeviceInfoController {/device-info}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/device-info, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] OAuthController {/oauth}: +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/config, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] ShareController {/share}: +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/me, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/:id, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/:id, DELETE} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/share/:id, PATCH} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] SystemConfigController {/system-config}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] UserController {/user}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/info/:userId, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/me, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/:userId, DELETE} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/:userId/restore, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user, PUT} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/user/profile-image/:userId, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AssetController {/asset}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/upload, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/download/:assetId, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/download-files, POST} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/download-library, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/file/:assetId, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/thumbnail/:assetId, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/search, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/count-by-time-bucket, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/count-by-user-id, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/time-bucket, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/:assetId, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset, DELETE} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/check, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/exist, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/shared-link, POST} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/shared-link/add, PATCH} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/asset/shared-link/remove, PATCH} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] TagController {/tag}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/tag, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/tag, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/tag/:id, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/tag/:id, PATCH} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/tag/:id, DELETE} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] AlbumController {/album}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/count-by-user-id, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album, POST} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId/users, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId/assets, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId/assets, DELETE} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId, DELETE} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId/user/:userId, DELETE} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId, PATCH} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/:albumId/download, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/album/create-shared-link, POST} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] ServerInfoController {/server-info}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/server-info, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/server-info/version, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/server-info/stats, GET} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RoutesResolver] JobController {/jobs}: +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/jobs, GET} route +0ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [RouterExplorer] Mapped {/jobs/:jobId, PUT} route +1ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [NestApplication] Nest application successfully started +43ms
[Nest] 1  - 03/01/2023, 9:57:47 AM     LOG [ImmichServer] Running Immich Server in PRODUCTION environment - version 1.50.1 - Listening on port: 3001
[Nest] 1  - 03/01/2023, 9:57:47 AM    WARN [ImmichServer] Machine learning is enabled
[Nest] 1  - 03/01/2023, 10:01:05 AM     LOG [CommunicationGateway] New websocket connection: fuKRk5KqnfJwC9LrAAAB
[Nest] 1  - 03/01/2023, 10:01:08 AM     LOG [CommunicationGateway] Client fuKRk5KqnfJwC9LrAAAB disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:01:20 AM     LOG [CommunicationGateway] New websocket connection: 0afbYo-z1LwhBMmoAAAD
[Nest] 1  - 03/01/2023, 10:02:27 AM     LOG [CommunicationGateway] Client 0afbYo-z1LwhBMmoAAAD disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:02:30 AM     LOG [CommunicationGateway] New websocket connection: mFIOhyT8gQWMfTAAAAAF
[Nest] 1  - 03/01/2023, 10:02:46 AM     LOG [CommunicationGateway] Client mFIOhyT8gQWMfTAAAAAF disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:06:55 AM     LOG [CommunicationGateway] New websocket connection: r-gr7FmuAqdEa8nSAAAH
[Nest] 1  - 03/01/2023, 10:06:56 AM     LOG [CommunicationGateway] New websocket connection: 9LeVAoM6lsO_7KxTAAAJ
[Nest] 1  - 03/01/2023, 10:07:29 AM     LOG [CommunicationGateway] Client 9LeVAoM6lsO_7KxTAAAJ disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:08:05 AM     LOG [CommunicationGateway] Client r-gr7FmuAqdEa8nSAAAH disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:08:45 AM     LOG [CommunicationGateway] New websocket connection: eW2E_v5tcasrt9dSAAAL
[Nest] 1  - 03/01/2023, 10:08:46 AM     LOG [CommunicationGateway] New websocket connection: hs0f8HbZ91jXwO67AAAN
[Nest] 1  - 03/01/2023, 10:09:35 AM     LOG [CommunicationGateway] Client hs0f8HbZ91jXwO67AAAN disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:11:36 AM     LOG [CommunicationGateway] Client eW2E_v5tcasrt9dSAAAL disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:12:11 AM     LOG [CommunicationGateway] New websocket connection: GXxXUmpD11c8K8MsAAAP
[Nest] 1  - 03/01/2023, 10:12:12 AM     LOG [CommunicationGateway] New websocket connection: PQMnSlBR3vAzmuOcAAAR
[Nest] 1  - 03/01/2023, 10:12:16 AM     LOG [CommunicationGateway] Client PQMnSlBR3vAzmuOcAAAR disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:14:15 AM     LOG [CommunicationGateway] New websocket connection: 3gEz8VgMFGB62IzIAAAT
[Nest] 1  - 03/01/2023, 10:14:31 AM     LOG [CommunicationGateway] Client 3gEz8VgMFGB62IzIAAAT disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:14:31 AM     LOG [CommunicationGateway] New websocket connection: KYef5x46PRlBjGLcAAAV
[Nest] 1  - 03/01/2023, 10:14:31 AM     LOG [CommunicationGateway] Client KYef5x46PRlBjGLcAAAV disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:15:19 AM     LOG [CommunicationGateway] New websocket connection: TQN4iMuOlk4MEjjbAAAX
[Nest] 1  - 03/01/2023, 10:15:35 AM     LOG [CommunicationGateway] Client TQN4iMuOlk4MEjjbAAAX disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:15:50 AM     LOG [CommunicationGateway] New websocket connection: DDIQHZgVcB9Noa_XAAAZ
[Nest] 1  - 03/01/2023, 10:15:51 AM     LOG [CommunicationGateway] Client DDIQHZgVcB9Noa_XAAAZ disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:17:38 AM     LOG [CommunicationGateway] New websocket connection: rmUly5uU-V8e1oRJAAAb
[Nest] 1  - 03/01/2023, 10:17:40 AM     LOG [CommunicationGateway] Client rmUly5uU-V8e1oRJAAAb disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:17:54 AM     LOG [CommunicationGateway] New websocket connection: shkeyUATtPt6g2ekAAAd
[Nest] 1  - 03/01/2023, 10:18:17 AM     LOG [CommunicationGateway] New websocket connection: qpYhLo9N717Gd-JyAAAf
[Nest] 1  - 03/01/2023, 10:18:18 AM     LOG [CommunicationGateway] Client qpYhLo9N717Gd-JyAAAf disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:18:26 AM     LOG [CommunicationGateway] New websocket connection: Ka6fQIZgm1v5Rs_-AAAh
[Nest] 1  - 03/01/2023, 10:18:29 AM     LOG [CommunicationGateway] Client Ka6fQIZgm1v5Rs_-AAAh disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:18:45 AM     LOG [CommunicationGateway] New websocket connection: V7YBX4otthrl8DHCAAAj
[Nest] 1  - 03/01/2023, 10:18:46 AM     LOG [CommunicationGateway] Client V7YBX4otthrl8DHCAAAj disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:25:48 AM     LOG [CommunicationGateway] Client shkeyUATtPt6g2ekAAAd disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:25:48 AM     LOG [CommunicationGateway] Client GXxXUmpD11c8K8MsAAAP disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:29:19 AM     LOG [CommunicationGateway] New websocket connection: rnC4KjqNx2WgIxdrAAAl
[Nest] 1  - 03/01/2023, 10:29:20 AM     LOG [CommunicationGateway] New websocket connection: dn_KJebWQdlFNww7AAAn
[Nest] 1  - 03/01/2023, 10:37:00 AM     LOG [CommunicationGateway] Client dn_KJebWQdlFNww7AAAn disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:37:00 AM     LOG [CommunicationGateway] Client rnC4KjqNx2WgIxdrAAAl disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:41:25 AM     LOG [CommunicationGateway] New websocket connection: RuuaTa0dUN9fvyLIAAAp
[Nest] 1  - 03/01/2023, 10:41:25 AM     LOG [CommunicationGateway] New websocket connection: NP_9ZH2HlmhTELS2AAAr
[Nest] 1  - 03/01/2023, 10:49:56 AM     LOG [CommunicationGateway] Client NP_9ZH2HlmhTELS2AAAr disconnected from Websocket
[Nest] 1  - 03/01/2023, 10:49:56 AM     LOG [CommunicationGateway] Client RuuaTa0dUN9fvyLIAAAp disconnected from Websocket
root@Tower:~#
jrasm91 commented 1 year ago

Yup, looks like it is up and running fine. There's often breaking changes in the server/mobile and failing to get remote assets usually indicates a version mismatch or that the server is unreachable, but neither of those look to be the case here.

jagjordi commented 1 year ago

Any pointers on how to fix it? Or any other info/logs that I should provide to help debug this?

jrasm91 commented 1 year ago

I think there is an error with the duration property on one (some?) assets that is causing the mobile app to fail when loading it (them).

If you want to validate that guess, you can look at all your assets as json via an api request, like this:

https://demo.immich.app/api/asset

It'll be a big response, especially if you have a lot of assets, but duration is supposed to be a string like this:

image

If you find a duration entry on an asset that doesn't follow that pattern, that's probably the issue. It would be helpful if you could locate the asset so we could test and try to reproduce the issue internally. Otherwise we're going to update the mobile app to try/catch that parsing so it should still work in the case it is invalid.

jagjordi commented 1 year ago

I found two elements with duration that doesn't match. Is it possible to

immich=# SELECT                           
duration, "originalPath", id
FROM 
assets
WHERE duration !~ '[0-9]\:[0-9]{2}\:[0-9]{2}\.[0-9]{6}';
      duration      |                                          originalPath                                           |                  id        

--------------------+-------------------------------------------------------------------------------------------------+----------------------------
----------
 NaN:NaN:NaN.000000 | upload/a8e843dc-2b16-4175-b247-8ee5539f08ab/2022/2022-10-10/init.mp4                            | 39f2daf2-4f05-4f12-aae9-6c0
d5802d26a
 NaN:NaN:NaN.000000 | upload/9d015ed5-e62c-4dac-b6f6-3f5f25c73e00/2021/2021-02-14/John Brown petit indi (música).webm | ef776f3b-6639-4d23-9abb-36c
1b1f994b2
(2 rows)

Is it possible to edit that somehow? Since its unimportant files I will delete them and try to sync with the phone app again and let you know if that solved the issue

jagjordi commented 1 year ago

I have deleted them now and the timeline loads correctly. On a side note: one of the elements the .webm I could find in the timeline and delete it from the browser, however the other one was not showing in the timeline so I deleted it from the database. I think that it is beacuse it was probably a wired file from an online stream (or similar) and thats why it didn't show.

jrasm91 commented 1 year ago

Assets only show up in the timeline if they have a valid thumbnail, so maybe thumbnail extraction failed for that one. Can you share either of those files in order to try to replicate the issue?

jagjordi commented 1 year ago

Here they are: https://user-images.githubusercontent.com/14058667/222502111-e8709505-bd71-48be-b446-8d07f6abd61a.mp4 John Brown petit indi (música).webm

jrasm91 commented 1 year ago

The library we are using says the duration field is supposed to be a number or undefined! But it is a string!

image image