Alan
Alan
IImmich
Created by Alan on 6/10/2023 in #help-desk-support
immich_postgres exited with code 0/135
I messed up after the null-checksum issue in 1.58. I was unable to run the fix for it, so I decided to just restart everyting. I have used the docker compose down -v command to purge everything. I have updated my OS (apt update, apt upgrade). I have rebooted my computer. I have made sure that I have the newest docker-compose.yml. I have made sure that I have the newest .env file. I have done all this multiple times. I have kept my upload folder as is, hoping that it can be re-used by the new installation. I'm running Ubuntu 22.04. Still, after running docker compose up, I keep getting weird errors. I am a complete newbie with docker, so I haven't been able to figure out what's wrong, but I believe it has to do with the database. I keep seeing these messages in the log (when running docker compose up without -d): immich_postgres exited with code 0 immich_postgres exited with code 135 (They repeat regularly, sometimes with code 0, sometimes with code 135.) And then immich_microservices prints this, but I assume that's because the database isn't running: immich_microservices | Error: connect ETIMEDOUT immich_microservices | at Socket.<anonymous> (/usr/src/app/node_modules/ioredis/built/Redis.js:170:41) immich_microservices | at Object.onceWrapper (node:events:627:28) immich_microservices | at Socket.emit (node:events:513:28) immich_microservices | at Socket._onTimeout (node:net:570:8) immich_microservices | at listOnTimeout (node:internal/timers:569:17) immich_microservices | at process.processTimers (node:internal/timers:512:7) { immich_microservices | errorno: 'ETIMEDOUT', immich_microservices | code: 'ETIMEDOUT', immich_microservices | syscall: 'connect' immich_microservices | } And immich-server: immich_server | [Nest] 1 - 06/10/2023, 6:30:32 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (7)... Any pointers would be very much appreciated!
83 replies
IImmich
Created by Alan on 1/17/2023 in #help-desk-support
Apache reverse proxy?
Hi there! I'm trying to configure my Apache2 server as a reverse proxy for immich. Both Apache and the Immich-docker are installed on the same Ubuntu server. My configuration is very simple (probably too simple?) # Reverse proxy for Immich ProxyPreserveHost On ProxyRequests Off ProxyVia On ProxyPass /immich http://localhost:2283 connectiontimeout=6h timeout=6h This seems to work initially; entering www.mydomain.com/immich correctly shows the launch page for Immich ("Welcome to IMMICH Web, Get Started"), but clicking the "Get Started" button redirects to www.mydomain.com/auth/login instead of www.mydomain.com/immich/auth/login. I tried setting IMMICH_WEB_URL in the .env file: IMMICH_WEB_URL=https://www.mydomain.com/immich But that didn't seem to work (now I get 502 Bad Gateway when opening the web page), with the following in the Apache logs: [Tue Jan 17 18:49:45.986847 2023] [core:error] [pid 632558] [client 196.206.225.246:36400] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. Any suggestions?
4 replies