immich icon indicating copy to clipboard operation
immich copied to clipboard

Mobile: Backup > Total

Open mio-19 opened this issue 1 year ago • 7 comments

The bug

Screenshot_2024-03-08-19-11-16-214_app alextran immich See the screenshot

The OS that Immich Server is running on

Arch

Version of Immich Server

1.98.0

Version of Immich Mobile App

1.98.0

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [X] Mobile

Your docker-compose.yml content

version: "3.8"

#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#

name: immich

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

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/hardware-transcoding
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
    #   file: hwaccel.ml.yml
    #   service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
    restart: always

  database:
    container_name: immich_postgres
    image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - <some custom path>:/var/lib/postgresql/data
    restart: always

volumes:
  model-cache:

Your .env content


# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/HDDPool-data/immich/library

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.98.0

# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=***

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

Reproduction steps

1. Open the Backup Page

Additional information

No response

mio-19 avatar Mar 08 '24 11:03 mio-19

The Backup sum is the count of all of your backed up assets. Total is the amount of assets you have on your phone (in selected albums). So you just have 14 additional assets on your server that are not on your phone. Or am I missing something?

JW-CH avatar Mar 08 '24 14:03 JW-CH

I think there are some duplicated assets that is in the black list, and is not accounted for.

Can you go into Settings > Local Storage and see how many count of duplicated assets is showing there?

alextran1502 avatar Mar 08 '24 23:03 alextran1502

I think there are some duplicated assets that is in the black list, and is not accounted for.

Can you go into Settings > Local Storage and see how many count of duplicated assets is showing there?

Yes there are duplicated assets.

It would be less confusing if Backup and Total both include duplicated assets or neither of them include duplicated assets

mio-19 avatar Mar 09 '24 04:03 mio-19

@mio-19 yeah that makes sense. What are the number of duplicated asset?

alextran1502 avatar Mar 09 '24 13:03 alextran1502

@mio-19 yeah that makes sense. What are the number of duplicated asset?

I don't remember. I pressed the "clear" button

mio-19 avatar Mar 11 '24 08:03 mio-19

Also facing this right now. 97 duplicates. For me it's likely the result of me deleting the asset locally not via cloud, so it stays on Immich server but is not present locally.

image

freak12techno avatar Jun 19 '24 17:06 freak12techno

Could we get a reliable counter of "things that are on the device but not backed up yet"? I guess "remainder" should represent this number, but I've had at least two devices where backup went over total by like a thousand and it kept pumping out more and more photos, making it borderline impossible to guess when everything will be backed up

adamruzicka avatar Jul 05 '24 15:07 adamruzicka