TrueNAS Community Edition - Cannot Update from v1.9.30 to v1.10.2

- TrueNAS Community Edition - v25.04.2.4 - Immich App Version - v1.143.0 - Immich Version - v1.9.30 I just turned on my TrueNAS server and all of my services needed an update. So I went ahead and updated them all. Unfortunately, Immich was the only one who didn't update properly. I'm not entirely sure what could be the issue so here I am. Before writing this, I went ahead and rebooted and shutdown the system to recreate the problem and it still persists the same. So it's possibly an internal issue with Immich itself. Here are photos of the errors I've gotten, much thanks!
No description
No description
No description
No description
124 Replies
Immich
Immich7d ago
:wave: Hey @NetworkWilbi, 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. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Xiticks
Xiticks7d ago
You have to use the dataset storage in TrueNAS
bo0tzz
bo0tzz7d ago
Check the pinned message in #truenas maybe
Xiticks
Xiticks7d ago
Not for this one, the version is recent there
Quelhas
Quelhas7d ago
Hello But we have to delete the hold folders?
Xiticks
Xiticks7d ago
Only when the migration is complete, that everything works, that you've double checked that no data has been lost and that your backups made
Quelhas
Quelhas7d ago
ah ok That appears the same error i already created the new folders, but always the same error
Xiticks
Xiticks7d ago
can you create a new ticket and show your Immich config, and the datasets?
NetworkWilbi
NetworkWilbiOP7d ago
I'll check it out, I'll let you know what I find. I'd like to keep in mind that when I first installed Immich on TrueNAS the only datasets I used is 'db' for database and 'uploads' for everything else.
Xiticks
Xiticks7d ago
Holy Not again
NetworkWilbi
NetworkWilbiOP7d ago
Still persists as of now as I installed immich about a week ago
Xiticks
Xiticks7d ago
Oh Can you click on edit Immich and show/share your current setup?
NetworkWilbi
NetworkWilbiOP7d ago
yes
Xiticks
Xiticks7d ago
I'm saying that, because it would have been the third time I help someone wis a misconfigured Immich install from older version But it might not be that
NetworkWilbi
NetworkWilbiOP7d ago
No description
NetworkWilbi
NetworkWilbiOP7d ago
Looking at the link you send me I can see the older version had like 5 or so different Host Paths but luckily I had only 2 needed to be configured. I'll also include my dataset permissions
Xiticks
Xiticks7d ago
Tbh everything looks fine
NetworkWilbi
NetworkWilbiOP7d ago
No description
No description
No description
NetworkWilbi
NetworkWilbiOP7d ago
Here are the permissions for Immich
Xiticks
Xiticks7d ago
well owner and owner group of uploads is not what I would recomment, but that is ok
NetworkWilbi
NetworkWilbiOP7d ago
What should it be? And for which of the datasets?
Xiticks
Xiticks7d ago
It's not the source of the issue
Xiticks
Xiticks7d ago
for Uploads I've that
No description
Xiticks
Xiticks7d ago
and if you wanted to add yourself, you just add a User db, you don't touch it
Xiticks
Xiticks7d ago
and for the Immich parent, not acl is required
No description
Xiticks
Xiticks7d ago
but comming back to that it looks more a TrueNAS issue I would try things in this order 1) Check if you have any TrueNAS updates (are you on the latest which is 25.04.2.4?) If yes, update and in both case, restart your NAS then try again to upgrade and lmk otherwise solution 2° 2) as you have host dataset, you can delete the Immich app, and reinstall it again, the same way as it is now
NetworkWilbi
NetworkWilbiOP7d ago
1) I'm on the latest, 25.04.2.4 2) I changed the user permissions to yours (I checked Immich to make sure data is not affected and it looks good) I will restart the truenas. If that doesn't work, then I will uninstall (with my datasets, my data will stay persistent), and reinstall again.
Xiticks
Xiticks7d ago
Yes! Though, if it doesn't work after a restart, Maybe you could report that issue on Truenas apps github also
NetworkWilbi
NetworkWilbiOP7d ago
Once I restart, I will try to update Immich. If it fails I'll reinstall the app Does the app have a github directory I can quickly go into? And also mention that issue so that everyone is aware?
Xiticks
Xiticks7d ago
Well Immich has its own github repo but for TrueNAS Immich https://github.com/truenas/apps/issues
NetworkWilbi
NetworkWilbiOP7d ago
Wouldn't hurt to do both right or no?
Xiticks
Xiticks7d ago
As your issue is related to only TrueNAS I won't post it on the "official" Immich one
NetworkWilbi
NetworkWilbiOP7d ago
That makes sense to not have any overlapping issues TrueNAS is in the process of restarting I'll keep you updated on the progress
Xiticks
Xiticks7d ago
And reporting it here, the TrueNAS dev responsible might be able to fix it quickly
Xiticks
Xiticks7d ago
I don't know how this fails
No description
Xiticks
Xiticks7d ago
Because the file isn't store on a thing you usually access or modify anything
NetworkWilbi
NetworkWilbiOP7d ago
Me neither, I haven't touched that area or any area on Immich for that matter
Xiticks
Xiticks7d ago
Yes, so if any of the 2 solution I gave works, I would encourage you to report the issue anyway
NetworkWilbi
NetworkWilbiOP7d ago
Of course Will I be able to include the pictures as well in the github repo? And what type of request or way I can describe this issue via github. I understand pull requests but not sure if it applies to this issue as I haven't looked at the actual code. So which category in github should I write the issue?
Xiticks
Xiticks7d ago
No need for a pull I gave you the link straight to the Issue page
NetworkWilbi
NetworkWilbiOP7d ago
I appreciate it!
Xiticks
Xiticks7d ago
so create an issue, and there is a template fo r a bug report The TrueNAS catalogue app version is the Immiche version you mentionned there and of course you can join a screenshot (I definitely would include it at it shows the problem directly)
NetworkWilbi
NetworkWilbiOP7d ago
Just making my apps appear, excuse the wait
Xiticks
Xiticks7d ago
No worries!
NetworkWilbi
NetworkWilbiOP7d ago
Btw you mean the App Version of Immich not the regular version of Immich for the bug report?
Xiticks
Xiticks7d ago
Yes? The Truenas app version so v1.9.30
NetworkWilbi
NetworkWilbiOP7d ago
Got it Immich Version - v1.9.30 This guy that I mentioned Right?
Xiticks
Xiticks7d ago
yes It's the immich version that TrueNAS uses to reference their modifications to it on Immich side the current version is 1.143.1 Have you been able to update it after the reboot? Or are your apps stil starting?
NetworkWilbi
NetworkWilbiOP7d ago
While waiting for docker to get it together I made the bug report to github
Xiticks
Xiticks7d ago
Oh HDDs pool
NetworkWilbi
NetworkWilbiOP7d ago
My apps aren't showing and this happens sometimes and I find ways to fix it be restarting docker and all but sometimes the apps just don't show up on the "Apps" section on TrueNAS for some reason. I do a mix of sudo systemctl restart middlewared and sudo systemctl restart docker In the background I see my services working but just not showing up Yes my pool is an HDD Running RAIDZ2
Xiticks
Xiticks7d ago
That explains why it slows for apps it'es recommended to have SSDs
NetworkWilbi
NetworkWilbiOP7d ago
Well to have that is expensive for a NAS build
Xiticks
Xiticks7d ago
you don't necesasraly need to store the apps on it, like for Immich you could then keep your current setup, but docker itself would live on the SSD pools and thus start wayyy faster
NetworkWilbi
NetworkWilbiOP7d ago
Right normally SSDs are just faster
Xiticks
Xiticks7d ago
wait no you're OP here we stay hjere
NetworkWilbi
NetworkWilbiOP7d ago
Yeah
Xiticks
Xiticks7d ago
I inverted who was who More IOPS so really really faster for small files
NetworkWilbi
NetworkWilbiOP7d ago
I'm just back and forth with my docker containers not showing up on Apps I really want TrueNAS Community Edition to be production ready but my god is it difficult Because these apps are awesome and good for my clients Immich is a godsend for images and DUPLICATE photos is amazing Machine Learning, like idk how you can get better than that That's right So I'm guessing that I need to just wait it out for the docker containers
Xiticks
Xiticks7d ago
Yeah
NetworkWilbi
NetworkWilbiOP7d ago
I restarted TrueNAS again, so that all of them can run
Xiticks
Xiticks7d ago
Well if after 15 minutes it doesn't work, then try your solution
NetworkWilbi
NetworkWilbiOP7d ago
I'll wait like 5-10 minutes for them to sit nicely in my slow-and-steady NAS solution Yeah usually it works once the containers persist after a while being on
Xiticks
Xiticks7d ago
yeah, that could be your next upgrade simple mirror SSDs that would speed up a lot your apps
NetworkWilbi
NetworkWilbiOP7d ago
The thing is I need a lot of storage and SSDs are just mad expensive. Right now I'm using x4 IronWolf 4TB 5400RPM drives running RAIDZ2 That costed me a solid $400+ for just the drives
Xiticks
Xiticks7d ago
You don't need to have eveything on SSDs like a pair of 500gb sata ssd can already be a good start Well, if we talk about that come in #off-topic this is a support ticket after all
NetworkWilbi
NetworkWilbiOP7d ago
Cause if I'm going to add an SSD I need to setup a RAIDZ2 on it Or because SSDs are more fast and effecient, I can get away with RAIDZ1 because I want redundancy Yeah sorry, still going through the process of installing immich
Xiticks
Xiticks7d ago
No worries, I would just prefer keeping the ticket "clean" and only about the issue
NetworkWilbi
NetworkWilbiOP7d ago
Yes that is fair Well, I'm looking at my containers and they show unhealthy...jeez I can't catch a break They are running though But still not showing up on "Apps," I'm gonna need a few minutes
Xiticks
Xiticks7d ago
Mirror SSD"s for the win still have redundancy and only need two of them
NetworkWilbi
NetworkWilbiOP7d ago
They don't have issues with resilvering do they?
Xiticks
Xiticks7d ago
wdym? And coming back here, has docker started ?
NetworkWilbi
NetworkWilbiOP7d ago
They keep showing as unhealthy and can't get to the Apps interface This is frustrating
Xiticks
Xiticks7d ago
All of your apps show unhealthy? Or is it just Immich?
NetworkWilbi
NetworkWilbiOP7d ago
all
NetworkWilbi
NetworkWilbiOP7d ago
No description
Xiticks
Xiticks7d ago
Nice Well in the meaning that it's not Immich related otherwise not that nice
NetworkWilbi
NetworkWilbiOP7d ago
They are serving their ports though which is weird
Xiticks
Xiticks7d ago
and you can conenct to them?
NetworkWilbi
NetworkWilbiOP7d ago
No description
NetworkWilbi
NetworkWilbiOP7d ago
Yes I can connect to them like normal, just TrueNAS seriously doesn't want to show them up I'm gonna try and restart truenas while the docker containers are running and see how that will do
Xiticks
Xiticks7d ago
Yeah, I can't help you with that I don't even thing that is caused by HDDs
NetworkWilbi
NetworkWilbiOP7d ago
Yeah, its a thing I unfortunately have to make sure I can deal with Once I get the apps showing up properly, I can start reinstalling So this is what I did to fix it, I first have to verify that my docker containers are running. Restart TrueNAS, then go to the terminal and type sudo systemctl restart middlewared (This allows TrueNAS to show the Apps).
NetworkWilbi
NetworkWilbiOP7d ago
No description
NetworkWilbi
NetworkWilbiOP7d ago
Golden
Xiticks
Xiticks7d ago
That is weird I think In the next version (or the version in April) there will be some improvements of the middleware so it might also solve your issue
NetworkWilbi
NetworkWilbiOP7d ago
Hopefully cause its annoying, I can't even have thes containers stop and restart or I will get the same issue K attempting update
Xiticks
Xiticks7d ago
Well I would still expect swicthing to ssd to improve that
NetworkWilbi
NetworkWilbiOP7d ago
K didn't work, Gonna reinstall
Xiticks
Xiticks7d ago
It was the case when it was Kubernetes so I support it works the same for docker
NetworkWilbi
NetworkWilbiOP7d ago
Most definitely
NetworkWilbi
NetworkWilbiOP7d ago
Here right?
No description
Xiticks
Xiticks7d ago
Yes
NetworkWilbi
NetworkWilbiOP7d ago
Where I choose the pool
Xiticks
Xiticks7d ago
But wait for the next TrueNAS version to do the switch Because now there is no "migrate data" button when you decide to change pool thus it won't migrate some stuff
NetworkWilbi
NetworkWilbiOP7d ago
gotcha Btw for deleting the app, uncheck "Remove images"? or check "remove images?"
Xiticks
Xiticks7d ago
you can tick it
NetworkWilbi
NetworkWilbiOP7d ago
tick it as in check it?
Xiticks
Xiticks7d ago
y it will remove the image of Immich (so like the downlaoded "program") but as you upgrade it, you pull a new image that is more recennt
NetworkWilbi
NetworkWilbiOP7d ago
yes?
Xiticks
Xiticks7d ago
yes
NetworkWilbi
NetworkWilbiOP7d ago
k Thankfully all of my related passwords are in Bitwarden
Xiticks
Xiticks7d ago
You americans lol you can change it anyway (Well I'm not English/British either)
NetworkWilbi
NetworkWilbiOP7d ago
So should I have the data base storage type be HDD instead of SSD for now for my setup? Because I have HDD instead of SSD
Xiticks
Xiticks7d ago
Yes It's a small improvement for Immich, but it's better to set it And it can be changed later
NetworkWilbi
NetworkWilbiOP7d ago
Automatic Permissions right?
Xiticks
Xiticks7d ago
You can yes
NetworkWilbi
NetworkWilbiOP7d ago
I didn't have machine learning cache so I'll leave that alone until the future
Xiticks
Xiticks7d ago
It will ensure that they're correctly set for the database dataset Temporary is fine even in the future
NetworkWilbi
NetworkWilbiOP7d ago
Gotcha The machine learning is seriously something, you guys are cooking for real K installing
Xiticks
Xiticks7d ago
It's not me, I'm just support crew, which is voluntary work
NetworkWilbi
NetworkWilbiOP7d ago
Will it break, will it fix, find out next time on Dragon Ball Z
Xiticks
Xiticks7d ago
Well I wrote some stuff and code, but very small contributions
NetworkWilbi
NetworkWilbiOP7d ago
You contribute to the team so you are a part of the team. Thats how I see it Ok Immich is running lets see if I'm gucci Version is 1.10.2
Xiticks
Xiticks7d ago
And its up?
NetworkWilbi
NetworkWilbiOP7d ago
Users persist, photos persist, WE CHILLLLLLIN
Xiticks
Xiticks7d ago
Yeah, that is normal/expected Nice Weird issue you had though Because the restart didn't fix the permissions, right?
NetworkWilbi
NetworkWilbiOP7d ago
It was, I'll mention in the bug that I just had to reinstall immich (with persistent data configured via datasets) right
Xiticks
Xiticks7d ago
It might be just a one time issue related to other issue you had But i'll keep that in mind if there is another ticket similar to yours Glad it works and was somewhat easy to fix and Btw there is a Truenas Discord if you ever want to ask more questions about TrueNAS itself Not a one time though as Quelhas has the same issue
NetworkWilbi
NetworkWilbiOP7d ago
Well you got one helluva reference for this ticket. Much appreciate on helping me out and giving me some tips on HDD and SSD So now that the problem has been solved, I close this ticket correct?
Xiticks
Xiticks7d ago
No problem! Thank you also for opening the ticket Here on discord you can with /close yes btw https://github.com/truenas/apps/issues/3263 The title of your issue change it you can just put Immich instead of TrueNAS Community Edition Because it's the github for the truenas apps so it's indeed a TrueNAS communty edition
NetworkWilbi
NetworkWilbiOP7d ago
Got it
Immich
Immich7d ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?