Unhealthy status for db post update
anyone can help with my database migration issue. Everything seems to be running fine but the healthcheck says it is unhealthy. I read through the chat and some said just let it sit while the migration happens but it is still unhealthy 6 hrs after.
services:
immich-ts:
image: tailscale/tailscale
container_name: immich-ts
cap_add:
services:
immich-ts:
image: tailscale/tailscale
container_name: immich-ts
cap_add:
- net_admin
- sys_module
volumes: - /storage/stacks/immich/tailscale/state:/var/lib/tailscale
- /storage/stacks/immich/tailscale/config:/config
- /dev/net/tun:/dev/net/tun
environment: - TS_AUTHKEY=redacted
- TS_EXTRA_ARGS=--advertise-tags=tag:container
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/serve-config.json
hostname: immich
restart: unless-stopped
immich-server:
container_name: immich-server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes: - /storage/stacks/immich/upload:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
network_mode: service:immich-ts
env_file: - .env
depends_on: - redis
- database
restart: always
healthcheck:
disable: false
immich-machine-learning:
container_name: immich-machine-learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes: - /storage/stacks/immich/model-cache:/cache
env_file: - .env
restart: always
healthcheck:
disable: false
redis:
container_name: immich-redis
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
healthcheck:
test: redis-cli ping || exit 1
restart: always
database:
container_name: immich-database
#image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: --data-checksums
DB_STORAGE_TYPE: HDD
volumes: - /storage/stacks/immich/database:/var/lib/postgresql/data
restart: always
networks:
immich-ts: {}
