immich-app / immich

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

After updating to the latest version. Storage is not displayed! #10191

Open Luvbe3 opened 3 weeks ago

Luvbe3 commented 3 weeks ago

The bug

Untitled

The OS that Immich Server is running on

docker synology nas

Version of Immich Server

v1.106.2

Version of Immich Mobile App

v1.91

Platform with the issue

Your docker-compose.yml content

version: "3.8"
name: immich
services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    volumes:
      - /volume1/docker/immich-app/${UPLOAD_LOCATION}:/usr/src/app/upload
      - /volume1/homes/tom/Photos:/tom:rw
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - 2283:3001
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    extends:
       file: hwaccel.ml.yml
       service: openvino
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
    restart: always

  database:
    container_name: immich_postgres
    image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always
  backup:
    container_name: immich_db_dumper
    image: prodrigestivill/postgres-backup-local
    env_file:
      - .env
    environment:
      POSTGRES_HOST: database
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      SCHEDULE: "@daily"
      BACKUP_DIR: /db_dumps
    volumes:
      - /volume1/docker/immich-app/db_dumps:/db_dumps
    depends_on:
      - database

volumes:
  pgdata:
  model-cache:

Your .env content

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=./library

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

# Connection secrets for postgres and typesense. You should change these to random passwords
DB_PASSWORD=

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
PUBLIC_LOGIN_PAGE_MESSAGE="<center>*** Tom Family ***</center>"
REDIS_HOSTNAME=immich_redis

Reproduction steps

Check Server stats in settings!

Relevant log output

No response

Additional information

No response

jjspierx commented 1 week ago

I am guessing you only have an external library? This is a known issue that Immich no longer displays storage for external libraries on the server stats page. If you go to the external libraries page, it will show the size of the library there. I asked about it on Discord, and I think the consensus was that this was not a bug bur rather new expected behavior. Seems like it would be pretty easy though to display the sum of the external libraries and the upload library, since all of that data is available via the API.

Luvbe3 commented 1 week ago

I am guessing you only have an external library? This is a known issue that Immich no longer displays storage for external libraries on the server stats page. If you go to the external libraries page, it will show the size of the library there. I asked about it on Discord, and I think the consensus was that this was not a bug bur rather new expected behavior. Seems like it would be pretty easy though to display the sum of the external libraries and the upload library, since all of that data is available via the API.

Yes right. I only have 1 external photo gallery. and it is the synology photo library I use to backup photos from my iphone. before updating to the latest version. everything displays normally. so I have questions!

ilopmar commented 2 days ago

I noticed also this after updating to the latest version because in previous version it showed the sum off all external libraries. It would be good to have the sum of all external libraries, maybe in the external libraries page or in the server stats as it was before. I have 5 external libraries and I need to open the calculator to know the total size.