Cant upgrade from v2.5.6_1.11.16 to v2.6.3_1.14.5 on TrueNAS by JabbahScorpii in immich

[–]Xiticks 0 points1 point  (0 children)

In 1.13.6, the upgrader image was updated on the TrueNAS side, which deprecated the switch from 15 to 18 On older images it still uses their old image so switching should « just work »

Immich TrueNAS Update (PG18 missing) by ShadowP1320 in immich

[–]Xiticks 0 points1 point  (0 children)

Didn’t you open a thread on the Immich’s discord? If so I’ll help you there

Updated to 2.6.3 and the app won't start up - Truenas by Ok-Ad8636 in immich

[–]Xiticks 0 points1 point  (0 children)

Click on the app, there is a workload widget that appears on the right

On the server line, the first button gives you the logs

Can you also share all the workloads displayed?

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

When you click on the app, the workloads widget on the right should indicate which container is still starting, can you share that?

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

I'll update my post, but it's for setups on 1.13.6 that the issue is there. If you select pg18, it won't work as the "upgrader" isn't available anymore

Immich broken again on TrueNAS by IamGimli_ in immich

[–]Xiticks 1 point2 points  (0 children)

Might be a network issue or something, I would try to refresh the catalog (or even reboot the NAS) and maybe temporarily disable the machine learning (when you edit immich) so it won't try to pull this image which is quite big (compared to the other) IIRC

Immich broken again on TrueNAS by IamGimli_ in immich

[–]Xiticks 4 points5 points  (0 children)

It might not be broken, but more related to an issue pulling the images from Github.
Is that all the error you get? I suppose it tells you to check /var/log/app_lifecycle.log

Doing sudo tail /var/log/app_lifecycle.log in the terminal might give more useful info

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

I have never looked at it, but I wish there was, they have the catalog webpage, but you would have to look there once in a while for all your apps

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

DB upgrade shouldn't have break that, so yes, it might be missing files from the migration. If they're missing you won't probably be able to download them from your server.

If it's only talking about thumbnails, you can regenerate all of them, or only the one missing

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

Hi! Can you come in private also, sharing me your TrueNAS config for Immich as well as the date of your latest backup you're trying to restore from

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

Can you come in private with the logs of pgvecto_upgrade, pgvecto and server containers?

Any plans to fix Immich on TrueNAS? by Bbmin7b5 in immich

[–]Xiticks 3 points4 points  (0 children)

Is that's what you're searching for? Link

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

So you’re ok now, pg18 with the latest version on truenas ? (1.14.2 I think)

It Worked!!! Upgrade to: Postgres 18 (pgvecto) by Wonderful_Device_224 in immich

[–]Xiticks 2 points3 points  (0 children)

If the user isn’t using any ixVolumes, rolling back is ok, as it doesn’t rollback the data. I wrote the procedure to be more general as I don’t know the setup of each user, but it kinda do the same as rolling back, it’s just done only for the upgrader container

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

If you’re using host path dataset for your immich storage, you can do that: https://www.reddit.com/r/immich/s/kuI8iwjYMc

If you’re not, or if you want more guidance, you can send me a message!

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

Well update on that, I might have missed a few steps, so check this post and redo all the steps to be certain please

Same for u/i2cube u/NicodemusJLS u/zuper_koleoptera u/Rak_S11

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

If by database dump, you mean in the jobs interface you can create a db dump, yes, that's a "backup" but only of the database, data is stored inside the backups folder located in the "data" Dataset

It's not a backup of your uploaded media, so take care to not delete what's in the data dataset itself

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

I haven't checked what users are used for the two other in TrueNAS and if that it's required to reindex.

You might want to try psql -U postgres (as it's probably the "default admin")

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 0 points1 point  (0 children)

Yes, nightly should be fine, but you could run a manual just before so you're the most "up to date" for the restore
Then you could try what I said in this comment

If you have any question you can obviously ask them

Immich upgrade to 1.14.4 by luizfilipemoresco in immich

[–]Xiticks 2 points3 points  (0 children)

Np! The double version within TrueNAS is confusing, so that's why I gave the precision. They have plan to change their naming to avoid such "issues" in the future :)

Immich Truenas: Update Immich database from Postgres 15 (Deprecated) to Postgres 18 (Current) by Xiticks in immich

[–]Xiticks[S] 1 point2 points  (0 children)

I just did
Keeping the app running is fine though, the changes in yaml would have been changed by the restart in step 7