-
The bugI have been running Immich for 2 years and never have any problem like this before. The OS that Immich Server is running onUbuntu / Running in Docker Version of Immich Server1.118.2 Version of Immich Mobile App1.118.2 Platform with the issue
Your docker-compose.yml contentimmich:
image: ghcr.io/imagegenius/immich:1.118.2
container_name: immich
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
- DB_HOSTNAME=pgvecto-rs
- DB_USERNAME=postgres
- DB_PASSWORD=dfffffffff
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=redis
- DB_PORT=5432
- REDIS_PORT=6379
- REDIS_PASSWORD=
volumes:
- /root/docker/immich_volume/config:/config
- /root/docker/immich_volume/photos:/photos
- /root/docker/immich_volume/import:/import:ro
ports:
- 6378:8080
devices:
- /dev/dri:/dev/dri # For H/W transcoding
restart: unless-stopped
redis:
image: redis:7.2.4-alpine
container_name: redis
ports:
- 6379:6379
restart: unless-stopped
pgvecto-rs:
image: tensorchord/pgvecto-rs:pg14-v0.2.1
container_name: pgvecto-rs
environment:
- TZ=Europe/Madrid
- PGTZ=Europe/Madrid
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=xxxxxxxxx
- POSTGRES_DB=immich
- POSTGRES_INITDB_ARGS=--data-checksums
command:
[
'postgres',
'-c',
'shared_preload_libraries=vectors.so',
'-c',
'search_path="$$user", public, vectors',
# this redirects logs to a file instead of stdout
# '-c',
# 'logging_collector=on',
'-c',
'max_wal_size=2GB',
'-c',
'shared_buffers=512MB',
'-c',
'wal_compression=on',
]
ports:
- 5434:5432
volumes:
- /root/docker/pgvecto-rs_volume/data:/var/lib/postgresql/data
restart: unless-stoppedYour .env content.Reproduction steps[Nest] 237 - 10/26/2024, 12:48:05 PM LOG [Api:RouterExplorer] Mapped {/api/users/profile-image, POST} route Relevant log outputNo response Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
|
We've had no other reports of instability so I've converted this to a Q&A discussion for now. Can you provide some more detail on the specs of your system? CPU, disks, etc? |
Beta Was this translation helpful? Give feedback.
-
|
Please post the DB logs |
Beta Was this translation helpful? Give feedback.
-
|
Still getting these errors frecuently: Is it possible to increase the connection timeouts in Immich or/and in Pgvector ? |
Beta Was this translation helpful? Give feedback.
-
|
I wonder if it would be helpful to try using the official server/machine learning image and service in your docker-compose.yml file. See if it helps with the issue |
Beta Was this translation helpful? Give feedback.
-
|
The problem was I was using an unofficial Docker image => https://github.com/imagegenius/docker-immich |
Beta Was this translation helpful? Give feedback.


The problem was I was using an unofficial Docker image => https://github.com/imagegenius/docker-immich
It's working fine with the official Docker images.