Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile: Backup > Total #7738

Open
1 of 3 tasks
mio-19 opened this issue Mar 8, 2024 · 7 comments
Open
1 of 3 tasks

Mobile: Backup > Total #7738

mio-19 opened this issue Mar 8, 2024 · 7 comments

Comments

@mio-19
Copy link
Contributor

mio-19 commented Mar 8, 2024

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

@JW-CH
Copy link
Contributor

JW-CH commented Mar 8, 2024

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 JW-CH added the question label Mar 8, 2024
@alextran1502
Copy link
Contributor

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?

@mio-19
Copy link
Contributor Author

mio-19 commented Mar 9, 2024

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

@alextran1502
Copy link
Contributor

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

@mio-19
Copy link
Contributor Author

mio-19 commented Mar 11, 2024

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

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

@freak12techno
Copy link

freak12techno commented Jun 19, 2024

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

@adamruzicka
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants
@jrasm91 @adamruzicka @JW-CH @alextran1502 @mio-19 @freak12techno and others