my app is normal before upgrade to TrueNAS-SCALE-22.12.1,but they all can't start now.

henry_cui

Cadet
Joined
Sep 3, 2022
Messages
7
my app is normal before upgrade to TrueNAS-SCALE-22.12.1,but they all can't start now.any help?

error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, 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 265, in upgrade_chart_release config, context = await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 338, in normalise_and_validate_values dict_obj = await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/validation.py", line 71, in validate_values verrors.check() File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check raise self middlewared.service_exception.ValidationErrors: [EINVAL] chart_release_create.persistence.config.hostPath: Invalid mount '/mnt/homecloud/personal/minio_data' path. Following service(s) use this path: SMB Share
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
With the latest update hostpath and smb can no longer be the same.
you can either switch to nfs instead of hostpath (if you're using truecharts) or disable the hostpath validation in the advanced tap of the general apps settings
 

henry_cui

Cadet
Joined
Sep 3, 2022
Messages
7
I have tried this option,still can't start app. And I try to delete and reinstall one app,it still show error like this:
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 486, in do_create await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1346, 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 1249, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 44, in helm_action raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}') middlewared.service_exception.CallError: [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: create: failed to create: secrets "sh.helm.release.v1.onlyoffice-document-server.v1" is forbidden: unable to create new content in namespace ix-onlyoffice-document-server because it is being terminated
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
The second error message is different from the first one.
If i see it correctly, the second error is about the deletion of an app that doesn't seem to have finished correctly and therefore the creation of a new app with the same namespace throws the above error.
To be more precise it seems to be something with onlyoffice.
Did you try to remove an instance of onlyoffice and then tried to reinstall it?
 
Top