Hello,
I am currently running Immich in TrueNAS on version 2.5.6. I saw there was an update and attempting to update ran into that postgres 15 was deprecated and changes needed to be made to move to 18. I backed up my database and changed the postgres to 18. It fails. Was able to successfully roll back to 2.5.6 and working.
Looking at truenas logs I see this
[ix-postgres-main] - [2026-03-19 19:38:50] - Starting entrypoint with migration and upgrade handling
[ix-postgres-main] - [2026-03-19 19:38:50] - No migration needed from old data location.
[ix-postgres-main] - [2026-03-19 19:38:50] - Checking directory [/var/lib/postgresql/15/docker]
[ix-postgres-main] - [2026-03-19 19:38:50] - - Found database: PostgreSQL [15]
[ix-postgres-main] - [2026-03-19 19:38:50] - Using highest version found: PostgreSQL [15] at [/var/lib/postgresql/15/docker]
[ix-postgres-main] - [2026-03-19 19:38:50] - Starting timezone migration for /var/lib/postgresql/15/docker
[ix-postgres-main] - [2026-03-19 19:38:50] - Parameter [timezone] is already canonical - [America/Denver]
[ix-postgres-main] - [2026-03-19 19:38:50] - Parameter [log_timezone] is already canonical - [America/Denver]
[ix-postgres-main] - [2026-03-19 19:38:50] - Timezone migration complete
[ix-postgres-main] - [2026-03-19 19:38:50] - Current version: 15
[ix-postgres-main] - [2026-03-19 19:38:50] - Target version: 18
[ix-postgres-upgrade] - [2026-03-19 19:38:50] - Starting upgrade from PostgreSQL [15] to [18]
[ix-postgres-upgrade] - [2026-03-19 19:38:50] - ERROR: Old PostgreSQL [15] binaries not found at [/usr/lib/postgresql/15/bin]
[ix-postgres-main] - [2026-03-19 19:38:50] - ERROR: Upgrade failed
I am currently setup with Host Path's for: Data Storage, Machine Learning Cache, and Postgres Data Storage.
I am unsure on how to continue since I am able to do database backups and am able to view my immich setup just fine but can't upgrade to postgres 18.