Updating Immich Volumes

Hi there,

Complete noob alert!

I’ve deployed the Immich stack using docker desktop in the past and it’s worked great. I’ve since switched to a new machine and have a file server mounted into Ubuntu that i’d like to use for storage as there’s a heap more room on in than my new miniPC.

  • /mnt/xserver/immich/cache
  • /mnt/xserver/immich/postgres
  • /mnt/xserver/immich/upload

I tried with ChatGPT to get it to update the stack to reference the below locations, but each time i update the stack, immich fails to connect to redis from what I can make from the logs. This is what ChatGPT suggested and below are the logs

volumes:

  • /mnt/xserver/immich/upload:/usr/src/app/upload

(missing ‘error’ handler on this Redis client
Error: getaddrinfo ENOTFOUND immich-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3008,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘immich-postgres’)

Thanks in advance for any support I can get on this.

For those interested, i managed to resolve it, turns out it was a permissions issue facepalm

Anyway, thanks heaps for the awesome guide, keep up the good work