Immich unable to startup error duplicate value server

itconstruct

Cadet
Joined
Dec 26, 2023
Messages
5

chart.release.redeploy​

Hi TrueNAS Community,

Running TrueNAS Scale version 23.10.1 as a VM inside of VMware vSphere server 6.7.
Hardware is HP Proliant DL380 G9 server.
Immich version 1.91.4 (Latest)

When trying to startup Immich App which was previously working and has been upgraded multiple times is having an issue of:

chart.release.redeploy​

Error: [EFAULT] Failed to update App: Error: UPGRADE FAILED: cannot patch "immich" with kind Deployment: Deployment.apps "immich" is invalid: spec.template.spec.containers[0].ports[1].name: Duplicate value: "server"

Could someone please assist and advise on how to resolve this issue and startup the app.

All other apps are unaffected and start/stop ok.
Able to deploy a new instance of Immich which creates a new default instance with none of my existing data.

Note the datavolumes mounted are ixVolume (dataset created automatically by the system).

I cannot create a new instance with the same name so seeking advice on best way forward.
Worried deleting current app instance may delete the data as new to TrueNAS.
 

itconstruct

Cadet
Joined
Dec 26, 2023
Messages
5
Traceback and more info when trying to start or update application:
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 427, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 465, in __run_body rv = await self.method(*([self] + args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 115, in upgrade await self.upgrade_chart_release(job, release, options) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 299, in upgrade_chart_release await self.middleware.call('chart.release.helm_action', release_name, chart_path, config, 'upgrade') File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1353, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1251, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 49, in helm_action raise CallError(f'Failed to {tn_action} App: {errmsg}') middlewared.service_exception.CallError: [EFAULT] Failed to upgrade App: Error: UPGRADE FAILED: cannot patch "immich" with kind Deployment: Deployment.apps "immich" is invalid: spec.template.spec.containers[0].ports[1].name: Duplicate value: "server"
 
Top