Immich-server crashes sometimes and fails to restart
I have been loving immich so far, however, I often have issues where immich will go down and I cannot easily get i back up. When I run docker compose ps, I see that immich-server is "starting", and when I run docker compose logs -f immich-server, I get a spam of logs that look like this, except they move so fast it is hard to read:
immich_server | Error: connect ETIMEDOUT
immich_server | at Socket.<anonymous> (/usr/src/app/server/node_modules/ioredis/built/Redis.js:170:41)
immich_server | at Object.onceWrapper (node:events:632:28)
immich_server | at Socket.emit (node:events:518:28)
immich_server | at Socket._onTimeout (node:net:604:8)
immich_server | at listOnTimeout (node:internal/timers:588:17)
immich_server | at process.processTimers (node:internal/timers:523:7) {
immich_server | errorno: 'ETIMEDOUT',
immich_server | code: 'ETIMEDOUT',
immich_server | syscall: 'connect'
immich_server | }
Any suggestions? I am happy to remove and rebuild all of immich if there is a way to do it without messing up my data, or has anyone seen this before?
Happy to provide any further info! Thank you!
immich_server | Error: connect ETIMEDOUT
immich_server | at Socket.<anonymous> (/usr/src/app/server/node_modules/ioredis/built/Redis.js:170:41)
immich_server | at Object.onceWrapper (node:events:632:28)
immich_server | at Socket.emit (node:events:518:28)
immich_server | at Socket._onTimeout (node:net:604:8)
immich_server | at listOnTimeout (node:internal/timers:588:17)
immich_server | at process.processTimers (node:internal/timers:523:7) {
immich_server | errorno: 'ETIMEDOUT',
immich_server | code: 'ETIMEDOUT',
immich_server | syscall: 'connect'
immich_server | }
Any suggestions? I am happy to remove and rebuild all of immich if there is a way to do it without messing up my data, or has anyone seen this before?
Happy to provide any further info! Thank you!