A guide to installing Immich to a different location

In my attempt to get Immich installed on to my Raid storage instead of the ZimaOS drive, I went through many hoops before finding the solution using bits from various sources of information! Anyhow, I posted this as an reply to someone else’s post and thought I’d put it as a separate post so that more can find it.

It took a fair effort for me to get this working correctly but I finally managed it myself. There’s several changes needed to the original “Volumes” entries, but some entries must not be altered otherwise Immich fails.

When installing Immich, make sure to select “Custom Install” or if it’s already installed, click the 3 dots, then “Settings”.

There’s 4 “tabs” along the top of the settings page. The first one is “database” and here you change the ZimaOS “volume” to where you wish Immich to be. In my case it’s /media/Main/Media/immich/ so change this to your destination but leave the ending as /pgdata but do not touch the volume on the right “Immich” side.

The next tab along the top is immich-machine-learning and here again change everything before /model-cache to your desired directory. Leave the volume entry for Immich alone again.

The third tab, immich-server is where I kept tripping up. You have to change SOME of the Immich volume entries to be the same as the ZimaOS volume entries. Follow the screenshot below and you can see the arrows where you need to make the changes.

The fourth tab, redis, does not have any changes so leave the entries alone here. Hopefully this works and helps out anyone else!

When doing this on my side, it breaks it. I have to revert back to the original drive

That’s weird, perhaps it requires chmod on the destination location?

OMG now it’s working after like 3 reboots.

That’s weird also but great to hear it’s now working for you.

Nice tutorial! Thanks for your contribution!

1 Like