immich-app / immich

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

Immich One Click Apps Latest Version Problem #6331

Closed burak-sayici closed 10 months ago

burak-sayici commented 10 months ago

The bug

Hello, I use CapRover very fondly. I saw the immich application while browsing in the once click apps section in the application and I immediately installed it excitedly. But there was a problem like this: CapRover was installing the v1.52.1 version of the immich application, but the mobile version of the immich application did not see the server because the version was old. Firstly, I tried hard to install the current version of the immich application from the first click apps section. I wrote v1.92.1 in the immich verison section, but it did not install. After installing version 1.52.1, I tried to install the current version from the deployment tab, but it was not successful again. As a last resort, I performed manual installation using docker compose all services "captain-overlay-network" and I saw that I could access my server's local ip address (192.168.1.60) from port 2283. Even though I tried to connect it to my domain with Nginx Reverse Proxy application via CapRover, I was not successful. I made many attempts to the address and port section (http://$:2283, http://$:3001, http://0.0.0.0:2283, http://0.0.0.0:2283, http://192.168.1.60:2283) but I did not get any successful results. I couldn't complete the installation successfully both because I couldn't install the current version as one click apps and because I couldn't do reverse proxy with docker compose. It only works on my local network. I would like to ask for your support on the subject.

docker ps: image

NGINX Reverse Proxy: image

Local access: image

The OS that Immich Server is running on

Ubuntu 22.04.3 LTS with Docker

Version of Immich Server

1.92.1

Version of Immich Mobile App

V1.92.0

Platform with the issue

Your docker-compose.yml content

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
    networks:
      - captain-overlay-network
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.yml
    #   service: hwaccel
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - redis
      - database
    networks:
      - captain-overlay-network
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    networks:
      - captain-overlay-network
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
    networks:
      - captain-overlay-network
    restart: always

  database:
    container_name: immich_postgres
    image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - pgdata:/var/lib/postgresql/data
    networks:
      - captain-overlay-network
    restart: always

volumes:
  pgdata:
  model-cache:

networks:
  captain-overlay-network:
    external: true

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 secret for postgres. You should change it to a random password
DB_PASSWORD=postgres

# 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

Only V1.52.1 version can be installed with CapRover one click apps on the server and mobile application cannot be connected. There is no automatic update.

Additional information

No response

bo0tzz commented 10 months ago

We don't have anything to do with the CapRover setup and can't provide support for it, you'll have to ask for help through their support channels.