July 17Jul 17 Just now, Nettuno said:Ok, do you recommend moving to the official docker? Is the guide you're talking about this one: https://rorar.github.io/immich-unraid-manual/setup-immich-server/ I'm not seeing anything about updating from previous versions to V3.Is this the post that you're saying you made a guide? https://forums.unraid.net/topic/198609-immich/#findComment-1630515I'm a little lost...Official or not is your call. I prefer official, but it's 4 docker to manager. This docker is aio with machine learning, still require redis/vaulkey and PostgreSQL docker. But it's not supported by immich. As for migrating, I'm not aware of special migration path, but you should maybe look at the FAQ from immich website and see if there's something about moving from 1 to 3. Maybe you need to go at 2 first. There is 2 guide I'm talking about. The first one I talk about is from immich not rorar. It's written in the log of immich PostgreSQL container when you start it. It talk about vector unsupported and shoe you how to migrate to latest version of official immich PostgreSQL container. I don't have the link to that, it's written in the log. My guide is how to migrate from this support container to the official container. It is the last link you put. Just before that guide, I made another post on how to move to latest immich PostgreSQL but I highly suggest following the upgrade link in the immich PostgreSQL startup log.
July 17Jul 17 Just saw your edit.What you said about PostgreSQL look like what you must do. For the dumb, I would just trigger the backup in immich itself instead so you have a working per immich backup. Just change the next run time to 2 minutes later and it will run.Once you have move to that PostgreSQL, start immich with same version, do not update. Backup again. You can then move to latest PostgreSQL after (the one you linked isn't latest but it's a step you need to do).It is also required to do those step if you want to move to official.Also, if in your PostgreSQL container, you used a custom username like immich instead of postgres, I suggest you do the username migration I put in the FAQ of my post. Immich maintener doesn't support custom username. It's very easy to do. And required if you want to go official. Edited July 17Jul 17 by Nodiaque
July 17Jul 17 1 hour ago, Nodiaque said:Just saw your edit.What you said about PostgreSQL look like what you must do. For the dumb, I would just trigger the update in immich itself instead so you have a working per immich backup. Just change the next run time to 2 minutes later and it will run.Once you have move to that PostgreSQL, start immich with same version, do not update. Backup again. You can then move to latest PostgreSQL after (the one you linked isn't latest but it's a step you need to do).It is also required to do those step if you want to move to official.Also, if in your PostgreSQL container, you used a custom username like immich instead of postgres, I suggest you do the username migration I put in the FAQ of my post. Immich maintener doesn't support custom username. It's very easy to do. And required if you want to go official.When you say trigger the update in Immich, do you mean in Unraid under the docker page? I don't see the option Inside the immich UI to update the version?I'm so lost. If I want to keep the same container Immich, should I first try and replace the repository of the PostgreSQL, and then see if it works with my existing Immich 1.143.1 version?
July 17Jul 17 Start by updating your Sql to latest version following official guide posted in the startup log of the postgres container. Backup between each step.Once you are done, update the immich container and that's it.You cannot just replace to whatever container you want for postgres, you have chance to corrupt or be in a weirs state. Follow the official guide.Edit: I did wrote a typo. I see I said trigger the update in immich when I was talking about the backup. Sorry for that, I mean instead of doing an unsupported dumb, trigger the immich built-in backup instead.I've fixed my typo Edited July 17Jul 17 by Nodiaque
July 17Jul 17 Ok thanks. So if I want to continue using the existing installation of the Immich docker and PostgreSQL, can I do as I wrote?replace the existing repository field on PostgreSQL_Immich container, toghcr.io/immich-app/postgres:16-vectorchord0.4.3-pgvectors0.3.0 Matching both the pg16 and the 0.3.0 pgvecto.rs version.? Edited July 17Jul 17 by Nettuno
July 18Jul 18 For anyone reading this, here's an update:I did all my backups on unraid using Krusader, to copy all my photos and videos to a second drive. Did the same for the Backups folder (this contains the database dumps Immich does automatically every night). Then, I stopped Immich and PostgreSQL, changed the repository to what I wrote above. Hit apply, and let it do its thing. Once it restarted, I waited until it showed (healthy) on the docker page. I then checked Immich 1.143.1 worked with the new PostgreSQL..it did.So then I stopped Immich docker, and hit update. Let it do its thing. Once finished, I watched the logs and saw it was migrating and doing stuff. Once it finished (about 5 minutes) I opened Immich and it works.Super easy. Thanks for your help Nodiaque. I didn't end up doing much other than what I wrote in my previous posts, so very straight forward!
July 18Jul 18 Now what you can do is update to latest version of postgresql. The latest is ghcr.io/immich-app/postgres:18-vectorchord0.5.3-pgvector0.8.1. The version you currently have is a stepping stone because you had an older version.Do make a backup before. Easy way is stop the database, copy appdata and do the job. If something happen, just stop, change container info, copy back the backup and start.Also, check database log. If you are user other then postgres in your database, it could fail the update (some job after the database is ran using postgres user. I already opened a ticket on that). Easy way is simply to open a backup file using the FAQ procedure and run a restore database on a DB container (with updated configuration in immich container to for the database user).You can try without changing the username and see what happen. The database log will show you. Good thing with that is it's easy to restore.
July 23Jul 23 Please direct me to the correct location if I am posting this in the wrong thread. I LOVE immich but I have been frustrated setting up paths to Postgres among other challenges. My immich container recently failed silently in the background after App Data Backup plugin applied an auto update. I have since turned off auto updates for immich and postgres. Here is an AI assisted summary of my 8 hour troubleshooting quest:Recovering an Immich Database After a PostgreSQL Vector Extension Failure on UnraidI recently ran into a difficult Immich upgrade issue that left the application stuck in a crash loop even though all photos were still present in the database.SymptomsImmich would not start.Logs contained errors similar to:could not access file "$libdir/vectors": No such file or directory The database still contained all assets and migrations, but the application crashed during startup.Root CauseThe PostgreSQL database had been created using the older vectors extension. After upgrading to the current Immich PostgreSQL image, the database contained:vectorvchordbut the old vectors extension library no longer existed. Two tables (face_search and smart_search) still depended on that obsolete extension, preventing Immich from starting.What Fixed ItInstead of rebuilding the library from scratch, I:Verified the database still contained all assets.Exported the database.Removed the obsolete vectors extension and its dependent search tables from the dump.Restored the dump into a clean PostgreSQL database using the official Immich PostgreSQL image.Confirmed the database contained the correct extensions:vectorvchordRan immich-admin schema-check, which identified the missing search tables and generated the SQL needed to recreate:face_searchsmart_searchface_indexclip_indexRestarted Immich.The application started normally, and all photos, albums, users, and metadata were preserved.Lessons LearnedYour photo library may still be completely intact even if Immich won't start.Always verify the database before assuming it's corrupted. I spent WAY too long checking the DB. I should have moved on after a few targeted checks.Keep PostgreSQL on the official Immich-supported image and avoid mixing database images during upgrades.If immich-admin schema-check reports schema drift, read it carefully—it can generate the exact SQL needed to repair the database.Preventing This in the FutureBefore upgrading Immich:Make a full backup of your PostgreSQL database.Test major upgrades before deleting old backups.Disable automatic container updates (for example, in the Unraid Appdata Backup plugin or any auto-update tool. Automatic updates can leave you with a broken application before you've had a chance to verify compatibility or create a backup.A few minutes spent controlling updates is much better than hours recovering a production photo library.
July 23Jul 23 Easy fix? Restore your earlier working backup. Immich also do daily backup (unless you didn't enable backup) so you can simply restore immich backup.
July 25Jul 25 On 7/23/2026 at 4:30 PM, Nodiaque said:Easy fix? Restore your earlier working backup. Immich also do daily backup (unless you didn't enable backup) so you can simply restore immich backup.I did indeed attempt a restore but the Postgres extensions still prevented the DB from being read. So that didn't solve the problem, at least for my case.If I had known the issue all along I MIGHT have reverted back to an earlier working version of Postgres. However, the final solution I posted was also acceptable its the only solution I know for sure will work in my limited experience troubleshooting this issue.
July 25Jul 25 Restoring to a working version of your dB at the same version of the container... If you simply restore with the latest version, it's normal the issue is following.
July 26Jul 26 On 5/4/2026 at 11:29 AM, KML said:What is the correct official way of installing Immich, I tried with help of Ai but no success- I am use the Version 7.3.0-rc.1The official way is via a Compose plugin in the CA.steps are here for offical installhttps://bmartino1.weebly.com/immich-on-unraid-docker-compose-guide.htmlif you don't want to mess with compose the Immich maintainers' preferred way you can follow this and install and run via CA.https://bmartino1.weebly.com/immich-on-unraid-ca-docker.htmlpostgress is the main items that has been changed.https://github.com/immich-app/base-images/pkgs/container/postgres/versions?filters%5Bversion_type%5D=taggedRedis is no more bitnami was bought out use valkey instead...
July 27Jul 27 18 hours ago, bmartino1 said:The official way is via a Compose plugin in the CA.steps are here for offical installhttps://bmartino1.weebly.com/immich-on-unraid-docker-compose-guide.htmlif you don't want to mess with compose the Immich maintainers' preferred way you can follow this and install and run via CA.https://bmartino1.weebly.com/immich-on-unraid-ca-docker.htmlpostgress is the main items that has been changed.https://github.com/immich-app/base-images/pkgs/container/postgres/versions?filters%5Bversion_type%5D=taggedRedis is no more bitnami was bought out use valkey instead...This is one way using this docker, that is all in one with the machine learning and doesn't use official image. The guide I provide some post behind is using all official container using unraid CA. It's replicating Docker Compose way of doing it without the plugin, all with CA. There's even a guide with all the setup for files which, since we are using official docker, we can now use all env variables properly. The choice is to the user in the end. I made the switch so I now have full support from Immich dev.
July 27Jul 27 3 hours ago, Nodiaque said:This is one way using this docker, that is all in one with the machine learning and doesn't use official image. The guide I provide some post behind is using all official container using unraid CA. It's replicating Docker Compose way of doing it without the plugin, all with CA. There's even a guide with all the setup for files which, since we are using official docker, we can now use all env variables properly. The choice is to the user in the end. I made the switch so I now have full support from Immich dev.Everything I have set up and use is official from Immich GitHub and per there documentations... the manufacturer behind Immich wants unraid users to use Compose; that is the official setup. The CA AIO, as you describe, reuses Space Invaders and the official Immich machine learning and Immich server bundled in 1 container...They are offical dockers per immich. see offical documentationhttps://docs.immich.app/install/unraid/ Edited July 27Jul 27 by bmartino1 data and spelling.
July 27Jul 27 I know about the doc, I've read it many times. Using the CA is actually not supported, St least when I opened ticket since its not directly their container. It also says right at the start of the docThe Unraid template uses a community made image and is not officially supported by ImmichThis is for the aio. It is not official per immich, it's not even supported.Docker compose plugin is a way.Doing it manually with the other CA that are separate of each docker from the docker compose yaml is also supported since its the exact same docker as docker compose but with template. I got support on more then one occasion with using only the official docker, using compose or not. This AIO as 0 support from dev. Edited July 27Jul 27 by Nodiaque
August 7Aug 7 Does anyone know if it's possible to use a different folder other than /mnt/user/Photos/ when setting up the Immich container? Because when I tried to use /mnt/user/Photos/Immich (on a brand new install) for example, the webUI refuses to load. Thanks.
August 14Aug 14 There is a second option that makes this migration automatic.The immich-app images can hold three extensions at the same time: vchord, vector and vectors (pgvecto.rs). Example:ghcr.io/immich-app/postgres:16-vectorchord0.4.3-pgvector0.8.0-pgvectors0.3.0Two rules for the tag:The pgvectors number must be the same as the pgvecto.rs version in your database now. This command gives your version:docker exec PostgreSQL_Immich psql -U postgres -d immich -tAc "select extversion from pg_extension where extname='vectors'"If the two numbers are different, the new container cannot read your data, and Postgres does not start.The pg number must be the same as the cluster on disk. The file PG_VERSION in your appdata directory gives that number. A 17- tag does not start on a 16 cluster.Then start the container and run this one time:CREATE EXTENSION IF NOT EXISTS vchord CASCADE;Start Immich. Its own migrations change the embedding columns and build the new indexes. This command shows the result:select indexname from pg_indexes where indexdef ilike '%vchord%';Two more items from my migration:Do not copy the old "-c shared_preload_libraries=vectors.so" argument to the new container. The immich-app image writes its own postgresql.conf with 'vchord.so, vectors.so'. Use the default command of the image.Change the Repository field in the Unraid template, not only in the running container. If you change only the container, the next Apply in the GUI installs the old image again.
August 15Aug 15 IDK why immich became such a mess. duplication of postgress same tag and other...The OG forum page...https://forums.unraid.net/topic/146106-immich-docker-self-hosted-google-photos-setupOn 8/6/2026 at 11:07 PM, DCCXVIII said:Does anyone know if it's possible to use a different folder other than /mnt/user/Photos/ when setting up the Immich container? Because when I tried to use /mnt/user/Photos/Immich (on a brand new install) for example, the webUI refuses to load.Thanks.yes ther are ways form docker volume shanagins to offical imach settings with the storage tempate settings...see offical docs...https://docs.immich.app/administration/storage-template/
August 16Aug 16 20 hours ago, bmartino1 said:IDK why immich became such a mess. duplication of postgress same tag and other...The OG forum page...https://forums.unraid.net/topic/146106-immich-docker-self-hosted-google-photos-setupyes ther are ways form docker volume shanagins to offical imach settings with the storage tempate settings...see offical docs...https://docs.immich.app/administration/storage-template/I..uh...don't know about any of that. So I ended up just forcibly moving the folder by taking ownership permissions of it via the internal Unraid file browser. Then I pointed the docker container to the new file path. Seems to work no problem.
August 16Aug 16 20 hours ago, bmartino1 said:IDK why immich became such a mess. duplication of postgress same tag and other...The OG forum page...https://forums.unraid.net/topic/146106-immich-docker-self-hosted-google-photos-setupyes ther are ways form docker volume shanagins to offical imach settings with the storage tempate settings...see offical docs...https://docs.immich.app/administration/storage-template/That's why I switched to the official docker instead of an unofficial unsupported "all in one" Docker. This way, I just follow what the release say and that's it. No need to wait for a custom build and I can use 100% exactly as intended by Immich.
August 19Aug 19 Eh there's nothing wrong with the AIO container by imagegenius, it's automatically built when immich updates theirs.It just comes down to user error and not RTFMing the immich release notes.Everybody upgrading to v3 needed to do a db migration and if they had read the release notes they would have seen how simple the fix was: https://docs.immich.app/install/upgrading/#migrating-to-vectorchord (literally just editing the repository of the db container to include the extra bits) Edited August 19Aug 19 by MowMdown
August 19Aug 19 I didn't say it's wrong, I said it's unsupported by the dev. When I open ticket in the past saying I used this container they closed the ticket saying its unsupported installation. And it's clearly documented in the installation documentation that it's unofficial and unsupported way. Since it's very easy to just have the 2 official container that replace that container and get the support that goes with it, and be able to use it 100% like the documentation, it just made sens to me to switch. But anyone is free to use the AIO container, I never said it was a bad container nor that it need to disappear or that the maker did a bad job.
August 21Aug 21 I just don't see the angst with using the official way and docker compose. Especially with Compose Manager Plus by mstrhakrIt all just works really really well.
August 21Aug 21 Oh sure you can use docker compose manager plus and directly use the compose file. Just that it isn't made with unraid in mind so some things could be changed to make it proper (like user and group ID). It is a way, a supported way. I myself simply use the 2 app already present that are doing exactly what the docker compose is doing using those container.Theres more then one way to dress a cowboy
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.