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

Wrong size displayed in external libraries #10927

Closed
1 of 3 tasks
ilopmar opened this issue Jul 6, 2024 · 0 comments · Fixed by #10935
Closed
1 of 3 tasks

Wrong size displayed in external libraries #10927

ilopmar opened this issue Jul 6, 2024 · 0 comments · Fixed by #10935
Labels
external-library Issues related to external libraries

Comments

@ilopmar
Copy link

ilopmar commented Jul 6, 2024

The bug

I've upgraded from v1.106.4 to v1.107.2 and I've noticed that the external ilbraries size is missing the decimal point (and I'm not sure about the units)

This is after the upgrade:

image

The size should be 318.3, 27.3,... And as mentioned I think in previous version it also displayed the units, like 318.3 GB

The OS that Immich Server is running on

Ubunbu Server 22.04.4

Version of Immich Server

v1.107.2

Version of Immich Mobile App

v1.107

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: '3.9'

services:
  immich-server:
    container_name: immich_server
    # The version needs to be the same in `immich-machine-learning` local or remote (check `remote-ml.yml`)
    image: ghcr.io/immich-app/immich-server:v1.107.2
    networks:
      - traefik_proxy
      - immich_default
    volumes:
      - ./upload:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      # My volumes
    env_file:
      - .env
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped
    depends_on:
      - redis
      - database

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine
    healthcheck:
      test: redis-cli ping || exit 1
    restart: unless-stopped
    networks:
      - immich_default

  database:
    container_name: immich_postgres
    image: tensorchord/pgvecto-rs:pg14-v0.2.0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - ./postgres:/var/lib/postgresql/data
    restart: unless-stopped
    command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]
    networks:
      - immich_default

networks:
  traefik_proxy:
    external: true
  immich_default:
    name: immich_default

Your .env content

# Only change `DB_PASSWORD`
DB_PASSWORD=__PUT_HERE_DATABASE_PASSWORD__

# Do not change this
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
DB_HOSTNAME=immich_postgres

Reproduction steps

- Use an external library
- Check the size

Relevant log output

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-library Issues related to external libraries
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants