TrueNAS filesystem update issue.
Hi,
I am having trouble updating the immich to the new filesystem.
I saw my server container was exiting, but getting into the logs showed that the pgvecto container can't authenticate the 'immich' user. I have attached the screenshots of the server and pgvecto container logs.
Thanks in advance


50 Replies
:wave: Hey @Neel2904,
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
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
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.From which version of TrueNAS Immich have you updated?
So, my last working version of immich was 1.119.1 in TrueNAS 24.04
If your version was old, you might need to set a password (the one you wrote in the DB_PASSWORD field)
But if that is the case, you should probably also use the custom app to upgrade the database itself at the same time
Oh yeaah, you definitely need the custom app before changing the password
As you first need Immich to start on > 1.132.0 but < 1.137.0
OK
So rather than the standard trueNAS app I'll have to make a custom app?
No
So I suppose you're on 25.04?
Yes
So we custom fix, then you can go back to the catalog version
Next to the Immich edit button, click on the three dot menu
there you can "convert to custom app" or something like that
It will convert the app to a yaml file
Oh yeah, found it
You edit this file, and in there,
around line 173, there is
image: ghcr.io/immich-app/immich-machine-learning:v1.143.1
change v1.143.1
to v1.132.3
Do the same at around line 419
for image: ghcr.io/immich-app/immich-server:v1.143.1
And also around line 438, you replace the /data with /usr/src/app/uploadBTW just letting you know, I could not find any /backups folder so the data/backup in my new dataset is empty
That's a good thing you had the password issue, this way it did not break the database 🙂
Yeah, thats ok
just ensure that it backups and not backup
OK, thanks
I'm updating the file now
and inside it, do a
touch .immich
otherwise immich will complain
It should still complain about the password, but it better to have the right "in between" version before allowing immich to change stuffI could not vind a v.1.143.1 in line 173 or around there

Bit above probably
Copy pasted from soo much different threads
Oh😅. OK
copy the yaml in a text editor and search for the lines without the versions
Got it
So these 2
image: ghcr.io/immich-app/immich-server
image: ghcr.io/immich-app/immich-machine-learning:
and modify the version they ave to 1.132.3
I had the machine learning off, so it is not there. It is not coming up in search
OOooh
yeah, then ignore that
so just change the version and the target mountpoint
Lmk when you've done the change and when immich complains again about the password
I'll tell you what to do next
OK, just give me a few minuites
I change this /data of target, right?

OK, so I've done that.
Sorry went to eat
but yeah you had change it to /usr/src/app/upload
So now does immich still complain about password? (It shouldà )
Let me see if it does.
No worries, so did I.
If that is the case
then keep the app running
and in truenas shell do
Replace new_secure_password with the one you set in the Immich database
Ya, so the password error is still there
Ran the code as instructed. It finished with 'ALTER ROLE'
Yep
You might need to restart Immich
Yes, it restarted and is working on desktop.
It is showing 'Error in runInIsolateGentle for remote-sync' in my phone tho.
You're on an old version
so this might be expected
Can you try to donwload an image from web browser?
Click on it, 3dots menu upper right and then "download"
try that on multiple periods of time
Sure
Yes works
it's just to verify that you have rsync everyhitng correctly
OK
Yes, tried with different timeline, also tried with video. Download is working properly.
Ok, that is good then
Thumbnails show my entire timeline too
you can now delete the custom app
and reinstall immich
OK
If you did not use any ixVolumes
No i didnt
this should upgrade to latest without issues
going from 1.132.3 to 1.143.1 is ok
Should I delete the docker image while deleting?
You could to regains space
otherwise you can also manage them on the apps page
(you probably have others that can be deleted)
OK, coz I remember that docker image takes a while to download
Yes, it depends on your internet speed
but it will download a new version anyway
but it might reuse the old for some caching so this could help
So the I reinstalled immich and everything went smooth.
And I'm able to see the photos in my app too.
Is there anything else I need to do?
Nope should be good!
Thanks a lot for the help
I’ll close this ticket then
This thread has been closed. To re-open, use the button below.