terriblesmell
IImmich
•Created by terriblesmell on 6/1/2023 in #help-desk-support
502 Bad Gateway nginx/1.22.0 (Ubuntu) and secure connection failed
hi, sorry if this has been answered before - i found a thread on github and it said "answered on discord" but didn't find the answer. i've installed postgres and redis separately and configured them and then installed immich in portainer/stacks. i opened port 8080 in ufw and postgres and redis ports but i get
Secure Connection Failed - An error occurred during a connection
to 192.168.50.187:8080. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG and when i try through http it's 502 bad gateway. do i have to install nginx because i haven't installed that one yet.
version: "2.1"
services:
immich:
image: ghcr.io/imagegenius/immich:latest
container_name: immich
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- DB_HOSTNAME=192.168.50.187:5432
- DB_USERNAME=immich
- DB_PASSWORD=xxx
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=192.168.50.187:6379
- DISABLE_MACHINE_LEANRNING=false #optional
- DISABLE_TYPESENSE=false #optional
- DB_PORT=5432
- REDIS_PORT=6379
- REDIS_PASSWORD= xxx
- CUDA_ACCELERATION=false #optional
volumes:
- /home/user/docker/immich:/config
- /home/user/photos:/photos
- /home/user/docker/immich/machine-learning:/config/machine-learning #optional
ports:
- 8080:8080
restart: unless-stopped
28 replies