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.
Really thanks for the guide, I am really confused since I’ve been used to having 2 bays Synology and never had to worry where stuff got installed. Now that I have a separate SSD on my new DIY NAS for the OS everything got super complicated
I thought my reply included images but it didn’t.
In a default Immich installation only the 2 first entries are present. What are the other 6 below you circled in red? What do they mean / do?
I’m trying to understand how this OS works instead of copying from everybody if I want to keep it around for a long time.
Thanks.
Ah right, yes I think I understand. If the entries are not there, Immich will install as standard to wherever the drive ZimaOS is installed to and Immich will create its own directories for uploads, photos and videos etc.
To the right of where it shows Volumes, there’s a + Add button where I entered the locations that I want Immich to use, in my case the Raid 5 drives. You can do this similarly for any app or container you install. I.e I did similar for the arr apps.
I have never had a Homelab or NAS before so I guess I’m at a slight advantage in not being used to using a prior system before so I am just learning to use my first OS after being a Microsoft Windows user only.
I’ve been trying your setup but I broke Immich for the nth time plus half my pictures uploaded from my phone got corrupted. Good the NAS is in test phase and I can reinstall everything again.
Btw, I get why you would want to install all Immich on your Raid array but what if I want to take advantage of the SSD where I have ZimaOS installed now? Keep Immich on the SSD and only photo library in the RAID array? In that case should I just modify the “Immich-Server” tab?
Very strange. I have just looked at the App Store as I thought I’d see if the Immich I installed was still there and although I’m fairly certain it was a “Gallery” store version, the Custom Install feature is missing. Which Immich did you install?
With regards to using the SSD where ZimaOS is installed, unfortunately I don’t know if only editing the server tab would work or not as I’ve never tried that myself.
I downloaded that one, the “Gallery” one.
Btw I found a guide on how to get installed Immich on the OS ssd and the library in the raid array.
It’s simple and it’s been stable for me so far and no more image corruption, not a single one.
Came to say that i also got it working, i was wondering what was i doing wrong cause i literally just copied everything over the Main Drive to no avail.
How did you figure this out, is it in some kind of documentation? Or ZimaOS being weird?
I have had this issue for like the past month although im diving in this rabbit hole with a used Laptop so it wasn’t like critical but it was about to be like a deal breaker. Thanks alot