[BUG]: Mobile app wont upload #884

Closed
opened 2026-02-04 23:17:25 +03:00 by OVERLORD · 23 comments
Owner

Originally created by @0xEmma on GitHub (May 23, 2023).

The bug

Mobile app will not upload photos, worked ~2 days ago, now gets stuck at "uploading file info" when photos are due for upload.
issue

The OS that Immich Server is running on

Ubuntu 22.04, K3S v1.26.4+k3s1

Version of Immich Server

v1.57.1

Version of Immich Mobile App

v1.57.0 Build 97

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

common:
  addons:
    codeserver:
      args:
      - --auth
      - none
      enabled: false
      env: {}
      git:
        deployKey: ""
        deployKeyBase64: ""
        deployKeySecret: ""
      image:
        pullPolicy: IfNotPresent
        repository: ghcr.io/coder/code-server
        tag: 4.11.0
      ingress:
        annotations: {}
        enabled: false
        hosts:
        - host: code.chart-example.local
          paths:
          - path: /
            pathType: Prefix
        ingressClassName: null
        labels: {}
        tls: []
      securityContext:
        runAsUser: 0
      service:
        annotations: {}
        enabled: true
        labels: {}
        ports:
          codeserver:
            enabled: true
            port: 12321
            protocol: TCP
            targetPort: 12321
        type: ClusterIP
      volumeMounts: []
      workingDir: ""
    netshoot:
      enabled: false
      env: {}
      image:
        pullPolicy: IfNotPresent
        repository: ghcr.io/nicolaka/netshoot
        tag: v0.9
      securityContext:
        capabilities:
          add:
          - NET_ADMIN
    vpn:
      additionalVolumeMounts: []
      args: []
      configFile: null
      configFileSecret: null
      enabled: false
      env: {}
      gluetun:
        image:
          pullPolicy: IfNotPresent
          repository: docker.io/qmcgaw/gluetun
          tag: v3.33.0
      livenessProbe: {}
      networkPolicy:
        annotations: {}
        egress: null
        enabled: false
        labels: {}
        podSelectorLabels: {}
      scripts:
        down: null
        up: null
      securityContext:
        capabilities:
          add:
          - NET_ADMIN
          - SYS_MODULE
      type: gluetun
  affinity: {}
  args: []
  automountServiceAccountToken: true
  command: []
  configMaps:
    config:
      annotations: {}
      data: {}
      enabled: false
      labels: {}
  controller:
    annotations: {}
    cronjob:
      concurrencyPolicy: Forbid
      failedJobsHistory: 1
      schedule: '*/20 * * * *'
      startingDeadlineSeconds: 30
      successfulJobsHistory: 1
      ttlSecondsAfterFinished: null
    enabled: true
    labels: {}
    podManagementPolicy: null
    replicas: 1
    restartPolicy: null
    revisionHistoryLimit: 3
    rollingUpdate:
      partition: null
      surge: null
      unavailable: null
    strategy: null
    type: deployment
  dnsConfig: {}
  dnsPolicy: null
  enableServiceLinks: true
  env: null
  envFrom: []
  global:
    annotations: {}
    fullnameOverride: null
    labels: {}
    nameOverride: null
  hostAliases: []
  hostNetwork: false
  hostname: null
  image:
    pullPolicy: null
    repository: null
    tag: null
  imagePullSecrets: []
  ingress:
    main:
      annotations: {}
      enabled: false
      hosts:
      - host: chart-example.local
        paths:
        - path: /
          pathType: Prefix
          service:
            name: null
            port: null
      ingressClassName: null
      labels: {}
      nameOverride: null
      primary: true
      tls: []
  initContainers: {}
  lifecycle: {}
  nodeSelector: {}
  persistence:
    config:
      accessMode: ReadWriteOnce
      enabled: false
      existingClaim: null
      mountPath: null
      nameOverride: null
      readOnly: false
      retain: false
      size: 1Gi
      storageClass: null
      subPath: null
      type: pvc
    shared:
      enabled: false
      medium: null
      mountPath: /shared
      sizeLimit: null
      type: emptyDir
  podAnnotations: {}
  podLabels: {}
  podSecurityContext: {}
  priorityClassName: null
  probes:
    liveness:
      custom: false
      enabled: true
      spec:
        failureThreshold: 3
        initialDelaySeconds: 0
        periodSeconds: 10
        timeoutSeconds: 1
      type: TCP
    readiness:
      custom: false
      enabled: true
      spec:
        failureThreshold: 3
        initialDelaySeconds: 0
        periodSeconds: 10
        timeoutSeconds: 1
      type: TCP
    startup:
      custom: false
      enabled: true
      spec:
        failureThreshold: 30
        initialDelaySeconds: 0
        periodSeconds: 5
        timeoutSeconds: 1
      type: TCP
  resources: {}
  route:
    main:
      annotations: {}
      enabled: false
      hostnames: []
      kind: HTTPRoute
      labels: {}
      nameOverride: null
      parentRefs:
      - group: gateway.networking.k8s.io
        kind: Gateway
        name: null
        namespace: null
        sectionName: null
      rules:
      - backendRefs:
        - group: ""
          kind: Service
          name: null
          namespace: null
          port: null
          weight: 1
        matches:
        - path:
            type: PathPrefix
            value: /
  runtimeClassName: null
  schedulerName: null
  secrets:
    secret:
      annotations: {}
      enabled: false
      labels: {}
      stringData: {}
  securityContext: {}
  service:
    main:
      annotations: {}
      enabled: true
      externalTrafficPolicy: null
      ipFamilies: []
      ipFamilyPolicy: null
      labels: {}
      nameOverride: null
      ports:
        http:
          enabled: true
          extraSelectorLabels: {}
          nodePort: null
          port: null
          primary: true
          protocol: HTTP
          targetPort: null
      primary: true
      type: ClusterIP
  serviceAccount:
    annotations: {}
    create: false
    name: ""
  serviceMonitor:
    main:
      annotations: {}
      enabled: false
      endpoints:
      - interval: 1m
        path: /metrics
        port: http
        scheme: http
        scrapeTimeout: 10s
      labels: {}
      nameOverride: null
      selector: {}
      serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}'
  sidecars: {}
  termination:
    gracePeriodSeconds: null
    messagePath: null
    messagePolicy: null
  tolerations: []
  topologySpreadConstraints: []
  volumeClaimTemplates: []
env:
  DB_DATABASE_NAME: '{{ .Values.postgresql.global.postgresql.auth.database }}'
  DB_HOSTNAME: '{{ .Release.Name }}-postgresql'
  DB_PASSWORD: '{{ .Values.postgresql.global.postgresql.auth.password }}'
  DB_USERNAME: '{{ .Values.postgresql.global.postgresql.auth.username }}'
  IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name
    }}'
  IMMICH_SERVER_URL: '{{ printf "http://%s-server:3001" .Release.Name }}'
  IMMICH_WEB_URL: '{{ printf "http://%s-web:3000" .Release.Name }}'
  REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}'
  TYPESENSE_API_KEY: '{{ .Values.typesense.env.TYPESENSE_API_KEY }}'
  TYPESENSE_ENABLED: '{{ .Values.typesense.enabled }}'
  TYPESENSE_HOST: '{{ printf "%s-typesense" .Release.Name }}'
image:
  tag: v1.57.1
immich:
  persistence:
    library:
      existingClaim: immich-data
machine-learning:
  enabled: true
  env:
    TRANSFORMERS_CACHE: /cache
  image:
    pullPolicy: IfNotPresent
    repository: ghcr.io/immich-app/immich-machine-learning
  persistence:
    cache:
      accessMode: ReadWriteMany
      enabled: true
      size: 10Gi
      type: emptyDir
microservices:
  enabled: true
  env:
    DISABLE_REVERSE_GEOCODING: "true"
    REVERSE_GEOCODING_DUMP_DIRECTORY: /geodata-cache
  image:
    pullPolicy: IfNotPresent
    repository: ghcr.io/immich-app/immich-server
  persistence:
    geodata-cache:
      accessMode: ReadWriteMany
      enabled: true
      size: 1Gi
      type: emptyDir
postgresql:
  architecture: standalone
  audit:
    clientMinMessages: error
    logConnections: false
    logDisconnections: false
    logHostname: false
    logLinePrefix: ""
    logTimezone: ""
    pgAuditLog: ""
    pgAuditLogCatalog: "off"
  auth:
    database: ""
    enablePostgresUser: true
    existingSecret: ""
    password: ""
    postgresPassword: ""
    replicationPassword: ""
    replicationUsername: repl_user
    secretKeys:
      adminPasswordKey: postgres-password
      replicationPasswordKey: replication-password
      userPasswordKey: password
    usePasswordFiles: false
    username: ""
  clusterDomain: cluster.local
  common:
    exampleValue: common-chart
    global:
      imagePullSecrets: []
      imageRegistry: ""
      postgresql:
        auth:
          database: immich
          existingSecret: ""
          password: immich
          postgresPassword: ""
          secretKeys:
            adminPasswordKey: ""
            replicationPasswordKey: ""
            userPasswordKey: ""
          username: immich
        service:
          ports:
            postgresql: ""
      storageClass: ""
  commonAnnotations: {}
  commonLabels: {}
  containerPorts:
    postgresql: 5432
  diagnosticMode:
    args:
    - infinity
    command:
    - sleep
    enabled: false
  enabled: true
  extraDeploy: []
  fullnameOverride: ""
  global:
    imagePullSecrets: []
    imageRegistry: ""
    postgresql:
      auth:
        database: immich
        existingSecret: ""
        password: immich
        postgresPassword: ""
        secretKeys:
          adminPasswordKey: ""
          replicationPasswordKey: ""
          userPasswordKey: ""
        username: immich
      service:
        ports:
          postgresql: ""
    storageClass: ""
  image:
    debug: false
    digest: ""
    pullPolicy: IfNotPresent
    pullSecrets: []
    registry: docker.io
    repository: bitnami/postgresql
    tag: 14.5.0-debian-11-r6
  kubeVersion: ""
  ldap:
    basedn: ""
    binddn: ""
    bindpw: ""
    enabled: false
    port: ""
    prefix: ""
    scheme: ""
    searchAttribute: ""
    searchFilter: ""
    server: ""
    suffix: ""
    tls:
      enabled: false
    uri: ""
  metrics:
    containerPorts:
      metrics: 9187
    containerSecurityContext:
      enabled: true
      runAsNonRoot: true
      runAsUser: 1001
    customLivenessProbe: {}
    customMetrics: {}
    customReadinessProbe: {}
    customStartupProbe: {}
    enabled: false
    extraEnvVars: []
    image:
      digest: ""
      pullPolicy: IfNotPresent
      pullSecrets: []
      registry: docker.io
      repository: bitnami/postgres-exporter
      tag: 0.11.1-debian-11-r0
    livenessProbe:
      enabled: true
      failureThreshold: 6
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    prometheusRule:
      enabled: false
      labels: {}
      namespace: ""
      rules: []
    readinessProbe:
      enabled: true
      failureThreshold: 6
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    resources:
      limits: {}
      requests: {}
    service:
      annotations:
        prometheus.io/port: '{{ .Values.metrics.service.ports.metrics }}'
        prometheus.io/scrape: "true"
      clusterIP: ""
      ports:
        metrics: 9187
      sessionAffinity: None
    serviceMonitor:
      enabled: false
      honorLabels: false
      interval: ""
      jobLabel: ""
      labels: {}
      metricRelabelings: []
      namespace: ""
      relabelings: []
      scrapeTimeout: ""
      selector: {}
    startupProbe:
      enabled: false
      failureThreshold: 15
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
  nameOverride: ""
  networkPolicy:
    egressRules:
      customRules: {}
      denyConnectionsToExternal: false
    enabled: false
    ingressRules:
      primaryAccessOnlyFrom:
        customRules: {}
        enabled: false
        namespaceSelector: {}
        podSelector: {}
      readReplicasAccessOnlyFrom:
        customRules: {}
        enabled: false
        namespaceSelector: {}
        podSelector: {}
    metrics:
      enabled: false
      namespaceSelector: {}
      podSelector: {}
  postgresqlDataDir: /bitnami/postgresql/data
  postgresqlSharedPreloadLibraries: pgaudit
  primary:
    affinity: {}
    annotations: {}
    args: []
    command: []
    configuration: ""
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
    customLivenessProbe: {}
    customReadinessProbe: {}
    customStartupProbe: {}
    existingConfigmap: ""
    existingExtendedConfigmap: ""
    extendedConfiguration: ""
    extraEnvVars: []
    extraEnvVarsCM: ""
    extraEnvVarsSecret: ""
    extraPodSpec: {}
    extraVolumeMounts: []
    extraVolumes: []
    hostAliases: []
    hostIPC: false
    hostNetwork: false
    initContainers: []
    initdb:
      args: ""
      password: ""
      postgresqlWalDir: ""
      scripts: {}
      scriptsConfigMap: ""
      scriptsSecret: ""
      user: ""
    labels: {}
    lifecycleHooks: {}
    livenessProbe:
      enabled: true
      failureThreshold: 6
      initialDelaySeconds: 30
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    name: primary
    nodeAffinityPreset:
      key: ""
      type: ""
      values: []
    nodeSelector: {}
    persistence:
      accessModes:
      - ReadWriteOnce
      annotations: {}
      dataSource: {}
      enabled: true
      existingClaim: ""
      mountPath: /bitnami/postgresql
      selector: {}
      size: 8Gi
      storageClass: ""
      subPath: ""
    pgHbaConfiguration: ""
    podAffinityPreset: ""
    podAnnotations: {}
    podAntiAffinityPreset: soft
    podLabels: {}
    podSecurityContext:
      enabled: true
      fsGroup: 1001
    priorityClassName: ""
    readinessProbe:
      enabled: true
      failureThreshold: 6
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    resources:
      limits: {}
      requests:
        cpu: 250m
        memory: 256Mi
    schedulerName: ""
    service:
      annotations: {}
      clusterIP: ""
      externalTrafficPolicy: Cluster
      extraPorts: []
      loadBalancerIP: ""
      loadBalancerSourceRanges: []
      nodePorts:
        postgresql: ""
      ports:
        postgresql: 5432
      sessionAffinity: None
      sessionAffinityConfig: {}
      type: ClusterIP
    sidecars: []
    standby:
      enabled: false
      primaryHost: ""
      primaryPort: ""
    startupProbe:
      enabled: false
      failureThreshold: 15
      initialDelaySeconds: 30
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    terminationGracePeriodSeconds: ""
    tolerations: []
    topologySpreadConstraints: []
    updateStrategy:
      rollingUpdate: {}
      type: RollingUpdate
  psp:
    create: false
  rbac:
    create: false
    rules: []
  readReplicas:
    affinity: {}
    annotations: {}
    args: []
    command: []
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
    customLivenessProbe: {}
    customReadinessProbe: {}
    customStartupProbe: {}
    extendedConfiguration: ""
    extraEnvVars: []
    extraEnvVarsCM: ""
    extraEnvVarsSecret: ""
    extraPodSpec: {}
    extraVolumeMounts: []
    extraVolumes: []
    hostAliases: []
    hostIPC: false
    hostNetwork: false
    initContainers: []
    labels: {}
    lifecycleHooks: {}
    livenessProbe:
      enabled: true
      failureThreshold: 6
      initialDelaySeconds: 30
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    name: read
    nodeAffinityPreset:
      key: ""
      type: ""
      values: []
    nodeSelector: {}
    persistence:
      accessModes:
      - ReadWriteOnce
      annotations: {}
      dataSource: {}
      enabled: true
      existingClaim: ""
      mountPath: /bitnami/postgresql
      selector: {}
      size: 8Gi
      storageClass: ""
      subPath: ""
    podAffinityPreset: ""
    podAnnotations: {}
    podAntiAffinityPreset: soft
    podLabels: {}
    podSecurityContext:
      enabled: true
      fsGroup: 1001
    priorityClassName: ""
    readinessProbe:
      enabled: true
      failureThreshold: 6
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    replicaCount: 1
    resources:
      limits: {}
      requests:
        cpu: 250m
        memory: 256Mi
    schedulerName: ""
    service:
      annotations: {}
      clusterIP: ""
      externalTrafficPolicy: Cluster
      extraPorts: []
      loadBalancerIP: ""
      loadBalancerSourceRanges: []
      nodePorts:
        postgresql: ""
      ports:
        postgresql: 5432
      sessionAffinity: None
      sessionAffinityConfig: {}
      type: ClusterIP
    sidecars: []
    startupProbe:
      enabled: false
      failureThreshold: 15
      initialDelaySeconds: 30
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    terminationGracePeriodSeconds: ""
    tolerations: []
    topologySpreadConstraints: []
    updateStrategy:
      rollingUpdate: {}
      type: RollingUpdate
  replication:
    applicationName: my_application
    numSynchronousReplicas: 0
    synchronousCommit: "off"
  serviceAccount:
    annotations: {}
    automountServiceAccountToken: true
    create: false
    name: ""
  shmVolume:
    enabled: true
    sizeLimit: ""
  tls:
    autoGenerated: false
    certCAFilename: ""
    certFilename: ""
    certKeyFilename: ""
    certificatesSecret: ""
    crlFilename: ""
    enabled: false
    preferServerCiphers: true
  volumePermissions:
    containerSecurityContext:
      runAsUser: 0
    enabled: false
    image:
      digest: ""
      pullPolicy: IfNotPresent
      pullSecrets: []
      registry: docker.io
      repository: bitnami/bitnami-shell
      tag: 11-debian-11-r27
    resources:
      limits: {}
      requests: {}
proxy:
  enabled: true
  image:
    pullPolicy: IfNotPresent
    repository: ghcr.io/immich-app/immich-proxy
  ingress:
    main:
      annotations:
        cert-manager.io/cluster-issuer: letsencrypt-prod
        nginx.ingress.kubernetes.io/proxy-body-size: "0"
        traefik.ingress.kubernetes.io/router.tls: "true"
      enabled: false
      hosts:
      - host: photos.0xem.ma
        paths:
        - path: /
      tls:
      - hosts:
        - photos.0xem.ma
        secretName: photos-tls
  persistence:
    library:
      enabled: false
redis:
  architecture: standalone
  auth:
    enabled: false
    existingSecret: ""
    existingSecretPasswordKey: ""
    password: ""
    sentinel: true
    usePasswordFiles: false
  clusterDomain: cluster.local
  common:
    exampleValue: common-chart
    global:
      imagePullSecrets: []
      imageRegistry: ""
      redis:
        password: ""
      storageClass: ""
  commonAnnotations: {}
  commonConfiguration: |-
    # Enable AOF https://redis.io/topics/persistence#append-only-file
    appendonly yes
    # Disable RDB persistence, AOF persistence already enabled.
    save ""
  commonLabels: {}
  diagnosticMode:
    args:
    - infinity
    command:
    - sleep
    enabled: false
  enabled: true
  existingConfigmap: ""
  extraDeploy: []
  fullnameOverride: ""
  global:
    imagePullSecrets: []
    imageRegistry: ""
    redis:
      password: ""
    storageClass: ""
  image:
    debug: false
    digest: ""
    pullPolicy: IfNotPresent
    pullSecrets: []
    registry: docker.io
    repository: bitnami/redis
    tag: 7.0.4-debian-11-r17
  kubeVersion: ""
  master:
    affinity: {}
    args: []
    command: []
    configuration: ""
    containerPorts:
      redis: 6379
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
    count: 1
    customLivenessProbe: {}
    customReadinessProbe: {}
    customStartupProbe: {}
    disableCommands:
    - FLUSHDB
    - FLUSHALL
    dnsConfig: {}
    dnsPolicy: ""
    extraEnvVars: []
    extraEnvVarsCM: ""
    extraEnvVarsSecret: ""
    extraFlags: []
    extraVolumeMounts: []
    extraVolumes: []
    hostAliases: []
    initContainers: []
    kind: StatefulSet
    lifecycleHooks: {}
    livenessProbe:
      enabled: true
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 5
    nodeAffinityPreset:
      key: ""
      type: ""
      values: []
    nodeSelector: {}
    persistence:
      accessModes:
      - ReadWriteOnce
      annotations: {}
      dataSource: {}
      enabled: true
      existingClaim: ""
      medium: ""
      path: /data
      selector: {}
      size: 8Gi
      sizeLimit: ""
      storageClass: ""
      subPath: ""
    podAffinityPreset: ""
    podAnnotations: {}
    podAntiAffinityPreset: soft
    podLabels: {}
    podSecurityContext:
      enabled: true
      fsGroup: 1001
    preExecCmds: []
    priorityClassName: ""
    readinessProbe:
      enabled: true
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 1
    resources:
      limits: {}
      requests: {}
    schedulerName: ""
    service:
      annotations: {}
      clusterIP: ""
      externalTrafficPolicy: Cluster
      extraPorts: []
      internalTrafficPolicy: Cluster
      loadBalancerIP: ""
      loadBalancerSourceRanges: []
      nodePorts:
        redis: ""
      ports:
        redis: 6379
      sessionAffinity: None
      sessionAffinityConfig: {}
      type: ClusterIP
    shareProcessNamespace: false
    sidecars: []
    startupProbe:
      enabled: false
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 5
    terminationGracePeriodSeconds: 30
    tolerations: []
    topologySpreadConstraints: []
    updateStrategy:
      rollingUpdate: {}
      type: RollingUpdate
  metrics:
    command: []
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
    enabled: false
    extraArgs: {}
    extraEnvVars: []
    extraVolumeMounts: []
    extraVolumes: []
    image:
      digest: ""
      pullPolicy: IfNotPresent
      pullSecrets: []
      registry: docker.io
      repository: bitnami/redis-exporter
      tag: 1.43.1-debian-11-r4
    podAnnotations:
      prometheus.io/port: "9121"
      prometheus.io/scrape: "true"
    podLabels: {}
    prometheusRule:
      additionalLabels: {}
      enabled: false
      namespace: ""
      rules: []
    redisTargetHost: localhost
    resources:
      limits: {}
      requests: {}
    service:
      annotations: {}
      externalTrafficPolicy: Cluster
      extraPorts: []
      loadBalancerIP: ""
      loadBalancerSourceRanges: []
      port: 9121
      type: ClusterIP
    serviceMonitor:
      additionalLabels: {}
      enabled: false
      honorLabels: false
      interval: 30s
      metricRelabelings: []
      namespace: ""
      relabellings: []
      scrapeTimeout: ""
  nameOverride: ""
  networkPolicy:
    allowExternal: true
    enabled: false
    extraEgress: []
    extraIngress: []
    ingressNSMatchLabels: {}
    ingressNSPodMatchLabels: {}
  pdb:
    create: false
    maxUnavailable: ""
    minAvailable: 1
  podSecurityPolicy:
    create: false
    enabled: false
  rbac:
    create: false
    rules: []
  replica:
    affinity: {}
    args: []
    autoscaling:
      enabled: false
      maxReplicas: 11
      minReplicas: 1
      targetCPU: ""
      targetMemory: ""
    command: []
    configuration: ""
    containerPorts:
      redis: 6379
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
    customLivenessProbe: {}
    customReadinessProbe: {}
    customStartupProbe: {}
    disableCommands:
    - FLUSHDB
    - FLUSHALL
    dnsConfig: {}
    dnsPolicy: ""
    externalMaster:
      enabled: false
      host: ""
      port: 6379
    extraEnvVars: []
    extraEnvVarsCM: ""
    extraEnvVarsSecret: ""
    extraFlags: []
    extraVolumeMounts: []
    extraVolumes: []
    hostAliases: []
    initContainers: []
    lifecycleHooks: {}
    livenessProbe:
      enabled: true
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 5
    nodeAffinityPreset:
      key: ""
      type: ""
      values: []
    nodeSelector: {}
    persistence:
      accessModes:
      - ReadWriteOnce
      annotations: {}
      dataSource: {}
      enabled: true
      existingClaim: ""
      medium: ""
      path: /data
      selector: {}
      size: 8Gi
      sizeLimit: ""
      storageClass: ""
      subPath: ""
    podAffinityPreset: ""
    podAnnotations: {}
    podAntiAffinityPreset: soft
    podLabels: {}
    podManagementPolicy: ""
    podSecurityContext:
      enabled: true
      fsGroup: 1001
    preExecCmds: []
    priorityClassName: ""
    readinessProbe:
      enabled: true
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 1
    replicaCount: 3
    resources:
      limits: {}
      requests: {}
    schedulerName: ""
    service:
      annotations: {}
      clusterIP: ""
      externalTrafficPolicy: Cluster
      extraPorts: []
      internalTrafficPolicy: Cluster
      loadBalancerIP: ""
      loadBalancerSourceRanges: []
      nodePorts:
        redis: ""
      ports:
        redis: 6379
      sessionAffinity: None
      sessionAffinityConfig: {}
      type: ClusterIP
    shareProcessNamespace: false
    sidecars: []
    startupProbe:
      enabled: true
      failureThreshold: 22
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    terminationGracePeriodSeconds: 30
    tolerations: []
    topologySpreadConstraints: []
    updateStrategy:
      rollingUpdate: {}
      type: RollingUpdate
  secretAnnotations: {}
  sentinel:
    args: []
    automateClusterRecovery: false
    command: []
    configuration: ""
    containerPorts:
      sentinel: 26379
    containerSecurityContext:
      enabled: true
      runAsUser: 1001
    customLivenessProbe: {}
    customReadinessProbe: {}
    customStartupProbe: {}
    downAfterMilliseconds: 60000
    enabled: false
    externalMaster:
      enabled: false
      host: ""
      port: 6379
    extraEnvVars: []
    extraEnvVarsCM: ""
    extraEnvVarsSecret: ""
    extraVolumeMounts: []
    extraVolumes: []
    failoverTimeout: 180000
    getMasterTimeout: 220
    image:
      debug: false
      digest: ""
      pullPolicy: IfNotPresent
      pullSecrets: []
      registry: docker.io
      repository: bitnami/redis-sentinel
      tag: 7.0.4-debian-11-r14
    lifecycleHooks: {}
    livenessProbe:
      enabled: true
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 5
    masterSet: mymaster
    parallelSyncs: 1
    persistence:
      accessModes:
      - ReadWriteOnce
      annotations: {}
      dataSource: {}
      enabled: false
      medium: ""
      selector: {}
      size: 100Mi
      storageClass: ""
    preExecCmds: []
    quorum: 2
    readinessProbe:
      enabled: true
      failureThreshold: 5
      initialDelaySeconds: 20
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 1
    resources:
      limits: {}
      requests: {}
    service:
      annotations: {}
      clusterIP: ""
      externalTrafficPolicy: Cluster
      extraPorts: []
      loadBalancerIP: ""
      loadBalancerSourceRanges: []
      nodePorts:
        redis: ""
        sentinel: ""
      ports:
        redis: 6379
        sentinel: 26379
      sessionAffinity: None
      sessionAffinityConfig: {}
      type: ClusterIP
    startupProbe:
      enabled: true
      failureThreshold: 22
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    terminationGracePeriodSeconds: 30
  serviceAccount:
    annotations: {}
    automountServiceAccountToken: true
    create: true
    name: ""
  sysctl:
    command: []
    enabled: false
    image:
      digest: ""
      pullPolicy: IfNotPresent
      pullSecrets: []
      registry: docker.io
      repository: bitnami/bitnami-shell
      tag: 11-debian-11-r29
    mountHostSys: false
    resources:
      limits: {}
      requests: {}
  tls:
    authClients: true
    autoGenerated: false
    certCAFilename: ""
    certFilename: ""
    certKeyFilename: ""
    certificatesSecret: ""
    dhParamsFilename: ""
    enabled: false
    existingSecret: ""
  useExternalDNS:
    additionalAnnotations: {}
    annotationKey: external-dns.alpha.kubernetes.io/
    enabled: false
    suffix: ""
  volumePermissions:
    containerSecurityContext:
      runAsUser: 0
    enabled: false
    image:
      digest: ""
      pullPolicy: IfNotPresent
      pullSecrets: []
      registry: docker.io
      repository: bitnami/bitnami-shell
      tag: 11-debian-11-r29
    resources:
      limits: {}
      requests: {}
server:
  enabled: true
  image:
    pullPolicy: IfNotPresent
    repository: ghcr.io/immich-app/immich-server
typesense:
  enabled: true
  env:
    TYPESENSE_API_KEY: typesense
    TYPESENSE_DATA_DIR: /tsdata
  image:
    pullPolicy: IfNotPresent
    repository: docker.io/typesense/typesense
    tag: 0.24.0
  persistence:
    tsdata:
      accessMode: ReadWriteOnce
      enabled: true
      size: 1Gi
web:
  enabled: true
  image:
    pullPolicy: IfNotPresent
    repository: ghcr.io/immich-app/immich-web
  persistence:
    library:
      enabled: false

Your .env content

N/A

Reproduction steps

1. Open mobile app
2. set photos to upload
3. stuck on file info upload
...

Additional information

No response

Originally created by @0xEmma on GitHub (May 23, 2023). ### The bug Mobile app will not upload photos, worked ~2 days ago, now gets stuck at "uploading file info" when photos are due for upload. ![issue](https://images.0xem.ma/u/AoiHY5.png) ### The OS that Immich Server is running on Ubuntu 22.04, K3S v1.26.4+k3s1 ### Version of Immich Server v1.57.1 ### Version of Immich Mobile App v1.57.0 Build 97 ### Platform with the issue - [X] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML common: addons: codeserver: args: - --auth - none enabled: false env: {} git: deployKey: "" deployKeyBase64: "" deployKeySecret: "" image: pullPolicy: IfNotPresent repository: ghcr.io/coder/code-server tag: 4.11.0 ingress: annotations: {} enabled: false hosts: - host: code.chart-example.local paths: - path: / pathType: Prefix ingressClassName: null labels: {} tls: [] securityContext: runAsUser: 0 service: annotations: {} enabled: true labels: {} ports: codeserver: enabled: true port: 12321 protocol: TCP targetPort: 12321 type: ClusterIP volumeMounts: [] workingDir: "" netshoot: enabled: false env: {} image: pullPolicy: IfNotPresent repository: ghcr.io/nicolaka/netshoot tag: v0.9 securityContext: capabilities: add: - NET_ADMIN vpn: additionalVolumeMounts: [] args: [] configFile: null configFileSecret: null enabled: false env: {} gluetun: image: pullPolicy: IfNotPresent repository: docker.io/qmcgaw/gluetun tag: v3.33.0 livenessProbe: {} networkPolicy: annotations: {} egress: null enabled: false labels: {} podSelectorLabels: {} scripts: down: null up: null securityContext: capabilities: add: - NET_ADMIN - SYS_MODULE type: gluetun affinity: {} args: [] automountServiceAccountToken: true command: [] configMaps: config: annotations: {} data: {} enabled: false labels: {} controller: annotations: {} cronjob: concurrencyPolicy: Forbid failedJobsHistory: 1 schedule: '*/20 * * * *' startingDeadlineSeconds: 30 successfulJobsHistory: 1 ttlSecondsAfterFinished: null enabled: true labels: {} podManagementPolicy: null replicas: 1 restartPolicy: null revisionHistoryLimit: 3 rollingUpdate: partition: null surge: null unavailable: null strategy: null type: deployment dnsConfig: {} dnsPolicy: null enableServiceLinks: true env: null envFrom: [] global: annotations: {} fullnameOverride: null labels: {} nameOverride: null hostAliases: [] hostNetwork: false hostname: null image: pullPolicy: null repository: null tag: null imagePullSecrets: [] ingress: main: annotations: {} enabled: false hosts: - host: chart-example.local paths: - path: / pathType: Prefix service: name: null port: null ingressClassName: null labels: {} nameOverride: null primary: true tls: [] initContainers: {} lifecycle: {} nodeSelector: {} persistence: config: accessMode: ReadWriteOnce enabled: false existingClaim: null mountPath: null nameOverride: null readOnly: false retain: false size: 1Gi storageClass: null subPath: null type: pvc shared: enabled: false medium: null mountPath: /shared sizeLimit: null type: emptyDir podAnnotations: {} podLabels: {} podSecurityContext: {} priorityClassName: null probes: liveness: custom: false enabled: true spec: failureThreshold: 3 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 1 type: TCP readiness: custom: false enabled: true spec: failureThreshold: 3 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 1 type: TCP startup: custom: false enabled: true spec: failureThreshold: 30 initialDelaySeconds: 0 periodSeconds: 5 timeoutSeconds: 1 type: TCP resources: {} route: main: annotations: {} enabled: false hostnames: [] kind: HTTPRoute labels: {} nameOverride: null parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: null namespace: null sectionName: null rules: - backendRefs: - group: "" kind: Service name: null namespace: null port: null weight: 1 matches: - path: type: PathPrefix value: / runtimeClassName: null schedulerName: null secrets: secret: annotations: {} enabled: false labels: {} stringData: {} securityContext: {} service: main: annotations: {} enabled: true externalTrafficPolicy: null ipFamilies: [] ipFamilyPolicy: null labels: {} nameOverride: null ports: http: enabled: true extraSelectorLabels: {} nodePort: null port: null primary: true protocol: HTTP targetPort: null primary: true type: ClusterIP serviceAccount: annotations: {} create: false name: "" serviceMonitor: main: annotations: {} enabled: false endpoints: - interval: 1m path: /metrics port: http scheme: http scrapeTimeout: 10s labels: {} nameOverride: null selector: {} serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}' sidecars: {} termination: gracePeriodSeconds: null messagePath: null messagePolicy: null tolerations: [] topologySpreadConstraints: [] volumeClaimTemplates: [] env: DB_DATABASE_NAME: '{{ .Values.postgresql.global.postgresql.auth.database }}' DB_HOSTNAME: '{{ .Release.Name }}-postgresql' DB_PASSWORD: '{{ .Values.postgresql.global.postgresql.auth.password }}' DB_USERNAME: '{{ .Values.postgresql.global.postgresql.auth.username }}' IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' IMMICH_SERVER_URL: '{{ printf "http://%s-server:3001" .Release.Name }}' IMMICH_WEB_URL: '{{ printf "http://%s-web:3000" .Release.Name }}' REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' TYPESENSE_API_KEY: '{{ .Values.typesense.env.TYPESENSE_API_KEY }}' TYPESENSE_ENABLED: '{{ .Values.typesense.enabled }}' TYPESENSE_HOST: '{{ printf "%s-typesense" .Release.Name }}' image: tag: v1.57.1 immich: persistence: library: existingClaim: immich-data machine-learning: enabled: true env: TRANSFORMERS_CACHE: /cache image: pullPolicy: IfNotPresent repository: ghcr.io/immich-app/immich-machine-learning persistence: cache: accessMode: ReadWriteMany enabled: true size: 10Gi type: emptyDir microservices: enabled: true env: DISABLE_REVERSE_GEOCODING: "true" REVERSE_GEOCODING_DUMP_DIRECTORY: /geodata-cache image: pullPolicy: IfNotPresent repository: ghcr.io/immich-app/immich-server persistence: geodata-cache: accessMode: ReadWriteMany enabled: true size: 1Gi type: emptyDir postgresql: architecture: standalone audit: clientMinMessages: error logConnections: false logDisconnections: false logHostname: false logLinePrefix: "" logTimezone: "" pgAuditLog: "" pgAuditLogCatalog: "off" auth: database: "" enablePostgresUser: true existingSecret: "" password: "" postgresPassword: "" replicationPassword: "" replicationUsername: repl_user secretKeys: adminPasswordKey: postgres-password replicationPasswordKey: replication-password userPasswordKey: password usePasswordFiles: false username: "" clusterDomain: cluster.local common: exampleValue: common-chart global: imagePullSecrets: [] imageRegistry: "" postgresql: auth: database: immich existingSecret: "" password: immich postgresPassword: "" secretKeys: adminPasswordKey: "" replicationPasswordKey: "" userPasswordKey: "" username: immich service: ports: postgresql: "" storageClass: "" commonAnnotations: {} commonLabels: {} containerPorts: postgresql: 5432 diagnosticMode: args: - infinity command: - sleep enabled: false enabled: true extraDeploy: [] fullnameOverride: "" global: imagePullSecrets: [] imageRegistry: "" postgresql: auth: database: immich existingSecret: "" password: immich postgresPassword: "" secretKeys: adminPasswordKey: "" replicationPasswordKey: "" userPasswordKey: "" username: immich service: ports: postgresql: "" storageClass: "" image: debug: false digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/postgresql tag: 14.5.0-debian-11-r6 kubeVersion: "" ldap: basedn: "" binddn: "" bindpw: "" enabled: false port: "" prefix: "" scheme: "" searchAttribute: "" searchFilter: "" server: "" suffix: "" tls: enabled: false uri: "" metrics: containerPorts: metrics: 9187 containerSecurityContext: enabled: true runAsNonRoot: true runAsUser: 1001 customLivenessProbe: {} customMetrics: {} customReadinessProbe: {} customStartupProbe: {} enabled: false extraEnvVars: [] image: digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/postgres-exporter tag: 0.11.1-debian-11-r0 livenessProbe: enabled: true failureThreshold: 6 initialDelaySeconds: 5 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 prometheusRule: enabled: false labels: {} namespace: "" rules: [] readinessProbe: enabled: true failureThreshold: 6 initialDelaySeconds: 5 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 resources: limits: {} requests: {} service: annotations: prometheus.io/port: '{{ .Values.metrics.service.ports.metrics }}' prometheus.io/scrape: "true" clusterIP: "" ports: metrics: 9187 sessionAffinity: None serviceMonitor: enabled: false honorLabels: false interval: "" jobLabel: "" labels: {} metricRelabelings: [] namespace: "" relabelings: [] scrapeTimeout: "" selector: {} startupProbe: enabled: false failureThreshold: 15 initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 nameOverride: "" networkPolicy: egressRules: customRules: {} denyConnectionsToExternal: false enabled: false ingressRules: primaryAccessOnlyFrom: customRules: {} enabled: false namespaceSelector: {} podSelector: {} readReplicasAccessOnlyFrom: customRules: {} enabled: false namespaceSelector: {} podSelector: {} metrics: enabled: false namespaceSelector: {} podSelector: {} postgresqlDataDir: /bitnami/postgresql/data postgresqlSharedPreloadLibraries: pgaudit primary: affinity: {} annotations: {} args: [] command: [] configuration: "" containerSecurityContext: enabled: true runAsUser: 1001 customLivenessProbe: {} customReadinessProbe: {} customStartupProbe: {} existingConfigmap: "" existingExtendedConfigmap: "" extendedConfiguration: "" extraEnvVars: [] extraEnvVarsCM: "" extraEnvVarsSecret: "" extraPodSpec: {} extraVolumeMounts: [] extraVolumes: [] hostAliases: [] hostIPC: false hostNetwork: false initContainers: [] initdb: args: "" password: "" postgresqlWalDir: "" scripts: {} scriptsConfigMap: "" scriptsSecret: "" user: "" labels: {} lifecycleHooks: {} livenessProbe: enabled: true failureThreshold: 6 initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 name: primary nodeAffinityPreset: key: "" type: "" values: [] nodeSelector: {} persistence: accessModes: - ReadWriteOnce annotations: {} dataSource: {} enabled: true existingClaim: "" mountPath: /bitnami/postgresql selector: {} size: 8Gi storageClass: "" subPath: "" pgHbaConfiguration: "" podAffinityPreset: "" podAnnotations: {} podAntiAffinityPreset: soft podLabels: {} podSecurityContext: enabled: true fsGroup: 1001 priorityClassName: "" readinessProbe: enabled: true failureThreshold: 6 initialDelaySeconds: 5 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 resources: limits: {} requests: cpu: 250m memory: 256Mi schedulerName: "" service: annotations: {} clusterIP: "" externalTrafficPolicy: Cluster extraPorts: [] loadBalancerIP: "" loadBalancerSourceRanges: [] nodePorts: postgresql: "" ports: postgresql: 5432 sessionAffinity: None sessionAffinityConfig: {} type: ClusterIP sidecars: [] standby: enabled: false primaryHost: "" primaryPort: "" startupProbe: enabled: false failureThreshold: 15 initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 terminationGracePeriodSeconds: "" tolerations: [] topologySpreadConstraints: [] updateStrategy: rollingUpdate: {} type: RollingUpdate psp: create: false rbac: create: false rules: [] readReplicas: affinity: {} annotations: {} args: [] command: [] containerSecurityContext: enabled: true runAsUser: 1001 customLivenessProbe: {} customReadinessProbe: {} customStartupProbe: {} extendedConfiguration: "" extraEnvVars: [] extraEnvVarsCM: "" extraEnvVarsSecret: "" extraPodSpec: {} extraVolumeMounts: [] extraVolumes: [] hostAliases: [] hostIPC: false hostNetwork: false initContainers: [] labels: {} lifecycleHooks: {} livenessProbe: enabled: true failureThreshold: 6 initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 name: read nodeAffinityPreset: key: "" type: "" values: [] nodeSelector: {} persistence: accessModes: - ReadWriteOnce annotations: {} dataSource: {} enabled: true existingClaim: "" mountPath: /bitnami/postgresql selector: {} size: 8Gi storageClass: "" subPath: "" podAffinityPreset: "" podAnnotations: {} podAntiAffinityPreset: soft podLabels: {} podSecurityContext: enabled: true fsGroup: 1001 priorityClassName: "" readinessProbe: enabled: true failureThreshold: 6 initialDelaySeconds: 5 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 replicaCount: 1 resources: limits: {} requests: cpu: 250m memory: 256Mi schedulerName: "" service: annotations: {} clusterIP: "" externalTrafficPolicy: Cluster extraPorts: [] loadBalancerIP: "" loadBalancerSourceRanges: [] nodePorts: postgresql: "" ports: postgresql: 5432 sessionAffinity: None sessionAffinityConfig: {} type: ClusterIP sidecars: [] startupProbe: enabled: false failureThreshold: 15 initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 terminationGracePeriodSeconds: "" tolerations: [] topologySpreadConstraints: [] updateStrategy: rollingUpdate: {} type: RollingUpdate replication: applicationName: my_application numSynchronousReplicas: 0 synchronousCommit: "off" serviceAccount: annotations: {} automountServiceAccountToken: true create: false name: "" shmVolume: enabled: true sizeLimit: "" tls: autoGenerated: false certCAFilename: "" certFilename: "" certKeyFilename: "" certificatesSecret: "" crlFilename: "" enabled: false preferServerCiphers: true volumePermissions: containerSecurityContext: runAsUser: 0 enabled: false image: digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/bitnami-shell tag: 11-debian-11-r27 resources: limits: {} requests: {} proxy: enabled: true image: pullPolicy: IfNotPresent repository: ghcr.io/immich-app/immich-proxy ingress: main: annotations: cert-manager.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io/proxy-body-size: "0" traefik.ingress.kubernetes.io/router.tls: "true" enabled: false hosts: - host: photos.0xem.ma paths: - path: / tls: - hosts: - photos.0xem.ma secretName: photos-tls persistence: library: enabled: false redis: architecture: standalone auth: enabled: false existingSecret: "" existingSecretPasswordKey: "" password: "" sentinel: true usePasswordFiles: false clusterDomain: cluster.local common: exampleValue: common-chart global: imagePullSecrets: [] imageRegistry: "" redis: password: "" storageClass: "" commonAnnotations: {} commonConfiguration: |- # Enable AOF https://redis.io/topics/persistence#append-only-file appendonly yes # Disable RDB persistence, AOF persistence already enabled. save "" commonLabels: {} diagnosticMode: args: - infinity command: - sleep enabled: false enabled: true existingConfigmap: "" extraDeploy: [] fullnameOverride: "" global: imagePullSecrets: [] imageRegistry: "" redis: password: "" storageClass: "" image: debug: false digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/redis tag: 7.0.4-debian-11-r17 kubeVersion: "" master: affinity: {} args: [] command: [] configuration: "" containerPorts: redis: 6379 containerSecurityContext: enabled: true runAsUser: 1001 count: 1 customLivenessProbe: {} customReadinessProbe: {} customStartupProbe: {} disableCommands: - FLUSHDB - FLUSHALL dnsConfig: {} dnsPolicy: "" extraEnvVars: [] extraEnvVarsCM: "" extraEnvVarsSecret: "" extraFlags: [] extraVolumeMounts: [] extraVolumes: [] hostAliases: [] initContainers: [] kind: StatefulSet lifecycleHooks: {} livenessProbe: enabled: true failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 5 nodeAffinityPreset: key: "" type: "" values: [] nodeSelector: {} persistence: accessModes: - ReadWriteOnce annotations: {} dataSource: {} enabled: true existingClaim: "" medium: "" path: /data selector: {} size: 8Gi sizeLimit: "" storageClass: "" subPath: "" podAffinityPreset: "" podAnnotations: {} podAntiAffinityPreset: soft podLabels: {} podSecurityContext: enabled: true fsGroup: 1001 preExecCmds: [] priorityClassName: "" readinessProbe: enabled: true failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 1 resources: limits: {} requests: {} schedulerName: "" service: annotations: {} clusterIP: "" externalTrafficPolicy: Cluster extraPorts: [] internalTrafficPolicy: Cluster loadBalancerIP: "" loadBalancerSourceRanges: [] nodePorts: redis: "" ports: redis: 6379 sessionAffinity: None sessionAffinityConfig: {} type: ClusterIP shareProcessNamespace: false sidecars: [] startupProbe: enabled: false failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 5 terminationGracePeriodSeconds: 30 tolerations: [] topologySpreadConstraints: [] updateStrategy: rollingUpdate: {} type: RollingUpdate metrics: command: [] containerSecurityContext: enabled: true runAsUser: 1001 enabled: false extraArgs: {} extraEnvVars: [] extraVolumeMounts: [] extraVolumes: [] image: digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/redis-exporter tag: 1.43.1-debian-11-r4 podAnnotations: prometheus.io/port: "9121" prometheus.io/scrape: "true" podLabels: {} prometheusRule: additionalLabels: {} enabled: false namespace: "" rules: [] redisTargetHost: localhost resources: limits: {} requests: {} service: annotations: {} externalTrafficPolicy: Cluster extraPorts: [] loadBalancerIP: "" loadBalancerSourceRanges: [] port: 9121 type: ClusterIP serviceMonitor: additionalLabels: {} enabled: false honorLabels: false interval: 30s metricRelabelings: [] namespace: "" relabellings: [] scrapeTimeout: "" nameOverride: "" networkPolicy: allowExternal: true enabled: false extraEgress: [] extraIngress: [] ingressNSMatchLabels: {} ingressNSPodMatchLabels: {} pdb: create: false maxUnavailable: "" minAvailable: 1 podSecurityPolicy: create: false enabled: false rbac: create: false rules: [] replica: affinity: {} args: [] autoscaling: enabled: false maxReplicas: 11 minReplicas: 1 targetCPU: "" targetMemory: "" command: [] configuration: "" containerPorts: redis: 6379 containerSecurityContext: enabled: true runAsUser: 1001 customLivenessProbe: {} customReadinessProbe: {} customStartupProbe: {} disableCommands: - FLUSHDB - FLUSHALL dnsConfig: {} dnsPolicy: "" externalMaster: enabled: false host: "" port: 6379 extraEnvVars: [] extraEnvVarsCM: "" extraEnvVarsSecret: "" extraFlags: [] extraVolumeMounts: [] extraVolumes: [] hostAliases: [] initContainers: [] lifecycleHooks: {} livenessProbe: enabled: true failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 5 nodeAffinityPreset: key: "" type: "" values: [] nodeSelector: {} persistence: accessModes: - ReadWriteOnce annotations: {} dataSource: {} enabled: true existingClaim: "" medium: "" path: /data selector: {} size: 8Gi sizeLimit: "" storageClass: "" subPath: "" podAffinityPreset: "" podAnnotations: {} podAntiAffinityPreset: soft podLabels: {} podManagementPolicy: "" podSecurityContext: enabled: true fsGroup: 1001 preExecCmds: [] priorityClassName: "" readinessProbe: enabled: true failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 1 replicaCount: 3 resources: limits: {} requests: {} schedulerName: "" service: annotations: {} clusterIP: "" externalTrafficPolicy: Cluster extraPorts: [] internalTrafficPolicy: Cluster loadBalancerIP: "" loadBalancerSourceRanges: [] nodePorts: redis: "" ports: redis: 6379 sessionAffinity: None sessionAffinityConfig: {} type: ClusterIP shareProcessNamespace: false sidecars: [] startupProbe: enabled: true failureThreshold: 22 initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 terminationGracePeriodSeconds: 30 tolerations: [] topologySpreadConstraints: [] updateStrategy: rollingUpdate: {} type: RollingUpdate secretAnnotations: {} sentinel: args: [] automateClusterRecovery: false command: [] configuration: "" containerPorts: sentinel: 26379 containerSecurityContext: enabled: true runAsUser: 1001 customLivenessProbe: {} customReadinessProbe: {} customStartupProbe: {} downAfterMilliseconds: 60000 enabled: false externalMaster: enabled: false host: "" port: 6379 extraEnvVars: [] extraEnvVarsCM: "" extraEnvVarsSecret: "" extraVolumeMounts: [] extraVolumes: [] failoverTimeout: 180000 getMasterTimeout: 220 image: debug: false digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/redis-sentinel tag: 7.0.4-debian-11-r14 lifecycleHooks: {} livenessProbe: enabled: true failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 5 masterSet: mymaster parallelSyncs: 1 persistence: accessModes: - ReadWriteOnce annotations: {} dataSource: {} enabled: false medium: "" selector: {} size: 100Mi storageClass: "" preExecCmds: [] quorum: 2 readinessProbe: enabled: true failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 1 resources: limits: {} requests: {} service: annotations: {} clusterIP: "" externalTrafficPolicy: Cluster extraPorts: [] loadBalancerIP: "" loadBalancerSourceRanges: [] nodePorts: redis: "" sentinel: "" ports: redis: 6379 sentinel: 26379 sessionAffinity: None sessionAffinityConfig: {} type: ClusterIP startupProbe: enabled: true failureThreshold: 22 initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 terminationGracePeriodSeconds: 30 serviceAccount: annotations: {} automountServiceAccountToken: true create: true name: "" sysctl: command: [] enabled: false image: digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/bitnami-shell tag: 11-debian-11-r29 mountHostSys: false resources: limits: {} requests: {} tls: authClients: true autoGenerated: false certCAFilename: "" certFilename: "" certKeyFilename: "" certificatesSecret: "" dhParamsFilename: "" enabled: false existingSecret: "" useExternalDNS: additionalAnnotations: {} annotationKey: external-dns.alpha.kubernetes.io/ enabled: false suffix: "" volumePermissions: containerSecurityContext: runAsUser: 0 enabled: false image: digest: "" pullPolicy: IfNotPresent pullSecrets: [] registry: docker.io repository: bitnami/bitnami-shell tag: 11-debian-11-r29 resources: limits: {} requests: {} server: enabled: true image: pullPolicy: IfNotPresent repository: ghcr.io/immich-app/immich-server typesense: enabled: true env: TYPESENSE_API_KEY: typesense TYPESENSE_DATA_DIR: /tsdata image: pullPolicy: IfNotPresent repository: docker.io/typesense/typesense tag: 0.24.0 persistence: tsdata: accessMode: ReadWriteOnce enabled: true size: 1Gi web: enabled: true image: pullPolicy: IfNotPresent repository: ghcr.io/immich-app/immich-web persistence: library: enabled: false ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash 1. Open mobile app 2. set photos to upload 3. stuck on file info upload ... ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (May 23, 2023):

Can you please provide the following information

  1. Screenshot of the backup screen
  2. Logs of the mobile app
  3. Logs of server and microservices container?
@alextran1502 commented on GitHub (May 23, 2023): Can you please provide the following information 1. Screenshot of the backup screen 2. Logs of the mobile app 3. Logs of server and microservices container?
Author
Owner

@0xEmma commented on GitHub (May 23, 2023):

Screenshot of backup screen: screenshot,
Mobile app logs:

2023-05-23 15:52:43.114851,LogLevel.SEVERE,"ImmichErrorLogger","","#0      _HeroFlight._performAnimationUpdate (package:flutter/src/widgets/heroes.dart:570)
#1      _HeroFlight._handleAnimationUpdate (package:flutter/src/widgets/heroes.dart:590)
#2      AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240)
#3      AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240)
#4      ReverseAnimation._statusChangeHandler (package:flutter/src/animation/animations.dart:302)
#5      AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240)
#6      AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240)
#7      AnimationController._checkStatusChanged (package:flutter/src/animation/animation_controller.dart:815)
#8      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:831)
#9      Ticker._tick (package:flutter/src/scheduler/ticker.dart:249)
#10     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1284)
#11     SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1136)
#12     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625)
#1
3     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1134)
#14     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1051)
#15     _invoke1 (dart:ui/hooks.dart:158)
#16     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:337)
#17     _beginFrame (dart:ui/hooks.dart:101)
"

is of interest, full logs attached. immich_logs.csv

Server Logs:

[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [NestFactory] Starting Nest application...
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +66ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] DownloadModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +12ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +258ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] AlbumModule dependencies initialized +8ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] TagModule dependencies initialized +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] AssetModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] InfraModule dependencies initialized +9ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] DomainModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [InstanceLoader] AppModule dependencies initialized +3ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] AppController {/}: +275ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/refresh-config, POST} route +4ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] AlbumController {/album}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] APIKeyController {/api-key}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/api-key, POST} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/api-key, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] AssetController {/asset}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/map-marker, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] AuthController {/auth}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/login, POST} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/devices, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/devices, DELETE} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/devices/:id, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] JobController {/jobs}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/jobs, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/jobs/:jobId, PUT} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] OAuthController {/oauth}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/oauth/config, POST} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] PartnerController {/partner}: +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/partner, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/partner/:id, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/partner/:id, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] SearchController {/search}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/search, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/search/config, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/search/explore, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] ServerInfoController {/server-info}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/server-info, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/server-info/version, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/server-info/stats, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] SharedLinkController {/share}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/share, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/share/me, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/share/:id, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/share/:id, DELETE} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/share/:id, PATCH} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] SystemConfigController {/system-config}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] UserController {/user}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/info/:userId, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/me, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user, POST} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/:userId, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/:userId/restore, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user, PUT} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/user/profile-image/:userId, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] PersonController {/person}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/person, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/person/:id, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/person/:id, PUT} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/person/:id/thumbnail, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/person/:id/assets, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] AssetController {/asset}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/upload, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/download/:assetId, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/download-files, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/download-library, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/file/:assetId, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/thumbnail/:assetId, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/search, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/count-by-time-bucket, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/count-by-user-id, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/stat/archive, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/time-bucket, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/:assetId, PUT} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/check, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/exist, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/shared-link, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/shared-link/add, PATCH} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/asset/shared-link/remove, PATCH} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] TagController {/tag}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/tag, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/tag, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/tag/:id, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/tag/:id, PATCH} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/tag/:id, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RoutesResolver] AlbumController {/album}: +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/count-by-user-id, GET} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId/users, PUT} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId/assets, PUT} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId/assets, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId/user/:userId, DELETE} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId, PATCH} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/:albumId/download, GET} route +1ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [RouterExplorer] Mapped {/album/create-shared-link, POST} route +0ms
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [SearchService] Running bootstrap
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [TypesenseRepository] Schema up to date: assets/assets-v7
[Nest] 1  - 05/23/2023, 7:47:35 PM     LOG [TypesenseRepository] Schema up to date: albums/albums-v1
[Nest] 1  - 05/23/2023, 7:47:36 PM     LOG [TypesenseRepository] Schema up to date: faces/faces-v1
[Nest] 1  - 05/23/2023, 7:47:36 PM     LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v1","name":"albums"},{"collection_name":"assets-v7","name":"assets"}]
[Nest] 1  - 05/23/2023, 7:47:36 PM     LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false}
[Nest] 1  - 05/23/2023, 7:47:36 PM     LOG [NestApplication] Nest application successfully started +11ms
[Nest] 1  - 05/23/2023, 7:47:36 PM     LOG [ImmichServer] Running Immich Server in PRODUCTION environment - version 1.57.1 - Listening on port: 3001
[Nest] 1  - 05/23/2023, 7:47:36 PM    WARN [ImmichServer] Machine learning is enabled
[Nest] 1  - 05/23/2023, 7:47:36 PM    WARN [ImmichServer] Search is enabled
[Nest] 1  - 05/23/2023, 7:50:47 PM   ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at onclose (node:internal/streams/end-of-stream:154:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[Nest] 1  - 05/23/2023, 7:51:23 PM   ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at ServerResponse.onclose (node:internal/streams/end-of-stream:154:30)
    at ServerResponse.emit (node:events:525:35)
    at emitCloseNT (node:_http_server:984:10)
    at Socket.onServerResponseClose (node:_http_server:277:5)
    at Socket.emit (node:events:525:35)
    at TCP.<anonymous> (node:net:322:12)
[Nest] 1  - 05/23/2023, 7:51:46 PM     LOG [CommunicationGateway] New websocket connection: 6oMoBcl132B9jk-OAAAB
[Nest] 1  - 05/23/2023, 7:52:20 PM     LOG [CommunicationGateway] Client 6oMoBcl132B9jk-OAAAB disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:52:29 PM     LOG [CommunicationGateway] New websocket connection: 9phZD4Q1MKK0rFjgAAAD
[Nest] 1  - 05/23/2023, 7:52:35 PM     LOG [CommunicationGateway] Client 9phZD4Q1MKK0rFjgAAAD disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:52:39 PM     LOG [CommunicationGateway] New websocket connection: RrBiEm3EB0wpX0McAAAF
[Nest] 1  - 05/23/2023, 7:54:43 PM     LOG [CommunicationGateway] Client RrBiEm3EB0wpX0McAAAF disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:54:45 PM     LOG [CommunicationGateway] New websocket connection: ckf8gw1NurvKlpd5AAAH
[Nest] 1  - 05/23/2023, 7:54:51 PM     LOG [CommunicationGateway] Client ckf8gw1NurvKlpd5AAAH disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:54:52 PM     LOG [CommunicationGateway] New websocket connection: S85Z6vPXoGZI9jG2AAAJ
[Nest] 1  - 05/23/2023, 7:54:56 PM     LOG [CommunicationGateway] Client S85Z6vPXoGZI9jG2AAAJ disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:54:57 PM     LOG [CommunicationGateway] New websocket connection: 6FqW3xgA83wobh5YAAAL
[Nest] 1  - 05/23/2023, 7:55:05 PM     LOG [CommunicationGateway] Client 6FqW3xgA83wobh5YAAAL disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:55:06 PM     LOG [CommunicationGateway] New websocket connection: ylraovUiBr0LDmMSAAAN
[Nest] 1  - 05/23/2023, 7:55:10 PM     LOG [CommunicationGateway] Client ylraovUiBr0LDmMSAAAN disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:55:12 PM     LOG [CommunicationGateway] New websocket connection: ott5rHsR7R0CZ4MsAAAP
[Nest] 1  - 05/23/2023, 7:55:15 PM     LOG [CommunicationGateway] Client ott5rHsR7R0CZ4MsAAAP disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:55:20 PM     LOG [CommunicationGateway] New websocket connection: Iqkmhwu0T9EVW-t1AAAR
[Nest] 1  - 05/23/2023, 7:55:26 PM     LOG [CommunicationGateway] Client Iqkmhwu0T9EVW-t1AAAR disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:55:31 PM     LOG [CommunicationGateway] New websocket connection: KFpbcWmytQXkj80PAAAT
[Nest] 1  - 05/23/2023, 7:57:24 PM     LOG [CommunicationGateway] Client KFpbcWmytQXkj80PAAAT disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:57:49 PM     LOG [CommunicationGateway] New websocket connection: ZtB6t7YMQDObtz02AAAV
[Nest] 1  - 05/23/2023, 7:58:04 PM     LOG [CommunicationGateway] Client ZtB6t7YMQDObtz02AAAV disconnected from Websocket
[Nest] 1  - 05/23/2023, 7:58:05 PM     LOG [CommunicationGateway] New websocket connection: BOCJhX0bZcqdLGD_AAAX
[Nest] 1  - 05/23/2023, 7:58:20 PM     LOG [CommunicationGateway] Client BOCJhX0bZcqdLGD_AAAX disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:00:59 PM     LOG [CommunicationGateway] New websocket connection: N7hlBjg2KIeH4G88AAAZ
[Nest] 1  - 05/23/2023, 8:00:59 PM     LOG [CommunicationGateway] New websocket connection: CINFZoAUIjYd3uELAAAb
[Nest] 1  - 05/23/2023, 8:01:02 PM     LOG [CommunicationGateway] Client CINFZoAUIjYd3uELAAAb disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:01:03 PM     LOG [CommunicationGateway] New websocket connection: gnzupRZmj9n3OWFOAAAd
[Nest] 1  - 05/23/2023, 8:01:07 PM     LOG [CommunicationGateway] Client gnzupRZmj9n3OWFOAAAd disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:01:07 PM     LOG [CommunicationGateway] New websocket connection: wZAFiBxtcOUl6FNoAAAf
[Nest] 1  - 05/23/2023, 8:01:10 PM     LOG [CommunicationGateway] Client wZAFiBxtcOUl6FNoAAAf disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:01:11 PM     LOG [CommunicationGateway] Client N7hlBjg2KIeH4G88AAAZ disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:01:17 PM     LOG [CommunicationGateway] New websocket connection: h5JKEL3XM_piRxONAAAh
[Nest] 1  - 05/23/2023, 8:01:17 PM     LOG [CommunicationGateway] New websocket connection: s3gr--WfJrweDf8NAAAj
[Nest] 1  - 05/23/2023, 8:01:28 PM     LOG [CommunicationGateway] Client s3gr--WfJrweDf8NAAAj disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:01:28 PM     LOG [CommunicationGateway] New websocket connection: gEkJQMZNRBUVyVmVAAAl
[Nest] 1  - 05/23/2023, 8:02:37 PM     LOG [CommunicationGateway] Client gEkJQMZNRBUVyVmVAAAl disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:02:39 PM     LOG [CommunicationGateway] New websocket connection: OG0N2X_SI5M-gT0yAAAn
[Nest] 1  - 05/23/2023, 8:02:41 PM     LOG [CommunicationGateway] Client OG0N2X_SI5M-gT0yAAAn disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:02:41 PM     LOG [CommunicationGateway] Client h5JKEL3XM_piRxONAAAh disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:03:33 PM     LOG [CommunicationGateway] New websocket connection: EVHH9UfuMojMWIkKAAAq
[Nest] 1  - 05/23/2023, 8:03:33 PM     LOG [CommunicationGateway] New websocket connection: 8KzW2cOT9gZPZYOyAAAr
[Nest] 1  - 05/23/2023, 8:03:35 PM     LOG [CommunicationGateway] New websocket connection: rpqprzpyd8GvrPuNAAAt
[Nest] 1  - 05/23/2023, 8:03:45 PM     LOG [CommunicationGateway] Client rpqprzpyd8GvrPuNAAAt disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:03:48 PM     LOG [CommunicationGateway] New websocket connection: q0_ICQxtSXnQmyWPAAAv
[Nest] 1  - 05/23/2023, 8:03:50 PM     LOG [CommunicationGateway] Client q0_ICQxtSXnQmyWPAAAv disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:04:18 PM     LOG [CommunicationGateway] Client EVHH9UfuMojMWIkKAAAq disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:04:18 PM     LOG [CommunicationGateway] Client 8KzW2cOT9gZPZYOyAAAr disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:04:48 PM     LOG [CommunicationGateway] New websocket connection: T_MFvFGubIU8y9ouAAAx
[Nest] 1  - 05/23/2023, 8:04:49 PM     LOG [CommunicationGateway] New websocket connection: McGp2j88KlVRml5OAAAz
[Nest] 1  - 05/23/2023, 8:04:49 PM     LOG [CommunicationGateway] New websocket connection: 6s7TnH8L7NEjpzr6AAA1
[Nest] 1  - 05/23/2023, 8:05:05 PM     LOG [CommunicationGateway] Client 6s7TnH8L7NEjpzr6AAA1 disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:05:07 PM     LOG [CommunicationGateway] New websocket connection: qiYvAUxCKzQw4XWgAAA3
[Nest] 1  - 05/23/2023, 8:05:37 PM     LOG [CommunicationGateway] Client qiYvAUxCKzQw4XWgAAA3 disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:05:38 PM     LOG [CommunicationGateway] Client McGp2j88KlVRml5OAAAz disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:05:38 PM     LOG [CommunicationGateway] Client T_MFvFGubIU8y9ouAAAx disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:10:27 PM     LOG [CommunicationGateway] New websocket connection: hAdnwOXLK9lfPUM7AAA5
[Nest] 1  - 05/23/2023, 8:10:27 PM     LOG [CommunicationGateway] New websocket connection: QhGKqfXB-22CyIIkAAA7
[Nest] 1  - 05/23/2023, 8:10:29 PM     LOG [CommunicationGateway] New websocket connection: wRIp-kdG9XQwwqfHAAA9
[Nest] 1  - 05/23/2023, 8:10:29 PM     LOG [CommunicationGateway] New websocket connection: 2g7gCR91tHB1jvRYAAA_
[Nest] 1  - 05/23/2023, 8:10:37 PM     LOG [CommunicationGateway] Client 2g7gCR91tHB1jvRYAAA_ disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:10:49 PM     LOG [CommunicationGateway] New websocket connection: ujW_xUVO6rWNNALRAABB
[Nest] 1  - 05/23/2023, 8:11:06 PM     LOG [CommunicationGateway] Client ujW_xUVO6rWNNALRAABB disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:11:21 PM     LOG [CommunicationGateway] New websocket connection: gJlW0n5OiqSLDZb2AABD
[Nest] 1  - 05/23/2023, 8:11:41 PM     LOG [CommunicationGateway] Client gJlW0n5OiqSLDZb2AABD disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:11:43 PM     LOG [CommunicationGateway] New websocket connection: nO_kp9JFFte3Yls1AABF
[Nest] 1  - 05/23/2023, 8:11:52 PM     LOG [CommunicationGateway] Client nO_kp9JFFte3Yls1AABF disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:11:54 PM     LOG [CommunicationGateway] New websocket connection: 6DOL7nMwyAEf3GRXAABH
[Nest] 1  - 05/23/2023, 8:12:01 PM     LOG [CommunicationGateway] Client wRIp-kdG9XQwwqfHAAA9 disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:12:01 PM     LOG [CommunicationGateway] Client 6DOL7nMwyAEf3GRXAABH disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:12:01 PM     LOG [CommunicationGateway] Client hAdnwOXLK9lfPUM7AAA5 disconnected from Websocket
[Nest] 1  - 05/23/2023, 8:12:01 PM     LOG [CommunicationGateway] Client QhGKqfXB-22CyIIkAAA7 disconnected from Websocket

Microservices:

[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [NestFactory] Starting Nest application...
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +30ms
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +6ms
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:50:23 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +1345ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [InstanceLoader] InfraModule dependencies initialized +143ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [InstanceLoader] DomainModule dependencies initialized +2ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [InstanceLoader] MicroservicesModule dependencies initialized +0ms
[Nest] 1  - 05/23/2023, 7:50:24 PM    WARN [MetadataExtractionProcessor] Reverse geocoding is disabled
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [NestApplication] Nest application successfully started +36ms
[Nest] 1  - 05/23/2023, 7:50:24 PM     LOG [ImmichMicroservice] Running Immich Microservices in PRODUCTION environment - version 1.57.1 - Listening on port: 3002
[Nest] 1  - 05/23/2023, 7:52:44 PM     LOG [MediaService] Start Generating Video Thumbnail
[Nest] 1  - 05/23/2023, 7:52:46 PM   ERROR [MediaService] Failed to handle video conversion for asset: 6ebbda9e-9fa0-4bdb-bb2f-8faa4a49f517
Error: ffprobe exited with code 1
ffprobe version 5.1.3 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r4) 20220924
  configuration: --prefix=/usr --enable-avfilter --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --disable-lzma --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --enable-libzmq --optflags=-O2 --disable-debug --enable-libsvtav1
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f819e18e100] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f819e18e100] moov atom not found
upload/upload/03ff6eb9-7474-491e-b864-905f04150ef7/83b122bf-6232-4117-89c4-c676afe29e45.mov: Invalid data found when processing input

    at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
[Nest] 1  - 05/23/2023, 7:52:46 PM   ERROR [MediaService] Failed to generate thumbnail for asset: 6ebbda9e-9fa0-4bdb-bb2f-8faa4a49f517/VIDEO
Error: ffmpeg exited with code 1: upload/upload/03ff6eb9-7474-491e-b864-905f04150ef7/83b122bf-6232-4117-89c4-c676afe29e45.mov: Invalid data found when processing input

    at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
[Nest] 1  - 05/23/2023, 7:52:53 PM    WARN [MediaService] Failed to generate jpeg thumbnail using sharp, trying with exiftool-vendored (asset=159a4bb8-c1b3-4f29-bafc-bff62d45ee98)
[Nest] 1  - 05/23/2023, 7:52:53 PM   ERROR [MediaService] Failed to generate thumbnail for asset: 159a4bb8-c1b3-4f29-bafc-bff62d45ee98/IMAGE
Error: File not found - /usr/src/app/upload/upload/03ff6eb9-7474-491e-b864-905f04150ef7/8c493cbd-85ea-42c6-a359-6385455adc14.HEIC
    at BinaryExtractionTask.parser (/usr/src/app/node_modules/exiftool-vendored/dist/ExifToolTask.js:41:29)
    at BinaryExtractionTask._Task_resolve (/usr/src/app/node_modules/batch-cluster/dist/Task.js:146:40)

Not sure if relevant, but uploading also fails from the Web UI on mobile, but not on desktop.

@0xEmma commented on GitHub (May 23, 2023): Screenshot of backup screen: ![screenshot](https://images.0xem.ma/u/YGgFkb.png), Mobile app logs: ``` 2023-05-23 15:52:43.114851,LogLevel.SEVERE,"ImmichErrorLogger","","#0 _HeroFlight._performAnimationUpdate (package:flutter/src/widgets/heroes.dart:570) #1 _HeroFlight._handleAnimationUpdate (package:flutter/src/widgets/heroes.dart:590) #2 AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240) #3 AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240) #4 ReverseAnimation._statusChangeHandler (package:flutter/src/animation/animations.dart:302) #5 AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240) #6 AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240) #7 AnimationController._checkStatusChanged (package:flutter/src/animation/animation_controller.dart:815) #8 AnimationController._tick (package:flutter/src/animation/animation_controller.dart:831) #9 Ticker._tick (package:flutter/src/scheduler/ticker.dart:249) #10 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1284) #11 SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1136) #12 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625) #1 3 SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1134) #14 SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1051) #15 _invoke1 (dart:ui/hooks.dart:158) #16 PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:337) #17 _beginFrame (dart:ui/hooks.dart:101) " ``` is of interest, full logs attached. [immich_logs.csv](https://github.com/immich-app/immich/files/11548066/immich_logs.csv) Server Logs: ``` [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [NestFactory] Starting Nest application... [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +66ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] DownloadModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] ConfigModule dependencies initialized +12ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] BullModule dependencies initialized +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +258ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] AlbumModule dependencies initialized +8ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] TagModule dependencies initialized +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] AssetModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] InfraModule dependencies initialized +9ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] DomainModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [InstanceLoader] AppModule dependencies initialized +3ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] AppController {/}: +275ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/refresh-config, POST} route +4ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] AlbumController {/album}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] APIKeyController {/api-key}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/api-key, POST} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/api-key, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] AssetController {/asset}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/map-marker, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] AuthController {/auth}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/login, POST} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/devices, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/devices, DELETE} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/devices/:id, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] JobController {/jobs}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/jobs, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/jobs/:jobId, PUT} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] OAuthController {/oauth}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/oauth/config, POST} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] PartnerController {/partner}: +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/partner, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/partner/:id, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/partner/:id, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] SearchController {/search}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/search, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/search/config, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/search/explore, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] ServerInfoController {/server-info}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/server-info, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/server-info/version, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/server-info/stats, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] SharedLinkController {/share}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/share, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/share/me, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/share/:id, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/share/:id, DELETE} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/share/:id, PATCH} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] SystemConfigController {/system-config}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] UserController {/user}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/info/:userId, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/me, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user, POST} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/:userId, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/:userId/restore, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user, PUT} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/user/profile-image/:userId, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] PersonController {/person}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/person, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/person/:id, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/person/:id, PUT} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/person/:id/thumbnail, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/person/:id/assets, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] AssetController {/asset}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/upload, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/download/:assetId, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/download-files, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/download-library, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/file/:assetId, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/thumbnail/:assetId, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/search, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/count-by-time-bucket, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/count-by-user-id, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/stat/archive, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/time-bucket, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/:assetId, PUT} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/check, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/exist, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/shared-link, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/shared-link/add, PATCH} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/asset/shared-link/remove, PATCH} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] TagController {/tag}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/tag, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/tag, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/tag/:id, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/tag/:id, PATCH} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/tag/:id, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RoutesResolver] AlbumController {/album}: +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/count-by-user-id, GET} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId/users, PUT} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId/assets, PUT} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId/assets, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId/user/:userId, DELETE} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId, PATCH} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/:albumId/download, GET} route +1ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [RouterExplorer] Mapped {/album/create-shared-link, POST} route +0ms [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [SearchService] Running bootstrap [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [TypesenseRepository] Schema up to date: assets/assets-v7 [Nest] 1 - 05/23/2023, 7:47:35 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v1 [Nest] 1 - 05/23/2023, 7:47:36 PM LOG [TypesenseRepository] Schema up to date: faces/faces-v1 [Nest] 1 - 05/23/2023, 7:47:36 PM LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v1","name":"albums"},{"collection_name":"assets-v7","name":"assets"}] [Nest] 1 - 05/23/2023, 7:47:36 PM LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false} [Nest] 1 - 05/23/2023, 7:47:36 PM LOG [NestApplication] Nest application successfully started +11ms [Nest] 1 - 05/23/2023, 7:47:36 PM LOG [ImmichServer] Running Immich Server in PRODUCTION environment - version 1.57.1 - Listening on port: 3001 [Nest] 1 - 05/23/2023, 7:47:36 PM WARN [ImmichServer] Machine learning is enabled [Nest] 1 - 05/23/2023, 7:47:36 PM WARN [ImmichServer] Search is enabled [Nest] 1 - 05/23/2023, 7:50:47 PM ERROR [ExpressAdapter] Premature close Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at new NodeError (node:internal/errors:399:5) at onclose (node:internal/streams/end-of-stream:154:30) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [Nest] 1 - 05/23/2023, 7:51:23 PM ERROR [ExpressAdapter] Premature close Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at new NodeError (node:internal/errors:399:5) at ServerResponse.onclose (node:internal/streams/end-of-stream:154:30) at ServerResponse.emit (node:events:525:35) at emitCloseNT (node:_http_server:984:10) at Socket.onServerResponseClose (node:_http_server:277:5) at Socket.emit (node:events:525:35) at TCP.<anonymous> (node:net:322:12) [Nest] 1 - 05/23/2023, 7:51:46 PM LOG [CommunicationGateway] New websocket connection: 6oMoBcl132B9jk-OAAAB [Nest] 1 - 05/23/2023, 7:52:20 PM LOG [CommunicationGateway] Client 6oMoBcl132B9jk-OAAAB disconnected from Websocket [Nest] 1 - 05/23/2023, 7:52:29 PM LOG [CommunicationGateway] New websocket connection: 9phZD4Q1MKK0rFjgAAAD [Nest] 1 - 05/23/2023, 7:52:35 PM LOG [CommunicationGateway] Client 9phZD4Q1MKK0rFjgAAAD disconnected from Websocket [Nest] 1 - 05/23/2023, 7:52:39 PM LOG [CommunicationGateway] New websocket connection: RrBiEm3EB0wpX0McAAAF [Nest] 1 - 05/23/2023, 7:54:43 PM LOG [CommunicationGateway] Client RrBiEm3EB0wpX0McAAAF disconnected from Websocket [Nest] 1 - 05/23/2023, 7:54:45 PM LOG [CommunicationGateway] New websocket connection: ckf8gw1NurvKlpd5AAAH [Nest] 1 - 05/23/2023, 7:54:51 PM LOG [CommunicationGateway] Client ckf8gw1NurvKlpd5AAAH disconnected from Websocket [Nest] 1 - 05/23/2023, 7:54:52 PM LOG [CommunicationGateway] New websocket connection: S85Z6vPXoGZI9jG2AAAJ [Nest] 1 - 05/23/2023, 7:54:56 PM LOG [CommunicationGateway] Client S85Z6vPXoGZI9jG2AAAJ disconnected from Websocket [Nest] 1 - 05/23/2023, 7:54:57 PM LOG [CommunicationGateway] New websocket connection: 6FqW3xgA83wobh5YAAAL [Nest] 1 - 05/23/2023, 7:55:05 PM LOG [CommunicationGateway] Client 6FqW3xgA83wobh5YAAAL disconnected from Websocket [Nest] 1 - 05/23/2023, 7:55:06 PM LOG [CommunicationGateway] New websocket connection: ylraovUiBr0LDmMSAAAN [Nest] 1 - 05/23/2023, 7:55:10 PM LOG [CommunicationGateway] Client ylraovUiBr0LDmMSAAAN disconnected from Websocket [Nest] 1 - 05/23/2023, 7:55:12 PM LOG [CommunicationGateway] New websocket connection: ott5rHsR7R0CZ4MsAAAP [Nest] 1 - 05/23/2023, 7:55:15 PM LOG [CommunicationGateway] Client ott5rHsR7R0CZ4MsAAAP disconnected from Websocket [Nest] 1 - 05/23/2023, 7:55:20 PM LOG [CommunicationGateway] New websocket connection: Iqkmhwu0T9EVW-t1AAAR [Nest] 1 - 05/23/2023, 7:55:26 PM LOG [CommunicationGateway] Client Iqkmhwu0T9EVW-t1AAAR disconnected from Websocket [Nest] 1 - 05/23/2023, 7:55:31 PM LOG [CommunicationGateway] New websocket connection: KFpbcWmytQXkj80PAAAT [Nest] 1 - 05/23/2023, 7:57:24 PM LOG [CommunicationGateway] Client KFpbcWmytQXkj80PAAAT disconnected from Websocket [Nest] 1 - 05/23/2023, 7:57:49 PM LOG [CommunicationGateway] New websocket connection: ZtB6t7YMQDObtz02AAAV [Nest] 1 - 05/23/2023, 7:58:04 PM LOG [CommunicationGateway] Client ZtB6t7YMQDObtz02AAAV disconnected from Websocket [Nest] 1 - 05/23/2023, 7:58:05 PM LOG [CommunicationGateway] New websocket connection: BOCJhX0bZcqdLGD_AAAX [Nest] 1 - 05/23/2023, 7:58:20 PM LOG [CommunicationGateway] Client BOCJhX0bZcqdLGD_AAAX disconnected from Websocket [Nest] 1 - 05/23/2023, 8:00:59 PM LOG [CommunicationGateway] New websocket connection: N7hlBjg2KIeH4G88AAAZ [Nest] 1 - 05/23/2023, 8:00:59 PM LOG [CommunicationGateway] New websocket connection: CINFZoAUIjYd3uELAAAb [Nest] 1 - 05/23/2023, 8:01:02 PM LOG [CommunicationGateway] Client CINFZoAUIjYd3uELAAAb disconnected from Websocket [Nest] 1 - 05/23/2023, 8:01:03 PM LOG [CommunicationGateway] New websocket connection: gnzupRZmj9n3OWFOAAAd [Nest] 1 - 05/23/2023, 8:01:07 PM LOG [CommunicationGateway] Client gnzupRZmj9n3OWFOAAAd disconnected from Websocket [Nest] 1 - 05/23/2023, 8:01:07 PM LOG [CommunicationGateway] New websocket connection: wZAFiBxtcOUl6FNoAAAf [Nest] 1 - 05/23/2023, 8:01:10 PM LOG [CommunicationGateway] Client wZAFiBxtcOUl6FNoAAAf disconnected from Websocket [Nest] 1 - 05/23/2023, 8:01:11 PM LOG [CommunicationGateway] Client N7hlBjg2KIeH4G88AAAZ disconnected from Websocket [Nest] 1 - 05/23/2023, 8:01:17 PM LOG [CommunicationGateway] New websocket connection: h5JKEL3XM_piRxONAAAh [Nest] 1 - 05/23/2023, 8:01:17 PM LOG [CommunicationGateway] New websocket connection: s3gr--WfJrweDf8NAAAj [Nest] 1 - 05/23/2023, 8:01:28 PM LOG [CommunicationGateway] Client s3gr--WfJrweDf8NAAAj disconnected from Websocket [Nest] 1 - 05/23/2023, 8:01:28 PM LOG [CommunicationGateway] New websocket connection: gEkJQMZNRBUVyVmVAAAl [Nest] 1 - 05/23/2023, 8:02:37 PM LOG [CommunicationGateway] Client gEkJQMZNRBUVyVmVAAAl disconnected from Websocket [Nest] 1 - 05/23/2023, 8:02:39 PM LOG [CommunicationGateway] New websocket connection: OG0N2X_SI5M-gT0yAAAn [Nest] 1 - 05/23/2023, 8:02:41 PM LOG [CommunicationGateway] Client OG0N2X_SI5M-gT0yAAAn disconnected from Websocket [Nest] 1 - 05/23/2023, 8:02:41 PM LOG [CommunicationGateway] Client h5JKEL3XM_piRxONAAAh disconnected from Websocket [Nest] 1 - 05/23/2023, 8:03:33 PM LOG [CommunicationGateway] New websocket connection: EVHH9UfuMojMWIkKAAAq [Nest] 1 - 05/23/2023, 8:03:33 PM LOG [CommunicationGateway] New websocket connection: 8KzW2cOT9gZPZYOyAAAr [Nest] 1 - 05/23/2023, 8:03:35 PM LOG [CommunicationGateway] New websocket connection: rpqprzpyd8GvrPuNAAAt [Nest] 1 - 05/23/2023, 8:03:45 PM LOG [CommunicationGateway] Client rpqprzpyd8GvrPuNAAAt disconnected from Websocket [Nest] 1 - 05/23/2023, 8:03:48 PM LOG [CommunicationGateway] New websocket connection: q0_ICQxtSXnQmyWPAAAv [Nest] 1 - 05/23/2023, 8:03:50 PM LOG [CommunicationGateway] Client q0_ICQxtSXnQmyWPAAAv disconnected from Websocket [Nest] 1 - 05/23/2023, 8:04:18 PM LOG [CommunicationGateway] Client EVHH9UfuMojMWIkKAAAq disconnected from Websocket [Nest] 1 - 05/23/2023, 8:04:18 PM LOG [CommunicationGateway] Client 8KzW2cOT9gZPZYOyAAAr disconnected from Websocket [Nest] 1 - 05/23/2023, 8:04:48 PM LOG [CommunicationGateway] New websocket connection: T_MFvFGubIU8y9ouAAAx [Nest] 1 - 05/23/2023, 8:04:49 PM LOG [CommunicationGateway] New websocket connection: McGp2j88KlVRml5OAAAz [Nest] 1 - 05/23/2023, 8:04:49 PM LOG [CommunicationGateway] New websocket connection: 6s7TnH8L7NEjpzr6AAA1 [Nest] 1 - 05/23/2023, 8:05:05 PM LOG [CommunicationGateway] Client 6s7TnH8L7NEjpzr6AAA1 disconnected from Websocket [Nest] 1 - 05/23/2023, 8:05:07 PM LOG [CommunicationGateway] New websocket connection: qiYvAUxCKzQw4XWgAAA3 [Nest] 1 - 05/23/2023, 8:05:37 PM LOG [CommunicationGateway] Client qiYvAUxCKzQw4XWgAAA3 disconnected from Websocket [Nest] 1 - 05/23/2023, 8:05:38 PM LOG [CommunicationGateway] Client McGp2j88KlVRml5OAAAz disconnected from Websocket [Nest] 1 - 05/23/2023, 8:05:38 PM LOG [CommunicationGateway] Client T_MFvFGubIU8y9ouAAAx disconnected from Websocket [Nest] 1 - 05/23/2023, 8:10:27 PM LOG [CommunicationGateway] New websocket connection: hAdnwOXLK9lfPUM7AAA5 [Nest] 1 - 05/23/2023, 8:10:27 PM LOG [CommunicationGateway] New websocket connection: QhGKqfXB-22CyIIkAAA7 [Nest] 1 - 05/23/2023, 8:10:29 PM LOG [CommunicationGateway] New websocket connection: wRIp-kdG9XQwwqfHAAA9 [Nest] 1 - 05/23/2023, 8:10:29 PM LOG [CommunicationGateway] New websocket connection: 2g7gCR91tHB1jvRYAAA_ [Nest] 1 - 05/23/2023, 8:10:37 PM LOG [CommunicationGateway] Client 2g7gCR91tHB1jvRYAAA_ disconnected from Websocket [Nest] 1 - 05/23/2023, 8:10:49 PM LOG [CommunicationGateway] New websocket connection: ujW_xUVO6rWNNALRAABB [Nest] 1 - 05/23/2023, 8:11:06 PM LOG [CommunicationGateway] Client ujW_xUVO6rWNNALRAABB disconnected from Websocket [Nest] 1 - 05/23/2023, 8:11:21 PM LOG [CommunicationGateway] New websocket connection: gJlW0n5OiqSLDZb2AABD [Nest] 1 - 05/23/2023, 8:11:41 PM LOG [CommunicationGateway] Client gJlW0n5OiqSLDZb2AABD disconnected from Websocket [Nest] 1 - 05/23/2023, 8:11:43 PM LOG [CommunicationGateway] New websocket connection: nO_kp9JFFte3Yls1AABF [Nest] 1 - 05/23/2023, 8:11:52 PM LOG [CommunicationGateway] Client nO_kp9JFFte3Yls1AABF disconnected from Websocket [Nest] 1 - 05/23/2023, 8:11:54 PM LOG [CommunicationGateway] New websocket connection: 6DOL7nMwyAEf3GRXAABH [Nest] 1 - 05/23/2023, 8:12:01 PM LOG [CommunicationGateway] Client wRIp-kdG9XQwwqfHAAA9 disconnected from Websocket [Nest] 1 - 05/23/2023, 8:12:01 PM LOG [CommunicationGateway] Client 6DOL7nMwyAEf3GRXAABH disconnected from Websocket [Nest] 1 - 05/23/2023, 8:12:01 PM LOG [CommunicationGateway] Client hAdnwOXLK9lfPUM7AAA5 disconnected from Websocket [Nest] 1 - 05/23/2023, 8:12:01 PM LOG [CommunicationGateway] Client QhGKqfXB-22CyIIkAAA7 disconnected from Websocket ``` Microservices: ``` [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [NestFactory] Starting Nest application... [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +30ms [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] ConfigModule dependencies initialized +6ms [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:50:23 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +1345ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [InstanceLoader] InfraModule dependencies initialized +143ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [InstanceLoader] DomainModule dependencies initialized +2ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [InstanceLoader] MicroservicesModule dependencies initialized +0ms [Nest] 1 - 05/23/2023, 7:50:24 PM WARN [MetadataExtractionProcessor] Reverse geocoding is disabled [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [NestApplication] Nest application successfully started +36ms [Nest] 1 - 05/23/2023, 7:50:24 PM LOG [ImmichMicroservice] Running Immich Microservices in PRODUCTION environment - version 1.57.1 - Listening on port: 3002 [Nest] 1 - 05/23/2023, 7:52:44 PM LOG [MediaService] Start Generating Video Thumbnail [Nest] 1 - 05/23/2023, 7:52:46 PM ERROR [MediaService] Failed to handle video conversion for asset: 6ebbda9e-9fa0-4bdb-bb2f-8faa4a49f517 Error: ffprobe exited with code 1 ffprobe version 5.1.3 Copyright (c) 2007-2022 the FFmpeg developers built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r4) 20220924 configuration: --prefix=/usr --enable-avfilter --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --disable-lzma --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --enable-libzmq --optflags=-O2 --disable-debug --enable-libsvtav1 libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f819e18e100] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f819e18e100] moov atom not found upload/upload/03ff6eb9-7474-491e-b864-905f04150ef7/83b122bf-6232-4117-89c4-c676afe29e45.mov: Invalid data found when processing input at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22) at ChildProcess.emit (node:events:513:28) at ChildProcess._handle.onexit (node:internal/child_process:291:12) [Nest] 1 - 05/23/2023, 7:52:46 PM ERROR [MediaService] Failed to generate thumbnail for asset: 6ebbda9e-9fa0-4bdb-bb2f-8faa4a49f517/VIDEO Error: ffmpeg exited with code 1: upload/upload/03ff6eb9-7474-491e-b864-905f04150ef7/83b122bf-6232-4117-89c4-c676afe29e45.mov: Invalid data found when processing input at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/processor.js:182:22) at ChildProcess.emit (node:events:513:28) at ChildProcess._handle.onexit (node:internal/child_process:291:12) [Nest] 1 - 05/23/2023, 7:52:53 PM WARN [MediaService] Failed to generate jpeg thumbnail using sharp, trying with exiftool-vendored (asset=159a4bb8-c1b3-4f29-bafc-bff62d45ee98) [Nest] 1 - 05/23/2023, 7:52:53 PM ERROR [MediaService] Failed to generate thumbnail for asset: 159a4bb8-c1b3-4f29-bafc-bff62d45ee98/IMAGE Error: File not found - /usr/src/app/upload/upload/03ff6eb9-7474-491e-b864-905f04150ef7/8c493cbd-85ea-42c6-a359-6385455adc14.HEIC at BinaryExtractionTask.parser (/usr/src/app/node_modules/exiftool-vendored/dist/ExifToolTask.js:41:29) at BinaryExtractionTask._Task_resolve (/usr/src/app/node_modules/batch-cluster/dist/Task.js:146:40) ``` Not sure if relevant, but uploading also fails from the Web UI on mobile, but not on desktop.
Author
Owner

@alextran1502 commented on GitHub (May 23, 2023):

Can you help me logout/login again and restart the stack on your server? Then try to run the upload again

@alextran1502 commented on GitHub (May 23, 2023): Can you help me logout/login again and restart the stack on your server? Then try to run the upload again
Author
Owner

@0xEmma commented on GitHub (May 23, 2023):

Can you help me logout/login again and restart the stack on your server? Then try to run the upload again

Already tried both, restarted just before opening for the new .1 update in hopes of fix, also tried logging in on mobile with both oAuth / password to no luck

@0xEmma commented on GitHub (May 23, 2023): > Can you help me logout/login again and restart the stack on your server? Then try to run the upload again Already tried both, restarted just before opening for the new .1 update in hopes of fix, also tried logging in on mobile with both oAuth / password to no luck
Author
Owner

@0xEmma commented on GitHub (May 23, 2023):

looking at immich-postgressql i am also seeing some errors, perhaps they could be related.

2023-05-23 08:30:57.600 GMT [698] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-23 08:30:57.600 GMT [698] DETAIL:  Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \x3bc18774004f830f29862e47c97ec0ba2cca0751) already exists.
2023-05-23 08:30:57.600 GMT [698] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-23 20:04:48.838 GMT [60868] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-23 20:04:48.838 GMT [60868] DETAIL:  Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \xda4e2895062728be68319ba4eef6dd3031cf1447) already exists.
2023-05-23 20:04:48.838 GMT [60868] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-23 20:22:54.849 GMT [62494] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-23 20:22:54.849 GMT [62494] DETAIL:  Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \x07f120348ac280616bc925a60ad9d3f2b89bb99c) already exists.
2023-05-23 20:22:54.849 GMT [62494] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-23 20:25:04.793 GMT [62699] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-23 20:25:04.793 GMT [62699] DETAIL:  Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \xda4e2895062728be68319ba4eef6dd3031cf1447) already exists.
2023-05-23 20:25:04.793 GMT [62699] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
@0xEmma commented on GitHub (May 23, 2023): looking at `immich-postgressql` i am also seeing some errors, perhaps they could be related. ``` 2023-05-23 08:30:57.600 GMT [698] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-23 08:30:57.600 GMT [698] DETAIL: Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \x3bc18774004f830f29862e47c97ec0ba2cca0751) already exists. 2023-05-23 08:30:57.600 GMT [698] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" 2023-05-23 20:04:48.838 GMT [60868] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-23 20:04:48.838 GMT [60868] DETAIL: Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \xda4e2895062728be68319ba4eef6dd3031cf1447) already exists. 2023-05-23 20:04:48.838 GMT [60868] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" 2023-05-23 20:22:54.849 GMT [62494] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-23 20:22:54.849 GMT [62494] DETAIL: Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \x07f120348ac280616bc925a60ad9d3f2b89bb99c) already exists. 2023-05-23 20:22:54.849 GMT [62494] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" 2023-05-23 20:25:04.793 GMT [62699] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-23 20:25:04.793 GMT [62699] DETAIL: Key ("ownerId", checksum)=(03ff6eb9-7474-491e-b864-905f04150ef7, \xda4e2895062728be68319ba4eef6dd3031cf1447) already exists. 2023-05-23 20:25:04.793 GMT [62699] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" ```
Author
Owner

@alextran1502 commented on GitHub (May 23, 2023):

Did you happen to upload some assets using the CLI that might potentially contain the motion part of LivePhotos asset?

@alextran1502 commented on GitHub (May 23, 2023): Did you happen to upload some assets using the CLI that might potentially contain the motion part of LivePhotos asset?
Author
Owner

@0xEmma commented on GitHub (May 23, 2023):

I uploaded a dump of my google photos, using rclone to mount the google photos, then the CLI to upload. However these are different photos taken after that. And after the CLI upload the functionality continued to work as expected.

@0xEmma commented on GitHub (May 23, 2023): I uploaded a dump of my google photos, using rclone to mount the google photos, then the CLI to upload. However these are different photos taken after that. And after the CLI upload the functionality continued to work as expected.
Author
Owner

@alextran1502 commented on GitHub (May 23, 2023):

Hmm there seems to be some strange conflicting issue between the assets you uploaded using the CLI vs the one on the mobile app. Can you help create a new album on the iOS Photos app, take a new photo and add that photo to that album, then in Immich app, choose only that album to upload and see if it successfully uploads that photo.

@alextran1502 commented on GitHub (May 23, 2023): Hmm there seems to be some strange conflicting issue between the assets you uploaded using the CLI vs the one on the mobile app. Can you help create a new album on the iOS Photos app, take a new photo and add that photo to that album, then in Immich app, choose only that album to upload and see if it successfully uploads that photo.
Author
Owner

@0xEmma commented on GitHub (May 23, 2023):

That works, photo uploaded without issue

@0xEmma commented on GitHub (May 23, 2023): > That works, photo uploaded without issue
Author
Owner

@reidcooper commented on GitHub (May 24, 2023):

Hey, I believe I am running into the same issue. My postgres logs are providing similar results:

2023-05-23 23:37:32.567 UTC [244] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-23 23:37:32.567 UTC [244] DETAIL:  Key ("ownerId", checksum)=(15da811b-1169-4451-b6fe-c462ce5c081a, \xd11a9f7dc00f0416b68e03a6b59a197c2e2393dc) already exists.
2023-05-23 23:37:32.567 UTC [244] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"

Some things I've played around with is deleting asset from the table. Retry upload from the mobile app, and I run into the index duplicate key issue.

When I originally configured Immich, I did do what @0xEmma did and had some photos upload via the mobile app and upload via the CLI at the same time.

@reidcooper commented on GitHub (May 24, 2023): Hey, I believe I am running into the same issue. My postgres logs are providing similar results: ``` 2023-05-23 23:37:32.567 UTC [244] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-23 23:37:32.567 UTC [244] DETAIL: Key ("ownerId", checksum)=(15da811b-1169-4451-b6fe-c462ce5c081a, \xd11a9f7dc00f0416b68e03a6b59a197c2e2393dc) already exists. 2023-05-23 23:37:32.567 UTC [244] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" ``` Some things I've played around with is deleting `asset` from the table. Retry upload from the mobile app, and I run into the index duplicate key issue. When I originally configured Immich, I did do what @0xEmma did and had some photos upload via the mobile app and upload via the CLI at the same time.
Author
Owner

@reidcooper commented on GitHub (May 24, 2023):

Yeah, diving into the server logs, my error return is more related to this one https://github.com/immich-app/immich/issues/1960

Does seem like it is an image with "live preview" and "still".

@reidcooper commented on GitHub (May 24, 2023): Yeah, diving into the server logs, my error return is more related to this one https://github.com/immich-app/immich/issues/1960 Does seem like it is an image with "live preview" and "still".
Author
Owner

@ameyp commented on GitHub (May 24, 2023):

Just encountered this problem today on Android with two new photos that fail to upload with the duplicate key error reported above. I haven't uploaded them to Immich manually in any other way, and newer photos in the same album are getting uploaded successfully.

@ameyp commented on GitHub (May 24, 2023): Just encountered this problem today on Android with two new photos that fail to upload with the `duplicate key` error reported above. I haven't uploaded them to Immich manually in any other way, and newer photos in the same album are getting uploaded successfully.
Author
Owner

@alextran1502 commented on GitHub (May 24, 2023):

Just encountered this problem today on Android with two new photos that fail to upload with the duplicate key error reported above. I haven't uploaded them to Immich manually in any other way, and newer photos in the same album are getting uploaded successfully.

@ameyp Can you elaborate on two new photos that fail to upload and newer photos in the same album are getting uploaded successfully.?

@alextran1502 commented on GitHub (May 24, 2023): > Just encountered this problem today on Android with two new photos that fail to upload with the `duplicate key` error reported above. I haven't uploaded them to Immich manually in any other way, and newer photos in the same album are getting uploaded successfully. @ameyp Can you elaborate on ` two new photos that fail to upload ` and `newer photos in the same album are getting uploaded successfully.`?
Author
Owner

@ameyp commented on GitHub (May 25, 2023):

  1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two duplicate key errors:
2023-05-24 17:32:00.880 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.880 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists.
2023-05-24 17:32:00.880 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-24 17:32:00.937 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.937 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists.
2023-05-24 17:32:00.937 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
  1. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too.
@ameyp commented on GitHub (May 25, 2023): 1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two `duplicate key` errors: ``` 2023-05-24 17:32:00.880 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-24 17:32:00.880 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists. 2023-05-24 17:32:00.880 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" 2023-05-24 17:32:00.937 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" 2023-05-24 17:32:00.937 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists. 2023-05-24 17:32:00.937 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" ``` 2. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too.
Author
Owner

@fwsmit commented on GitHub (May 25, 2023):

I'm experiencing a similar issue. The progress bar of the upload does indicate photos being uploaded, but I don't see any photos appearing in the web interface and the server does not indicate any disk IO. In the backup screen of the app the number of backed up images doesn't increase either

@fwsmit commented on GitHub (May 25, 2023): I'm experiencing a similar issue. The progress bar of the upload does indicate photos being uploaded, but I don't see any photos appearing in the web interface and the server does not indicate any disk IO. In the backup screen of the app the number of backed up images doesn't increase either
Author
Owner

@alextran1502 commented on GitHub (May 25, 2023):

@fwsmit Can you please check the server/microservice log?

@alextran1502 commented on GitHub (May 25, 2023): @fwsmit Can you please check the server/microservice log?
Author
Owner

@fwsmit commented on GitHub (May 25, 2023):

There definitely seems to be an issue with immich_server.

I'm using RHEL 9, so I'm using SELinux and podman-compose. I've updated the docker-compose.yml file to work for selinux, but I might have missed something.

EDIT: upload via web interface still works, so the server can write images.

immich_server log

[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [NestFactory] Starting Nest application...
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +93ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] DownloadModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +2ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +19ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:10 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +482ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] AlbumModule dependencies initialized +10ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TagModule dependencies initialized +2ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] AssetModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] InfraModule dependencies initialized +6ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] DomainModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] AppModule dependencies initialized +4ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] AppController {/}: +403ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/refresh-config, POST} route +5ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] AlbumController {/album}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] APIKeyController {/api-key}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/api-key, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/api-key, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] AssetController {/asset}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/map-marker, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] AuthController {/auth}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/login, POST} route +2ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/devices, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/devices, DELETE} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/devices/:id, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] JobController {/jobs}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/jobs, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/jobs/:jobId, PUT} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] OAuthController {/oauth}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/oauth/config, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] PartnerController {/partner}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/partner, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/partner/:id, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/partner/:id, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] SearchController {/search}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/search, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/search/config, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/search/explore, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] ServerInfoController {/server-info}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/server-info, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/server-info/version, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/server-info/stats, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] SharedLinkController {/share}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/share, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/share/me, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/share/:id, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/share/:id, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/share/:id, PATCH} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] SystemConfigController {/system-config}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] UserController {/user}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/info/:userId, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/me, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/:userId, DELETE} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/:userId/restore, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user, PUT} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/user/profile-image/:userId, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] PersonController {/person}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/person, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/person/:id, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/person/:id, PUT} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/person/:id/thumbnail, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/person/:id/assets, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] AssetController {/asset}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/upload, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/download/:assetId, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/download-files, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/download-library, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/file/:assetId, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/thumbnail/:assetId, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/search, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/count-by-time-bucket, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/count-by-user-id, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/stat/archive, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/time-bucket, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/:assetId, PUT} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset, DELETE} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/check, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/exist, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/shared-link, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/shared-link/add, PATCH} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/asset/shared-link/remove, PATCH} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] TagController {/tag}: +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/tag, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/tag, GET} route +4ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/tag/:id, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/tag/:id, PATCH} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/tag/:id, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RoutesResolver] AlbumController {/album}: +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/count-by-user-id, GET} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album, POST} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId/users, PUT} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId/assets, PUT} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId/assets, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId, DELETE} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId/user/:userId, DELETE} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId, PATCH} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/:albumId/download, GET} route +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [RouterExplorer] Mapped {/album/create-shared-link, POST} route +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [SearchService] Running bootstrap
Request #1684948751695: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging"
Request #1684948751695: Sleeping for 4s and then retrying request...
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [TypesenseRepository] Creating schema: assets/assets-v7
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [TypesenseRepository] Schema up to date: albums/albums-v1
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [TypesenseRepository] Creating schema: faces/faces-v1
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [TypesenseRepository] Alias mapping: [{"collection_name":"albums-v1","name":"albums"},{"collection_name":"assets-v3","name":"assets"}]
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [TypesenseRepository] Collections needing migration: {"assets":true,"albums":false,"faces":true}
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [NestApplication] Nest application successfully started +15ms
[Nest] 1  - 05/24/2023, 5:19:15 PM     LOG [ImmichServer] Running Immich Server in PRODUCTION environment - version 1.57.1 - Listening on port: 3001
[Nest] 1  - 05/24/2023, 5:19:15 PM    WARN [ImmichServer] Machine learning is enabled
[Nest] 1  - 05/24/2023, 5:19:15 PM    WARN [ImmichServer] Search is enabled
[Nest] 1  - 05/25/2023, 12:00:00 AM   ERROR [JobRepository] Invalid job
[Nest] 1  - 05/25/2023, 12:00:00 AM   ERROR [JobRepository] Object:
{
  "name": "user-delete-check"
}

[Nest] 1  - 05/25/2023, 8:20:17 AM   ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at onclose (node:internal/streams/end-of-stream:154:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[Nest] 1  - 05/25/2023, 9:07:02 AM   ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:399:5)
    at onclose (node:internal/streams/end-of-stream:154:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

immich_microservices

[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [NestFactory] Starting Nest application...
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +51ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +13ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:11 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +415ms
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +2ms
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [InstanceLoader] InfraModule dependencies initialized +37ms
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [InstanceLoader] DomainModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [InstanceLoader] MicroservicesModule dependencies initialized +1ms
[Nest] 1  - 05/24/2023, 5:19:12 PM    WARN [MetadataExtractionProcessor] Reverse geocoding is enabled
[Nest] 1  - 05/24/2023, 5:19:12 PM     LOG [MetadataExtractionProcessor] Initializing Reverse Geocoding
[Nest] 1  - 05/24/2023, 5:20:03 PM     LOG [MetadataExtractionProcessor] Reverse Geocoding Initialized
[Nest] 1  - 05/24/2023, 5:20:03 PM     LOG [NestApplication] Nest application successfully started +39ms
[Nest] 1  - 05/24/2023, 5:20:03 PM     LOG [ImmichMicroservice] Running Immich Microservices in PRODUCTION environment - version 1.57.1 - Listening on port: 3002
[Nest] 1  - 05/24/2023, 5:20:03 PM     LOG [SearchService] Indexing 0 faces
[Nest] 1  - 05/24/2023, 5:20:03 PM     LOG [TypesenseRepository] Using new schema: (unset) => faces-v1
[Nest] 1  - 05/24/2023, 5:20:04 PM     LOG [TypesenseRepository] Using new schema: assets-v3 => assets-v7
[Nest] 1  - 05/24/2023, 5:20:04 PM     LOG [TypesenseRepository] Deleting old schema: assets-v3
@fwsmit commented on GitHub (May 25, 2023): There definitely seems to be an issue with immich_server. I'm using RHEL 9, so I'm using SELinux and podman-compose. I've updated the docker-compose.yml file to work for selinux, but I might have missed something. EDIT: upload via web interface still works, so the server can write images. immich_server log ``` [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [NestFactory] Starting Nest application... [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +93ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] BullModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] DownloadModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +2ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] ConfigModule dependencies initialized +19ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] BullModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:10 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +482ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] AlbumModule dependencies initialized +10ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TagModule dependencies initialized +2ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] AssetModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] InfraModule dependencies initialized +6ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] DomainModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] AppModule dependencies initialized +4ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] AppController {/}: +403ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/refresh-config, POST} route +5ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] AlbumController {/album}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] APIKeyController {/api-key}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/api-key, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/api-key, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/api-key/:id, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/api-key/:id, PUT} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/api-key/:id, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] AssetController {/asset}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/map-marker, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] AuthController {/auth}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/login, POST} route +2ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/admin-sign-up, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/devices, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/devices, DELETE} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/devices/:id, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/validateToken, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/change-password, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/auth/logout, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] JobController {/jobs}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/jobs, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/jobs/:jobId, PUT} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] OAuthController {/oauth}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/oauth/mobile-redirect, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/oauth/config, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/oauth/callback, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/oauth/link, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/oauth/unlink, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] PartnerController {/partner}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/partner, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/partner/:id, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/partner/:id, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] SearchController {/search}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/search, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/search/config, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/search/explore, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] ServerInfoController {/server-info}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/server-info, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/server-info/ping, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/server-info/version, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/server-info/stats, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] SharedLinkController {/share}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/share, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/share/me, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/share/:id, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/share/:id, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/share/:id, PATCH} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] SystemConfigController {/system-config}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/system-config, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/system-config/defaults, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/system-config, PUT} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/system-config/storage-template-options, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] UserController {/user}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/info/:userId, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/me, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/count, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/:userId, DELETE} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/:userId/restore, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user, PUT} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/profile-image, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/user/profile-image/:userId, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] PersonController {/person}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/person, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/person/:id, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/person/:id, PUT} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/person/:id/thumbnail, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/person/:id/assets, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] AssetController {/asset}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/upload, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/download/:assetId, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/download-files, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/download-library, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/file/:assetId, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/thumbnail/:assetId, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/curated-objects, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/curated-locations, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/search-terms, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/search, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/count-by-time-bucket, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/count-by-user-id, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/stat/archive, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/time-bucket, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/:deviceId, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/assetById/:assetId, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/:assetId, PUT} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset, DELETE} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/check, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/exist, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/shared-link, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/shared-link/add, PATCH} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/asset/shared-link/remove, PATCH} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] TagController {/tag}: +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/tag, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/tag, GET} route +4ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/tag/:id, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/tag/:id, PATCH} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/tag/:id, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RoutesResolver] AlbumController {/album}: +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/count-by-user-id, GET} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album, POST} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId/users, PUT} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId/assets, PUT} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId/assets, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId, DELETE} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId/user/:userId, DELETE} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId, PATCH} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/:albumId/download, GET} route +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [RouterExplorer] Mapped {/album/create-shared-link, POST} route +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [SearchService] Running bootstrap Request #1684948751695: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging" Request #1684948751695: Sleeping for 4s and then retrying request... [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [TypesenseRepository] Creating schema: assets/assets-v7 [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v1 [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [TypesenseRepository] Creating schema: faces/faces-v1 [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [TypesenseRepository] Alias mapping: [{"collection_name":"albums-v1","name":"albums"},{"collection_name":"assets-v3","name":"assets"}] [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [TypesenseRepository] Collections needing migration: {"assets":true,"albums":false,"faces":true} [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [NestApplication] Nest application successfully started +15ms [Nest] 1 - 05/24/2023, 5:19:15 PM LOG [ImmichServer] Running Immich Server in PRODUCTION environment - version 1.57.1 - Listening on port: 3001 [Nest] 1 - 05/24/2023, 5:19:15 PM WARN [ImmichServer] Machine learning is enabled [Nest] 1 - 05/24/2023, 5:19:15 PM WARN [ImmichServer] Search is enabled [Nest] 1 - 05/25/2023, 12:00:00 AM ERROR [JobRepository] Invalid job [Nest] 1 - 05/25/2023, 12:00:00 AM ERROR [JobRepository] Object: { "name": "user-delete-check" } [Nest] 1 - 05/25/2023, 8:20:17 AM ERROR [ExpressAdapter] Premature close Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at new NodeError (node:internal/errors:399:5) at onclose (node:internal/streams/end-of-stream:154:30) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [Nest] 1 - 05/25/2023, 9:07:02 AM ERROR [ExpressAdapter] Premature close Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at new NodeError (node:internal/errors:399:5) at onclose (node:internal/streams/end-of-stream:154:30) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) ``` immich_microservices ``` [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [NestFactory] Starting Nest application... [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +51ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] BullModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] ConfigModule dependencies initialized +13ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:11 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +415ms [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +2ms [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [InstanceLoader] InfraModule dependencies initialized +37ms [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [InstanceLoader] DomainModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [InstanceLoader] MicroservicesModule dependencies initialized +1ms [Nest] 1 - 05/24/2023, 5:19:12 PM WARN [MetadataExtractionProcessor] Reverse geocoding is enabled [Nest] 1 - 05/24/2023, 5:19:12 PM LOG [MetadataExtractionProcessor] Initializing Reverse Geocoding [Nest] 1 - 05/24/2023, 5:20:03 PM LOG [MetadataExtractionProcessor] Reverse Geocoding Initialized [Nest] 1 - 05/24/2023, 5:20:03 PM LOG [NestApplication] Nest application successfully started +39ms [Nest] 1 - 05/24/2023, 5:20:03 PM LOG [ImmichMicroservice] Running Immich Microservices in PRODUCTION environment - version 1.57.1 - Listening on port: 3002 [Nest] 1 - 05/24/2023, 5:20:03 PM LOG [SearchService] Indexing 0 faces [Nest] 1 - 05/24/2023, 5:20:03 PM LOG [TypesenseRepository] Using new schema: (unset) => faces-v1 [Nest] 1 - 05/24/2023, 5:20:04 PM LOG [TypesenseRepository] Using new schema: assets-v3 => assets-v7 [Nest] 1 - 05/24/2023, 5:20:04 PM LOG [TypesenseRepository] Deleting old schema: assets-v3 ```
Author
Owner

@alextran1502 commented on GitHub (May 25, 2023):

@fwsmit maybe you can open a separate issue since your setup is not standard? Is your mobile app and the server are on the same version?

@alextran1502 commented on GitHub (May 25, 2023): @fwsmit maybe you can open a separate issue since your setup is not standard? Is your mobile app and the server are on the same version?
Author
Owner

@alextran1502 commented on GitHub (May 25, 2023):

  1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two duplicate key errors:
2023-05-24 17:32:00.880 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.880 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists.
2023-05-24 17:32:00.880 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-24 17:32:00.937 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.937 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists.
2023-05-24 17:32:00.937 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
  1. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too.

@ameyp Can you run the thumbnail generated job for missing one in the admin panel on the web? I think this should fix the issue.

@alextran1502 commented on GitHub (May 25, 2023): > 1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two `duplicate key` errors: > > ``` > 2023-05-24 17:32:00.880 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" > 2023-05-24 17:32:00.880 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists. > 2023-05-24 17:32:00.880 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" > 2023-05-24 17:32:00.937 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" > 2023-05-24 17:32:00.937 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists. > 2023-05-24 17:32:00.937 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" > ``` > > 2. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too. @ameyp Can you run the thumbnail generated job for missing one in the admin panel on the web? I think this should fix the issue.
Author
Owner

@ameyp commented on GitHub (May 25, 2023):

@alextran1502 Holy moley that fixed it, thank you!

@ameyp commented on GitHub (May 25, 2023): @alextran1502 Holy moley that fixed it, thank you!
Author
Owner

@chasewinnings391 commented on GitHub (May 25, 2023):

  1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two duplicate key errors:
2023-05-24 17:32:00.880 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.880 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists.
2023-05-24 17:32:00.880 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-24 17:32:00.937 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.937 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists.
2023-05-24 17:32:00.937 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
  1. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too.

@ameyp Can you run the thumbnail generated job for missing one in the admin panel on the web? I think this should fix the issue.

Thanks Alex! This also solved an issue I was encountering with photo's not being uploaded. These were regular photos (no live photos) on android (pixel 4a)

@chasewinnings391 commented on GitHub (May 25, 2023): > > 1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two `duplicate key` errors: > > > > ``` > > 2023-05-24 17:32:00.880 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" > > 2023-05-24 17:32:00.880 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists. > > 2023-05-24 17:32:00.880 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" > > 2023-05-24 17:32:00.937 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" > > 2023-05-24 17:32:00.937 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists. > > 2023-05-24 17:32:00.937 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" > > ``` > > > > > > > > > > > > > > > > > > > > > > > > > > 2. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too. > > @ameyp Can you run the thumbnail generated job for missing one in the admin panel on the web? I think this should fix the issue. Thanks Alex! This also solved an issue I was encountering with photo's not being uploaded. These were regular photos (no live photos) on android (pixel 4a)
Author
Owner

@0xEmma commented on GitHub (May 26, 2023):

  1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two duplicate key errors:
2023-05-24 17:32:00.880 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.880 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists.
2023-05-24 17:32:00.880 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
2023-05-24 17:32:00.937 GMT [2416528] ERROR:  duplicate key value violates unique constraint "UQ_userid_checksum"
2023-05-24 17:32:00.937 GMT [2416528] DETAIL:  Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists.
2023-05-24 17:32:00.937 GMT [2416528] STATEMENT:  INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
  1. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too.

@ameyp Can you run the thumbnail generated job for missing one in the admin panel on the web? I think this should fix the issue.

Did this aswell and it fixed!

@0xEmma commented on GitHub (May 26, 2023): > > 1. I took two photos yesterday, and in the app those two have a cloud icon with a line through it. In my web browser, I don't see them. If I attempt to upload them via the browser, the upload "succeeds", but refreshing the page shows that it didn't succeed after all. I don't see any errors in Immich logs, but in PostgreSQL logs I see two `duplicate key` errors: > > > > ``` > > 2023-05-24 17:32:00.880 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" > > 2023-05-24 17:32:00.880 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x984b198869deb91b5240961a28747485d4bffa0b) already exists. > > 2023-05-24 17:32:00.880 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" > > 2023-05-24 17:32:00.937 GMT [2416528] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" > > 2023-05-24 17:32:00.937 GMT [2416528] DETAIL: Key ("ownerId", checksum)=(6d2233eb-e29b-4e99-a75e-a0b007efb71e, \x10503058cd97cae9ef8c3b7d0634ec6caf154dd3) already exists. > > 2023-05-24 17:32:00.937 GMT [2416528] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible" > > ``` > > > > > > > > > > > > > > > > > > > > > > > > > > 2. To see if this was a systemic problem, I took a new photo with my camera and launched the app, after a few seconds the cloud-with-check-mark icon appeared on it. I can see the new photo in my web browser too. > > @ameyp Can you run the thumbnail generated job for missing one in the admin panel on the web? I think this should fix the issue. Did this aswell and it fixed!
Author
Owner

@alextran1502 commented on GitHub (May 26, 2023):

Closing as this is an issue with race conditions in microservices that move the file and generate thumbnails at the same time, which results in the file path not being found. This will be fixed in #2572

@alextran1502 commented on GitHub (May 26, 2023): Closing as this is an issue with race conditions in microservices that move the file and generate thumbnails at the same time, which results in the file path not being found. This will be fixed in #2572
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#884