[BUG] Server can't connect after v1.15.0_21-dev #121

Closed
opened 2026-02-04 17:52:03 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @xpwmaosldk on GitHub (Jun 30, 2022).

Hi, My environment is MacOS.

Here is my docker-compose.yml

version: "3.8"

services:
  immich-server:
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-server.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-microservices.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  # immich-machine-learning:
  #   image: altran1502/immich-machine-learning:release
  #   entrypoint: [ "/bin/sh", "./entrypoint.sh" ]
  #   volumes:
  #     - ${UPLOAD_LOCATION}:/usr/src/app/upload
  #   env_file:
  #     - .env
  #   environment:
  #     - NODE_ENV=production
  #   depends_on:
  #     - database
  #   restart: always

  immich-web:
    image: altran1502/immich-web:release
    entrypoint: [ "/bin/sh", "./entrypoint.sh" ]
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

  immich-proxy:
    container_name: immich_proxy
    image: altran1502/immich-proxy:release
    ports:
      - 2283:80
      - 2284:443
    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always

volumes:
  pgdata:

And server start well but I got message immich_proxy exited with code 0 then I can't connect server form mobile.
1

Mobile ping(api/server-info/ping) response Connection refused
Web is same(ERR_CONNECTION_REFUSED)

I didn't changed any setting manually before and after.

Originally created by @xpwmaosldk on GitHub (Jun 30, 2022). Hi, My environment is MacOS. Here is my docker-compose.yml ``` version: "3.8" services: immich-server: image: altran1502/immich-server:release entrypoint: [ "/bin/sh", "./start-server.sh" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production depends_on: - redis - database restart: always immich-microservices: image: altran1502/immich-server:release entrypoint: [ "/bin/sh", "./start-microservices.sh" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production depends_on: - redis - database restart: always # immich-machine-learning: # image: altran1502/immich-machine-learning:release # entrypoint: [ "/bin/sh", "./entrypoint.sh" ] # volumes: # - ${UPLOAD_LOCATION}:/usr/src/app/upload # env_file: # - .env # environment: # - NODE_ENV=production # depends_on: # - database # restart: always immich-web: image: altran1502/immich-web:release entrypoint: [ "/bin/sh", "./entrypoint.sh" ] env_file: - .env restart: always redis: container_name: immich_redis image: redis:6.2 restart: always database: container_name: immich_postgres image: postgres:14 env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} PG_DATA: /var/lib/postgresql/data volumes: - pgdata:/var/lib/postgresql/data restart: always immich-proxy: container_name: immich_proxy image: altran1502/immich-proxy:release ports: - 2283:80 - 2284:443 logging: driver: none depends_on: - immich-server restart: always volumes: pgdata: ``` And server start well but I got message `immich_proxy exited with code 0` then I can't connect server form mobile. ![1](https://user-images.githubusercontent.com/13146337/176636131-00f96a6c-ea95-482c-a9f8-fe4db8b26ab0.png) Mobile ping(api/server-info/ping) response `Connection refused` Web is same(ERR_CONNECTION_REFUSED) I didn't changed any setting manually before and after.
Author
Owner

@xpwmaosldk commented on GitHub (Jun 30, 2022):

it print periodically.
2

@xpwmaosldk commented on GitHub (Jun 30, 2022): it print periodically. ![2](https://user-images.githubusercontent.com/13146337/176638181-ac07bf50-e244-4d7c-9525-91e78893824c.png)
Author
Owner

@ghost commented on GitHub (Jun 30, 2022):

immich_proxy restart loop too:

immich-immich-web-1            | > Using @sveltejs/adapter-node
immich-immich-web-1            |   ✔ done
immich-immich-web-1            | Listening on 0.0.0.0:3000

immich_proxy                   | exec /docker-entrypoint.sh: exec format error

immich_proxy exited with code 1
immich_proxy exited with code 1
immich_proxy exited with code 1

Debian GNU/Linux 11 (bullseye) aarch64
Host: Raspberry Pi 4 Model B Rev 1.4
Kernel: 5.15.32-v8+

@ghost commented on GitHub (Jun 30, 2022): immich_proxy restart loop too: ``` immich-immich-web-1 | > Using @sveltejs/adapter-node immich-immich-web-1 | ✔ done immich-immich-web-1 | Listening on 0.0.0.0:3000 immich_proxy | exec /docker-entrypoint.sh: exec format error immich_proxy exited with code 1 immich_proxy exited with code 1 immich_proxy exited with code 1 ``` Debian GNU/Linux 11 (bullseye) aarch64 Host: Raspberry Pi 4 Model B Rev 1.4 Kernel: 5.15.32-v8+
Author
Owner

@ghost commented on GitHub (Jun 30, 2022):

The issue is that there is no proxy arm version for the release tag.
Bildschirmfoto 2022-06-30 um 13 46 03

@ghost commented on GitHub (Jun 30, 2022): The issue is that there is no proxy arm version for the release tag. ![Bildschirmfoto 2022-06-30 um 13 46 03](https://user-images.githubusercontent.com/25045751/176669578-dbb6946a-39fe-400a-ab54-48809d8a9a41.png)
Author
Owner

@zackpollard commented on GitHub (Jun 30, 2022):

Hmmm, I will take a look at this when I'm back at my PC, unsure why it isn't building release with the arm tags, the GitHub workflow is set to build the arm platform.

@zackpollard commented on GitHub (Jun 30, 2022): Hmmm, I will take a look at this when I'm back at my PC, unsure why it isn't building release with the arm tags, the GitHub workflow is set to build the arm platform.
Author
Owner

@alextran1502 commented on GitHub (Jun 30, 2022):

This is my error.

There was an error after the release is pushed in the Dockerfile, so I fixed, built and pushed the image from my computer. I forgot to consider it also need to be built for Arm64.

It should be fixed now. Please pull immich-proxy and restart the application again.

@alextran1502 commented on GitHub (Jun 30, 2022): This is my error. There was an error after the release is pushed in the Dockerfile, so I fixed, built and pushed the image from my computer. I forgot to consider it also need to be built for Arm64. It should be fixed now. Please pull immich-proxy and restart the application again.
Author
Owner

@alextran1502 commented on GitHub (Jun 30, 2022):

I believe this is resolved. Closing this issue.

@alextran1502 commented on GitHub (Jun 30, 2022): I believe this is resolved. Closing this issue.
Author
Owner

@xpwmaosldk commented on GitHub (Jun 30, 2022):

I believe this is resolved. Closing this issue.

I will check tomorrow.
I trust you! 👍

@xpwmaosldk commented on GitHub (Jun 30, 2022): > I believe this is resolved. Closing this issue. I will check tomorrow. I trust you! 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#121