immich-app / immich

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

[BUG] Importing read-only gallery of 1.0 TByte size crashes frequently #3416

Closed JarlMorgennebel closed 1 year ago

JarlMorgennebel commented 1 year ago

The bug

docker run -it --rm -v /mnt/media/existing-morgennebel:/mnt/media/existing-morgennebel ghcr.io/immich-app/immich-cli:latest upload --key VxxxXXXxxxU --server http://192.168.1.XXX/api /mnt/media/existing-morgennebel --recursive --import

to import about 57.000 files will crash. Latest 1.68.0 server and immich-cli docker.

Error asset:  {
  file: '/mnt/media/existing-morgennebel/Familie-Photos/2010-2014/Familie 1403 - Lennarts Geburtstagsfeier/DSC_7221.NEF',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-morgennebel/Familie-Photos/2010-2014/Familie 1403 - Lennarts Geburtstagsfeier/DSC_7222.NEF',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-morgennebel/Familie-Photos/2010-2014/Familie 1403 - Lennarts Geburtstagsfeier/DSC_7223.NEF',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}

and

Error asset:  {
  file: '/mnt/media/existing-morgennebel/Familie-Photos/2020-2024/Familie 2009 - Inekes neue Brille/IMG_20200921_072847_1.jpg',
  reason: Error: getaddrinfo EAI_AGAIN 192.168.1.XXX
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
    errno: -3001,
    code: 'EAI_AGAIN',
    syscall: 'getaddrinfo',
    hostname: '192.168.1.XXX',
    config: {
      transitional: [Object],
      adapter: [Function: httpAdapter],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: Infinity,
      maxBodyLength: Infinity,
      validateStatus: [Function: validateStatus],
      headers: [Object],
      method: 'post',
      maxRedirects: 0,
      url: 'http://192.168.1.XXX/api/asset/import',
      data: '{"deviceAssetId":"IMG_20200921_072847_1.jpg-4954343","deviceId":"CLI","assetType":"IMAGE","fileCreatedAt":"2020-09-21T05:28:50.000Z","fileModifiedAt":"2020-09-21T05:28:50.000Z","isFavorite":"false","fileExtension":".jpg","duration":"0:00:00.000000","isReadOnly":"true","assetPath":"/mnt/media/existing-oliver/Familie-Photos/2020-2024/Familie 2009 - Inekes neue Brille/IMG_20200921_072847_1.jpg"}'
    },
    request: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 395,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: true,
      socket: [Socket],
      _header: 'POST /api/asset/import HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json\r\n' +
        'x-api-key: VxxxXXXxxxU\r\n' +
        'User-Agent: axios/0.26.0\r\n' +
        'Content-Length: 395\r\n' +
        'Host: 192.168.1.XXX\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/api/asset/import',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: '192.168.1.XXX',
      protocol: 'http:',
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    response: undefined,
    isAxiosError: true,
    toJSON: [Function: toJSON]
  },
  response: undefined
}

and

Error asset:  {
  file: '/mnt/media/existing-morgennebel/Familie-Photos/2010-2014/Familie 1401 - Opis Geburtstagsfeier/DSC_7047.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-morgennebel/Familie-Photos/2010-2014/Familie 1401 - Opis Geburtstagsfeier/DSC_7048.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}

Note: API keys and server information redacted.

The OS that Immich Server is running on

Devuan base OS, docker-compose for Immich

Version of Immich Server

v1.68.0

Version of Immich Mobile App

Not used

Platform with the issue

Your docker-compose.yml content

version: "3.3"

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

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /mnt/media/existing-nina:/mnt/media/existing-nina:ro
      - /mnt/media/existing-oliver:/mnt/media/existing-oliver: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:${IMMICH_VERSION:-release}
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  immich-web:
    container_name: immich_web
    image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-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
    logging:
      driver: none
    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:${IMMICH_VERSION:-release}
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 80:8080
    depends_on:
      - immich-server
      - immich-web
    restart: always

volumes:
  pgdata:
  model-cache:
  tsdata:

Your .env content

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

# NOTE: The following four database variables support Docker secrets by adding a *_FILE suffix to the variable name
# See the docker-compose documentation on secrets for additional details: https://docs.docker.com/compose/compose-file/compose-file-v3/#secrets
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

# REDIS_URL will be used to pass custom options to ioredis.
# Example for Sentinel
# {"sentinels":[{"host":"redis-sentinel-node-0","port":26379},{"host":"redis-sentinel-node-1","port":26379},{"host":"redis-sentinel-node-2","port":26379}],"name":"redis-senti
nel"}
# REDIS_URL=ioredis://eyJzZW50aW5lbHMiOlt7Imhvc3QiOiJyZWRpcy1zZW50aW5lbDEiLCJwb3J0IjoyNjM3OX0seyJob3N0IjoicmVkaXMtc2VudGluZWwyIiwicG9ydCI6MjYzNzl9XSwibmFtZSI6Im15bWFzdGVyIn0=

# 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_USERNAME=
# REDIS_PASSWORD=
# REDIS_SOCKET=

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

UPLOAD_LOCATION=/mnt/media/immich+existing

###################################################################################
# Typesense
###################################################################################
TYPESENSE_API_KEY=opsijfijsh0984u903jfv032jfsdsdf
# TYPESENSE_ENABLED=false
# TYPESENSE_URL uses base64 encoding for the nodes json.
# Example JSON that was used:
# [
#      { "host": "typesense-1.example.net", "port": "443", "protocol": "https" },
#      { "host": "typesense-2.example.net", "port": "443", "protocol": "https" },
#      { "host": "typesense-3.example.net", "port": "443", "protocol": "https" },
# ]
# TYPESENSE_URL=ha://WwogIHsgImhvc3QiOiAidHlwZXNlbnNlLTEuZXhhbXBsZS5uZXQiLCAicG9ydCI6ICI0NDMiLCAicHJvdG9jb2wiOiAiaHR0cHMiIH0sCiAgeyAiaG9zdCI6ICJ0eXBlc2Vuc2UtMi5leGFtcGxlLm5ld
CIsICJwb3J0IjogIjQ0MyIsICJwcm90b2NvbCI6ICJodHRwcyIgfSwKICB7ICJob3N0IjogInR5cGVzZW5zZS0zLmV4YW1wbGUubmV0IiwgInBvcnQiOiAiNDQzIiwgInByb3RvY29sIjogImh0dHBzIiB9Cl0=

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

####################################################################################
# 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=http://localhost:3001

###################################################################################
# Immich Version - Optional
#
# This allows all immich docker images to be pinned to a specific version. By default,
# the version is "release" but could be a specific version, like "v1.59.0".
###################################################################################

#IMMICH_VERSION=

Reproduction steps

docker run -it --rm -v /mnt/media/existing-morgennebel:/mnt/media/existing-morgennebel ghcr.io/immich-app/immich-cli:latest upload --key VxxxXXXxxxU --server http://192.168.1.XXX/api /mnt/media/existing-morgennebel --recursive --import

Additional information

RAW files from Nikon and Fujifilm.

alextran1502 commented 1 year ago

Please update your immich cli to the latest version 0.40.1

JarlMorgennebel commented 1 year ago

Done (my installed version was 23 hrs old). Removed image, pulled new.

Same errors. Again reproduceable.

JarlMorgennebel commented 1 year ago

No change after upgrade to 0.40.2.

alextran1502 commented 1 year ago

What is the error message are you seeing? How much resources do you allocate for the server?

JarlMorgennebel commented 1 year ago

Server is a Wyse 5070 with J5005 CPU (4 cores at 2.50 GHz), 32 GByte RAM, 512 GB SSD and 2TB SSD external. No other processes are running.


Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9198.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9199.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9200.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9201.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9202.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9203.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9204.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9205.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9206.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9207.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9208.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9209.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9210.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9211.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9212.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9213.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9214.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9215.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9216.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9217.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9218.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9219.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9220.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9221.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9222.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9223.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9224.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9225.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9226.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9227.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9228.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9229.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9230.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9231.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9232.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9233.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9234.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9235.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9236.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9237.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9238.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9239.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9240.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}
Error asset:  {
  file: '/mnt/media/existing-oliver/Familie-Photos/2010-2014/Familie 1107 - Blumen, Dänemark/DSCF9241.dng',
  reason: TypeError: mimeType.split is not a function
      at getAssetType (/usr/src/app/bin/index.js:462:21)
      at /usr/src/app/bin/index.js:319:31
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71
      at new Promise (<anonymous>)
      at __awaiter (/usr/src/app/bin/index.js:28:12)
      at startUpload (/usr/src/app/bin/index.js:317:12)
      at /usr/src/app/bin/index.js:225:51
      at Generator.next (<anonymous>)
      at /usr/src/app/bin/index.js:32:71,
  response: undefined
}```
alextran1502 commented 1 year ago

What is your output of immich --version?

JarlMorgennebel commented 1 year ago

On the server:

root@memories:/opt/docker-immich+existing# docker exec -it immich_server /bin/sh /usr/src/app # /usr/local/bin/immich --version 0.40.1

Now I am confused. I am sure I have pulled an update this Morning for docker-compose.

The CLI to import is 0.40.2:

root@memories:/opt/docker-immich+existing# docker inspect ghcr.io/immich-app/immich-cli ... "org.opencontainers.image.version": "v0.40.2" ....

JarlMorgennebel commented 1 year ago

Okay, for the server side I did

root@memories:/opt/docker-immich+existing# docker-compose down root@memories:/opt/docker-immich+existing# docker rmi $(docker images -q)

to delete all images

root@memories:/opt/docker-immich+existing# docker-compose pull root@memories:/opt/docker-immich+existing# docker-compose up -d root@memories:/opt/docker-immich+existing# docker exec -it immich_server /bin/sh /usr/src/app # /usr/local/bin/immich --version 0.40.1

Still 0.40.1 within the freshly pulled docker?

JarlMorgennebel commented 1 year ago

Updated all containers today, now the import just crashes without an information

root@memories:~# docker run -it --rm -v /mnt/media/existing-morgennebel:/mnt/media/existing-morgennebel ghcr.io/immich-app/immich-cli:latest upload --key VxxxXXXxxxU --server https://memories/de/api /mnt/media/existing-morgennebel --recursive --import
Unable to find image 'ghcr.io/immich-app/immich-cli:latest' locally
latest: Pulling from immich-app/immich-cli
8663204ce13b: Pull complete 
d19b13245430: Pull complete 
e4a0f03ce8f3: Pull complete 
e319ab3d00f8: Pull complete 
ac0b5a0989ee: Pull complete 
49b1a3e905e8: Pull complete 
975c16250d47: Pull complete 
a5b79a1f3aa5: Pull complete 
591cbbeb35a5: Pull complete 
ee246c275611: Pull complete 
Digest: sha256:cf4660f061ec2cb370b803698468362da5144aa7ed2621d4f1d2fbf6d1739712
Status: Downloaded newer image for ghcr.io/immich-app/immich-cli:latest
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user XXXXX@XXXXX.de
Indexing local assets...
Indexing complete, found 56587 local assets
Comparing local assets with those on the Immich instance...
A total of 1520 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 2% || 1520/56587 || Current file [/mnt/media/existing-morgennebel/Familie-Videos/From Dropbox 20161024/From Dropbox 20161
root@memories:~# 
alextran1502 commented 1 year ago

@JarlMorgennebel It doesn't crash. It is finished, the info bar is misleading and will be fixed in the re-write of the tool that we are working on

image
alextran1502 commented 1 year ago

Since you are using the new version of the CLI and it works, I will close this issue. Please let me know if you need additional assistant