#immage "storage configuration" update issue.

1 messages · Page 1 of 1 (latest)

random crystal
#

Using the Immich App Version: v1.139.4 on truenas I noticed the update info: "The storage configuration you are using is deprecated and will be removed in a future version.". I copied data to the new mentioned location and updated the truenas app configuration.
Started the the Immich App but with no luck:

2025-08-28 10:31:20.434278+00:00microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade

Due to the fact that i am already using v1.139.4 the Error did not match to the TypeORM Error explanation. Do you have any idea what is happening.

mossy sorrelBOT
#

:wave: Hey @random crystal,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

placid crescent
#

Were you on v1.139.4 before moving your data?
There should be a rollback button next to your app info, what are the versions listed there?

#

(Don't perform a rollback, as it won't work if you haeve hostpath)

random crystal
#

The first of my data was with version 1.138.1 with the same result. Than i tried a rollback to 1.132.3 as supposed in the TypeORM error explanation with no success. Then I updated to 139.4 with the deprecated "storage configuration" with was working fine. From version 1.139.4 I have started the second try of moving away form the deprecated "storage configuration" with the same "Error: Invalid upgrade path. " message as before.

But now I am stuck. The new configuration can't start. When I try to change to the deprecated "storage configuration" I am not able to store it because the truenas immich app config dialog thinks that it should not be saved. As you can see in the attached grafik.png.

Your Help is welcome 🙁

placid crescent
#

Well rollback doesn't work as you have sret up host path (you would have to rollback the datasets themselves to for it to work correctly )
So you're idea to rollback to 1.132.3 was not wrong, but I'm not 100% sure it worked

#

Do you still have the "original" data of the database?

random crystal
#

Rolling back to 1.132.4 and upgrade to 1.139.4 saved my life. The immich server is up again in Version 1.139.4 with the depricated "storage configuration"

placid crescent
#

But you still have the errors with type orm, right?

random crystal
#

Yes! But only if I try to use the new "storage configuration". The depricated is working fine.

placid crescent
#

Duh?
So now, as it is, Immich works?

#

Oh well you replied

#

Can you show me the storage config you use? Is it the one from the screenshot?

#

Like all ix_volumes ?

random crystal
#

Yes this configuration was enabled when upgrading form Version 1.132.3 by the truenas update process to Version 1.139.4

#

admin@truenas:/mnt/Lexar-NM790/appdata/immich/database-data$ sudo docker image ls |grep immich
ghcr.io/immich-app/postgres 15-vectorchord0.4.3-pgvectors0.2.0 2 days ago 760MB
ghcr.io/immich-app/immich-server v1.139.4 2 days ago 1.72GB
ghcr.io/immich-app/immich-machine-learning v1.139.4 9 days ago 947MB
ghcr.io/immich-app/immich-server v1.138.1 9 days ago 1.78GB
ghcr.io/immich-app/immich-machine-learning v1.138.1 2 weeks ago 947MB
ghcr.io/immich-app/immich-server v1.137.3 3 weeks ago 1.78GB
ghcr.io/immich-app/postgres <none> 5 weeks ago 761MB
ghcr.io/immich-app/immich-machine-learning v1.137.3 6 weeks ago 951MB
ghcr.io/immich-app/postgres 15-vectorchord0.3.0-pgvectors0.2.0 2 months ago 747MB
ghcr.io/immich-app/immich-server v1.134.0 3 months ago 2.13GB
ghcr.io/immich-app/immich-machine-learning v1.134.0 3 months ago 1.04GB
ghcr.io/immich-app/immich-server v1.132.3 4 months ago 2.12GB
ghcr.io/immich-app/immich-machine-learning v1.132.3 4 months ago 927MB

As you can see from my immich docker image history that I worked already with versions that are in the range the https://immich.app/errors#typeorm-upgrade post is recommending for the database upgrade process.

placid crescent
#

Yeah, you might have made a mistake when switching to the new storage configuration, however, I've work to do for tomorrow, so I won't be able to help before the weekend
AS you're Immich is working right now, it is fine to wait 48hours nothing should break

random crystal
#

Yes! You are right! no hurry. But I hope I can update to the new "storage config" before it is to late.

#

Thank you!

placid crescent
#

If I don't come back before sunday, you can ping me
And don't worry, I think the deadline on trueNAs side should be the 12th of September, and even after that the migration is possible

placid crescent
random crystal
#

Sorry for answering so late. Now I am really stuck.
I tried a second time a rollback from v. 1.139.x To Version.
Name: immich
App Version: v1.132.3
Version: 1.7.44

Now the Start fails with:
Error: corrupted migrations: previously executed migration 1744991379464-AddNotificationsTable is missing

And when I try to update for 1.32.3 to 1.142.1 the update process fails with:
[EFAULT] Failed to execute 'remove_old_storage_migration' migration: Traceback (most recent call last): File "/mnt/.ix-apps/app_configs/immich/versions/1.10.2/migrations/remove_old_storage_migration", line 26, in print(yaml.dump(migrate(yaml.safe_load(f.read())))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/immich/versions/1.10.2/migrations/remove_old_storage_migration", line 10, in migrate raise Exception( Exception: Cannot remove old storage config while it is still in use. Please migrate to the new storage config first before upgrading.

placid crescent
#

Do you have time at some point so we can troubleshoot/fix it together?
will be easier if I don't have to wait x hours for you to reply

#

I would already need you to share the dataset structure (old and new) you have as well as how you rsynced everything

random crystal
#

Would it be possible tomorrow 5.10. um 9:00 UTC this is 11:00 Berlin Time

placid crescent
#

That could work for me, yes

placid crescent
random crystal
#

No problem! Maybe the session today is under an unlucky stare. The fan of my notebook did not work so its to hot and did not work very fast.

random crystal
#

I am Just installing a new Notebook

placid crescent
plain steeple
#

Im also experiencing this issue with my install.

placid crescent
random crystal
#

server-1 | [Nest] 7 - 10/05/2025, 11:48:42 AM ERROR [Microservices:DatabaseRepository] Kysely migrations failed: Error: corrupted migrations: previously executed migration 1744991379464-AddNotificationsTable is missing
server-1 | Error: corrupted migrations: previously executed migration 1744991379464-AddNotificationsTable is missing
server-1 | at #ensureNoMissingMigrations (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)

I am ready.

#

I am not able get immich started. so I just prepared a docker-compose.yaml to be able to select the immich version to be started:

this is my docker-compose.yaml

"""
version: "3.8"

services:
server:
image: ghcr.io/immich-app/immich-server:v1.132.3 # <--- Hier die gewünschte Version eintragen
environment:
DB_DATABASE_NAME: immich
DB_HOSTNAME: pgvecto
DB_PASSWORD: deleted
DB_PORT: "5432"
DB_USERNAME: immich
# DB_VECTOR_EXTENSION: pgvecto.rs
# IMMICH_DISABLE_VCHORD: "true"
IMMICH_LOG_LEVEL: log
IMMICH_MACHINE_LEARNING_ENABLED: "true"
IMMICH_MACHINE_LEARNING_URL: http://machine-learning:32002
IMMICH_PORT: "30041"
NODE_ENV: production
NVIDIA_VISIBLE_DEVICES: void
REDIS_DBINDEX: "0"
REDIS_HOSTNAME: redis
REDIS_PASSWORD: 9SAsrPCgW4LKl8rt6wblw0nYPaw9iex3
REDIS_PORT: "6379"
TZ: Europe/Berlin
UMASK: "002"
UMASK_SET: "002"
ports:
- "30041:30041"
"""

placid crescent
#

Just to recap

#

On version 1.139 it works now?
But you can't use the new storage config?

random crystal
#

not any more. Sorry. Inbetween there was an update to the current version 1.142.x which refuses to start with the old storage config.

placid crescent
#

can you do
sudo ll /mnt/.ix-apps/app_mounts/immich/backups

random crystal
#

machine-learning-1 | [10/05/25 11:58:59] INFO Application startup complete.
server-1 | [Nest] 7 - 10/05/2025, 11:59:00 AM LOG [Microservices:EventRepository] Initialized websocket server
server-1 | [Nest] 7 - 10/05/2025, 11:59:00 AM WARN [Microservices:DatabaseService] DEPRECATION WARNING: The pgvecto.rs extension is deprecated and support for it will be removed very soon.
server-1 | See https://immich.app/docs/install/upgrading#migrating-to-vectorchord in order to switch to the VectorChord extension instead.
server-1 | Query failed : {
server-1 | durationMs: 4.276478000000225,
server-1 | error: PostgresError: could not access file "$libdir/vchord": No such file or directory
server-1 | at ErrorResponse (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:794:26)
server-1 | at handle (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:480:6)
server-1 | at Socket.data (/usr/src/app/server/node_modules/.pnpm/[email protected]/node_modules/postgres/cjs/src/connection.js:315:9)

#

this ist now the error when I try to start 1.139.4 whith my docker-compose.yaml.

placid crescent
#

Yeah but there aren't any volumes pointed to with the compose, so it makes sense

random crystal
#

volumes:
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/clara/files/Immich:/mnt/clara/immich
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/isabelle/files/Immich:/mnt/isabelle/immich
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/lars/files/Immich:/mnt/lars/immich
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/marit/files/Immich:/mnt/marit/immich
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/marleen/files/Immich:/mnt/marleen/immich
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/martin/files/Immich:/mnt/martin/immich
- /mnt/Lexar-NM790/qnap/familie/Fotoalbum:/mnt/qnap-fotoalbum
- /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/renate/files/Immich:/mnt/renate/immich
- /mnt/.ix-apps/app_mounts/immich/backups:/usr/src/app/upload/backups
- /mnt/.ix-apps/app_mounts/immich/video:/usr/src/app/upload/encoded-video
- /mnt/.ix-apps/app_mounts/immich/library:/usr/src/app/upload/library
- /mnt/.ix-apps/app_mounts/immich/profile:/usr/src/app/upload/profile
- /mnt/.ix-apps/app_mounts/immich/thumbs:/usr/src/app/upload/thumbs
- /mnt/.ix-apps/app_mounts/immich/uploads:/usr/src/app/upload/upload

#

Sorry i only can past 2000bytes.

placid crescent
placid crescent
random crystal
placid crescent
#

the comnnad sudo ll /mnt/.ix-apps/app_mounts/immich/backups

random crystal
#

ll is not available.

#

sudo ls /mnt/.ix-apps/app_mounts/immich/backups
immich-db-backup-20250915T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250922T020000-v1.141.1-pg15.14.sql.gz
immich-db-backup-20250916T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250923T020000-v1.141.1-pg15.14.sql.gz
immich-db-backup-20250917T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250924T020000-v1.141.1-pg15.14.sql.gz
immich-db-backup-20250918T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250925T020000-v1.141.1-pg15.14.sql.gz
immich-db-backup-20250919T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250926T020000-v1.141.1-pg15.14.sql.gz
immich-db-backup-20250920T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250927T020000-v1.141.1-pg15.14.sql.gz
immich-db-backup-20250921T020000-v1.141.1-pg15.14.sql.gz immich-db-backup-20250928T020000-v1.141.1-pg15.14.sql.gz

#

ls -lrta /mnt/.ix-apps/app_mounts/immich/backups
total 10125321
-rw-r--r-- 1 root root 743621094 Sep 15 02:02 immich-db-backup-20250915T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 13 Sep 15 23:22 .immich
-rw-r--r-- 1 root root 743710178 Sep 16 02:02 immich-db-backup-20250916T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 743714556 Sep 17 02:02 immich-db-backup-20250917T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 743717134 Sep 18 02:02 immich-db-backup-20250918T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 743719331 Sep 19 02:02 immich-db-backup-20250919T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 746101987 Sep 20 02:02 immich-db-backup-20250920T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 746121320 Sep 21 02:02 immich-db-backup-20250921T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735692262 Sep 22 02:02 immich-db-backup-20250922T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735360482 Sep 23 02:02 immich-db-backup-20250923T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735352241 Sep 24 02:02 immich-db-backup-20250924T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735510927 Sep 25 02:02 immich-db-backup-20250925T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735928183 Sep 26 02:02 immich-db-backup-20250926T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735976278 Sep 27 02:02 immich-db-backup-20250927T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735970674 Sep 28 02:02 immich-db-backup-20250928T020000-v1.141.1-pg15.14.sql.gz
drwxr-xr-x 2 root root 17 Sep 28 02:02 .
drwxr-xr-x 11 root root 11 Sep 30 09:30 ..

placid crescent
#

Ok so that's already something

#

Have you followed the steps in the "migration process" to move your data to hostpath dataset?

#

So creating an "immich" parent dataset (with the generic preset) and two children "data" (with the apps preset) and pgData (with the generic preset)?

#

If not could you do that

#

And then rsync the different folders like said with the rsync command (don't forget any trailling /, it's really important)

#

you'll have to add sudo before the rsync command

#

Don't rsync your database or try to install Immich yet, let me know when you did the rsync

#

Can you also tell me which TrueNAS version you’re on?

random crystal
#

ElectricEel-24.10.2.2

placid crescent
#

That explains why ll isn’t working , TrueNAS probably added it in 25.04

#

But yeah if you can do the dataset thing so we will be able to move to the catalog app with ixVolumes(I’ll make you some stuff when installing the app, so don’t try to install it after the rsync)

random crystal
#

I will be back when I am ready

random crystal
#

The rsync will now take a while.

In the /mnt/.ix-apps/app_mounts/immich/pgBackup directory there are only backups. The newest one is: immich_2024-11-03_19-56-17.sql

Is this a problem?

placid crescent
#

you don't have to rsync it

#

it's the backups one that replaced it

#

sorry did not receive the notification

random crystal
#

Now im ready. The data and the pdData datasets are set up. The pdData is empty the data dataset is rsynced.

#

The current "not Running" Immich App is version 1.132.3. and the possible update for that App is 2.0.0.

placid crescent
#

then do ls -la inside it

#

then cd in any directory (backups would be good)

#

and ls -la there again

random crystal
#

martin@truenas:/mnt/WD01/appdata/immich/data$ ls -la
total 76
drwxr-xr-x 8 root root 8 Oct 5 13:09 .
drwxr-xr-x 5 root root 5 Oct 5 12:23 ..
drwxr-xr-x 2 root root 17 Sep 28 02:02 backups
drwxr-xr-x 12 root root 13 Sep 17 2024 encoded-video
drwxr-xr-x 11 root root 12 Sep 17 2024 library
drwxr-xr-x 6 root root 7 Sep 7 14:12 profile
drwxr-xr-x 13 root root 14 Aug 20 23:43 thumbs
drwxr-xr-x 11 root root 12 Sep 17 2024 upload

#

martin@truenas:/mnt/WD01/appdata/immich/data/backups$ ls -lrta
total 10125321
-rw-r--r-- 1 root root 743621094 Sep 15 02:02 immich-db-backup-20250915T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 13 Sep 15 23:22 .immich
-rw-r--r-- 1 root root 743710178 Sep 16 02:02 immich-db-backup-20250916T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 743714556 Sep 17 02:02 immich-db-backup-20250917T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 743717134 Sep 18 02:02 immich-db-backup-20250918T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 743719331 Sep 19 02:02 immich-db-backup-20250919T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 746101987 Sep 20 02:02 immich-db-backup-20250920T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 746121320 Sep 21 02:02 immich-db-backup-20250921T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735692262 Sep 22 02:02 immich-db-backup-20250922T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735360482 Sep 23 02:02 immich-db-backup-20250923T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735352241 Sep 24 02:02 immich-db-backup-20250924T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735510927 Sep 25 02:02 immich-db-backup-20250925T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735928183 Sep 26 02:02 immich-db-backup-20250926T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735976278 Sep 27 02:02 immich-db-backup-20250927T020000-v1.141.1-pg15.14.sql.gz
-rw-r--r-- 1 root root 735970674 Sep 28 02:02 immich-db-backup-20250928T020000-v1.141.1-pg15.14.sql.gz

placid crescent
#

Can you also do it inside the upload folder?

random crystal
#

martin@truenas:/mnt/WD01/appdata/immich/data/backups$ ls -lrta ../upload/
total 86
drwxr-xr-x 6 root root 6 Jan 23 2024 d8d356d0-8633-4541-9e01-d13a473129ef
drwxr-xr-x 258 root root 258 Jul 5 2024 040ee409-e8ed-42d9-bb3e-b76c30ecc8fc
drwxr-xr-x 258 root root 258 Sep 12 2024 bb7a1c9d-59ca-4c00-a09a-3b24bd3c36bc
drwxr-xr-x 11 root root 12 Sep 17 2024 .
drwxr-xr-x 258 root root 258 Sep 26 2024 2baa99b9-9aaf-4236-90d1-34b474a90e6d
drwxr-xr-x 258 root root 258 Jan 12 2025 6d7de5d4-e9f3-4f81-882f-010b121e50e8
drwxr-xr-x 132 root root 132 Feb 21 2025 7b1ee0d0-de89-4517-aa73-f1ddaaf0d6cd
drwxr-xr-x 258 root root 258 Jul 5 13:42 63897e88-3157-4f43-8091-30af7626304e
drwxr-xr-x 34 root root 34 Aug 22 18:15 8d299824-27e0-4b9b-9cbe-f2ecc8245d76
drwxr-xr-x 104 root root 104 Sep 1 21:43 c1feddf1-5ed4-4a38-8bc3-db556d5e3cbe
-rw-r--r-- 1 root root 13 Sep 15 23:22 .immich
drwxr-xr-x 8 root root 8 Oct 5 13:09 ..

placid crescent
#

you have 8 people on your server?

random crystal
#

yes! My whole family is waiting for immich to be up and running again 🙂

placid crescent
#

oh ok, so that is fine

#

Sorry I'm juggling between 3 threads

#

Can you show me the dataset you have through the TrueNAS gui?

#

everything looks good to me so far, but I rather double check

random crystal
#

this is the default. And the 8 Users:

 - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/clara/files/Immich:/mnt/clara/immich
  - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/isabelle/files/Immich:/mnt/isabelle/immich
  - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/lars/files/Immich:/mnt/lars/immich
  - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/marit/files/Immich:/mnt/marit/immich
  - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/marleen/files/Immich:/mnt/marleen/immich
  - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/martin/files/Immich:/mnt/martin/immich
  - /mnt/Lexar-NM790/qnap/familie/Fotoalbum:/mnt/qnap-fotoalbum
  - /mnt/Lexar-NM790/nextcloud/nextcloud-data/data/renate/files/Immich:/mnt/renate/immich
placid crescent
#

The "dataset" page

random crystal
placid crescent
#

And when you click on data and pgData
Can you share the permissions ? (WIdget on the right)

#

machine-learning cache isn't necessary

random crystal
#

all the same

random crystal
placid crescent
#

if you click edit -> Set acl
Do the preset start with posix or nfs4?

random crystal
#

I have never used ACL. It is all default.

placid crescent
#

tell me with what the preset start

random crystal
placid crescent
random crystal
placid crescent
#

Ok

placid crescent
#

then next to dataset detail, click on "edit" then advanced options

random crystal
#

Ok

placid crescent
#

scroll at bottom

#

and make these 2 look like that

random crystal
placid crescent
#

Screenshot never uploaded

random crystal
#

Done, But what do you men Screenshot never uploaded?

#

and Saved.

placid crescent
#

My screenshot never uploaded

placid crescent
random crystal
placid crescent
#

For data

#

you make it look like this

#

with box checked and the item on the list the same

random crystal
#

which of sth NFS4_x Presets I should choos?

placid crescent
placid crescent
#

you forgot th e"apply permission recursively at bootom

random crystal
#

applied.

placid crescent
#

Yes ok

#

so now on the "pgData" on click on edit, but NOT on set acl

#

And make it look like that

random crystal
#

When I select netdata I get 999 and if I select docker I also get 999. I am not abel to set it like you.

placid crescent
#

this is correct

#

it's a maaping

#

so that's good

random crystal
#

And the docker group should not get any permissions?

placid crescent
#

No, that is correct

#

this is the "default" set by TrueNAS

random crystal
#

I will be back in half an our. Hope this is ok for you.

placid crescent
#

Yeah no problems

random crystal
#

You can give me the next instruction.

placid crescent
#

So install Immich with the new config
pointing data (aka upload locatiion) to the data dataset
and pgData to your pgData dataset
AND

#

YOU HAVE TO

#

ADD

#

An environment variable

random crystal
#

Which immich version should I use?

#

In the truenas web environment I have only 1.132.x avaliable. So I couldnt use the new config.

placid crescent
#

you can delete this old one

#

(uncheck the boxes it gives you)

random crystal
#

And install 2.0.0

placid crescent
#

Yes

placid crescent
#

as we will restore your backup

#

well the database backup

random crystal
placid crescent
#

and show me your whole config before clicking install

random crystal
#

do we have to restore the database prior to the first start?

placid crescent
# placid crescent

No, we have to start in a "restore" state, that's what this variable do

#

this is why I want to be sure you set iot

random crystal
#

do you need the extra mounts too?

placid crescent
#

No

#

That is fine

#

You can click on install

placid crescent
#

Lmk when it's back running

#

Well, it won't work, but when you clicked install

random crystal
#

00microservices worker error: PostgresError: relation "face_index" does not exist, stack: PostgresError: relation "face_index" does not exist

placid crescent
#

That is expected

random crystal
placid crescent
#

That is correc

#

so now, in Truenas terminal do
sudo su
then
gunzip --stdout "/mnt/WD01/appdata/immich/data/backups/immich-db-backup-20250928T020000-v1.141.1-pg15.14.sql.gz" | sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" | docker exec -i ix-immich-pgvecto-1 psql --dbname=postgres --username=immich

random crystal
#

public, pg_catalog
(1 row)

SET
SET
SET
SET
DROP DATABASE
CREATE DATABASE
ALTER DATABASE
You are now connected to database "postgres" as user "immich".
SET
SET
SET
SET
SET
set_config

public, pg_catalog
(1 row)

SET
SET
SET
SET
COMMENT
root@truenas[/mnt/WD01/appdata]#

placid crescent
#

Ok

#

so now, you can edit your Immich app

#

and remove the env variable

random crystal
#

DB_SKIP_MIGRATIONS=false
ok

placid crescent
#

well both are fine

random crystal
#

I will keep it for later possible use.

#

and Save?

placid crescent
#

yes

random crystal
#

Unglaublich Phantastisch! The system is up and running! 🙂

#

You are my super hero!

#

And now everything is on the right track again?

placid crescent
#

Should be, yes

#

But you have doubled your taken space due to the rsync command

#

Just to double check

#

can you try, unsing WebUI

#

to dowland some images?

#

click on image, 3dots menu then "download

random crystal
#

shure it works

placid crescent
#

just to see if everything was rsynced correctly

#

If that is the case, then
You have to delete the ix-volume for Immich and its snapshots

#

Tell me and I'll give you the command to run

random crystal
#

the cleanup I can do by myself. Thank you.

placid crescent
#

it will delete the snapshots and content of the ix-apps/app_mount/immich

#

so this will free up the space

#

like you cd into mnt

#

so
sudo su

#

then cd /mnt
then it should be
zfs destroy -r WD01/ix-apps/app_mount/immich

#

But this remove everything of your old install

#

so if stuff hasn't been migrated well before, you're screwed

random crystal
#

Thank you i will so this after all members have notified me that All Things are working.