[BUG] unable to access from external internet via nginx proxy manager #115

Closed
opened 2026-02-04 17:46:22 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @spupuz on GitHub (Jun 27, 2022).

i i try to access from external i can login but then page is empty and do not shows anything:

image

and administration page give this error

500
Failed to fetch
TypeError: Failed to fetch
    at et (https://immich.xxxxxx.duckdns.org/_app/chunks/status-box-0bf9b254.js:1:788)
    at Ce (https://immich.xxxxxxx.duckdns.org/_app/chunks/status-box-0bf9b254.js:1:906)
    at yt (https://immich.spupuz.xxxxxx.org/_app/pages/admin/index.svelte-f8c0fb41.js:1:15614)
    at Q (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:17890)
    at Ne (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:19117)
    at async me (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:14557)
    at async we (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:20938)
Originally created by @spupuz on GitHub (Jun 27, 2022). i i try to access from external i can login but then page is empty and do not shows anything: ![image](https://user-images.githubusercontent.com/1721792/175897207-b58dac9f-2d8b-4e76-9359-3a2378b1b78f.png) and administration page give this error ``` 500 Failed to fetch TypeError: Failed to fetch at et (https://immich.xxxxxx.duckdns.org/_app/chunks/status-box-0bf9b254.js:1:788) at Ce (https://immich.xxxxxxx.duckdns.org/_app/chunks/status-box-0bf9b254.js:1:906) at yt (https://immich.spupuz.xxxxxx.org/_app/pages/admin/index.svelte-f8c0fb41.js:1:15614) at Q (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:17890) at Ne (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:19117) at async me (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:14557) at async we (https://immich.xxxxxx.duckdns.org/_app/start-e47c71ce.js:1:20938) ```
Author
Owner

@spupuz commented on GitHub (Jun 27, 2022):

from the application all works flawlessy

@spupuz commented on GitHub (Jun 27, 2022): from the application all works flawlessy
Author
Owner

@spupuz commented on GitHub (Jun 27, 2022):

version: "3.8"

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

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

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

  immich-web:
    image: altran1502/immich-web:latest
    entrypoint: ["/bin/sh", "./entrypoint.sh"]
    env_file:
      - .env
    ports:
      - 2285:3000
    networks:
      - immich-network
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2
    networks:
      - immich-network
    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
    ports:
      - 5432:5432
    networks:
      - immich-network
    restart: always

  nginx:
    container_name: proxy_nginx
    image: nginx:latest
    volumes:
      - ${NGINX_CONF}:/etc/nginx/conf.d
    ports:
      - 2283:80
      - 2284:443
    logging:
      driver: none
    networks:
      - immich-network
    depends_on:
      - immich-server
    restart: always

networks:
  immich-network:
volumes:
  pgdata:

image

@spupuz commented on GitHub (Jun 27, 2022): ``` version: "3.8" services: immich-server: image: altran1502/immich-server:latest entrypoint: ["/bin/sh", "./start-server.sh"] expose: - "3000" volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production depends_on: - redis - database networks: - immich-network restart: always immich-microservices: image: altran1502/immich-server:latest entrypoint: ["/bin/sh", "./start-microservices.sh"] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production depends_on: - redis - database networks: - immich-network restart: always immich-machine-learning: image: altran1502/immich-machine-learning:latest entrypoint: ["/bin/sh", "./entrypoint.sh"] expose: - "3001" volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env environment: - NODE_ENV=production depends_on: - database networks: - immich-network restart: always immich-web: image: altran1502/immich-web:latest entrypoint: ["/bin/sh", "./entrypoint.sh"] env_file: - .env ports: - 2285:3000 networks: - immich-network restart: always redis: container_name: immich_redis image: redis:6.2 networks: - immich-network 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 ports: - 5432:5432 networks: - immich-network restart: always nginx: container_name: proxy_nginx image: nginx:latest volumes: - ${NGINX_CONF}:/etc/nginx/conf.d ports: - 2283:80 - 2284:443 logging: driver: none networks: - immich-network depends_on: - immich-server restart: always networks: immich-network: volumes: pgdata: ``` ![image](https://user-images.githubusercontent.com/1721792/175903480-ac03d2a6-19b9-43eb-9126-7071df4600f7.png)
Author
Owner

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

Resolved in discord, closing issue

@zackpollard commented on GitHub (Jun 27, 2022): Resolved in discord, closing issue
Author
Owner

@Kizaing commented on GitHub (Jun 29, 2022):

Apologies I am having the same issue and I'm wondering what the solution was? I tried to find a link to the dicord to search it, but I can't find it either haha

@Kizaing commented on GitHub (Jun 29, 2022): Apologies I am having the same issue and I'm wondering what the solution was? I tried to find a link to the dicord to search it, but I can't find it either haha
Author
Owner

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

Jump in the discord and we can assist in the #help-desk channel :) https://discord.gg/Umwg7JSh

@zackpollard commented on GitHub (Jun 29, 2022): Jump in the discord and we can assist in the #help-desk channel :) https://discord.gg/Umwg7JSh
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#115