Error when Update app in Truenas Scale: values.network.web_port: A dict was expected
I'm using Truenas Scale ElectricEel-24.10.0.2 and Immich app v1.124.2
And got this error when update the app, help me guys
Thank you!
File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/schema_normalization.py", line 34, in normalize_and_validate_values
dict_obj = await self.middleware.call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1626, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1457, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/schema_validation.py", line 37, in validate_values
verrors.check()
File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 72, in check
raise self
middlewared.service_exception.ValidationErrors: [EINVAL] values.network.web_port: A dict was expected


24 Replies
:wave: Hey @Milkywhere,
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:.
sad life
Could you check #truenas
I'm having the same issue
What version is that app? Is migration supported ? https://www.truenas.com/docs/scale/25.04/gettingstarted/scalereleasenotes/#truenas-apps
25.04 (Fangtooth) Version Notes
Highlights, change log, and known issues for TrueNAS 25.04 release versions.
App Version: v1.124.2
Version: 1.7.20
my truenas scale version: ElectricEel-24.10.0.2
today i try to install another instance immich app and found that the setup fields changed a lot, not like the curent installed one, may be the changed from immich structure cause the error?

the new installation setup fields


the old one



some setup paths were removed from the new version maybe
Yeah I'd do some research, there was an IP change and then a couple of storage changes. One being config for SSD vs HDD and another being the consolidation of some paths/datasets.
I'm having the same issue. @Milkywhere got any ideas on how to resolve it?
there is some information here about the consolidation change https://github.com/truenas/apps/issues/893
i'm not sure
maybe i duplicate the data and try to install new app and point to the copied path to check if this solution works
i recently can't download media from browser too and the big video file (GBs) hard to backup via android app
i hope once i install new app, it would be fine
i'll take a look
thank you so much
There was also a breaking change from immich here: https://github.com/immich-app/immich/releases/tag/v1.133.0
it look like a big update from immich xD
i'll manage to upgrade soon
thank you so much for the informations
no problem, i would also take a look at changes in the truenas app. there is a lot of discussion around
Let me know how it goes, please!
I will. I'm quite busy these days, but I'll be sure to update you once I'm done 🙂
Thank you!
@Milkywhere I upgraded TrueNAS to
ElectricEel-24.10.2.2
and ran the update again from Apps and it worked!thank you for the update ❤️
this solved the problem, thank you so much
up and run now :immich:
You are very welcome! It was @Xiticks who helped me, so all credit to them. Glad to hear it's working now.
Well no problem for that! Glad you're able to help other too
I'm still working on updating the guide for Immich on Truenas Scale (with the migration steps to the new storage strucure), but it might take more time than I thought, as I prioritise my master thesis over this
thank you all for hard working ❤️
love Immich so much