truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.16k stars 616 forks source link

[EFAULT] Failed to install App: Error: INSTALLATION FAILED: template: youtrack/templates/common.yaml:4:21: #17317

Closed ngnr5 closed 10 months ago

ngnr5 commented 10 months ago

App Name

youtrack

Operating System

TrueNAS-SCALE-23.10.1.1

App Version

2023.2.22656

Application Events

[EFAULT] Failed to install App: Error: INSTALLATION FAILED: template: youtrack/templates/common.yaml:4:21: executing "youtrack/templates/common.yaml" at <.Values.initContainers>: wrong type for value; expected map[string]interface {}; got interface {}

Application Logs

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/service/crud_service.py", line 194, in nf
    rv = 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/schema/processor.py", line 177, in nf
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 487, in do_create
    await self.middleware.call(
  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 install App: 
    Error: INSTALLATION FAILED: 
    template: youtrack/templates/common.yaml:4:21: 
    executing "youtrack/templates/common.yaml" at <.Values.initContainers>: wrong type for value; expected map[string]interface {}; got interface {}

Application Configuration

Everything is default.

Describe the bug

When try to install drop this error: [EFAULT] Failed to install App: Error: INSTALLATION FAILED: template: youtrack/templates/common.yaml:4:21: executing "youtrack/templates/common.yaml" at <.Values.initContainers>: wrong type for value; expected map[string]interface {}; got interface {}

To Reproduce

  1. Go to Discover App
  2. filter to youtrack
  3. click on Install it
  4. set the manadatory hostname a valid one
  5. click on Install at the bottom
  6. FAILED [EFAULT] Failed to install App: Error: INSTALLATION FAILED: template: youtrack/templates/common.yaml:4:21: executing "youtrack/templates/common.yaml" at <.Values.initContainers>: wrong type for value; expected map[string]interface {}; got interface {} add_circle_outline...

Expected Behavior

Install it.

Screenshots

image

Additional Context

it the https://truecharts.org/charts/dev/youtrack/ as Chart Sources the link is not valid https://github.com/truecharts/charts/tree/master/charts/incubator/youtrack

point to incubator and not to dev

I've read and agree with the following

StevenMcElligott commented 10 months ago

Not a bug. You’re running TrueNAS SCALE 22.12.4.2 or earlier, please update to 23.10 if you wish to install/update apps. Thanks!

ngnr5 commented 10 months ago

Not a bug. You’re running TrueNAS SCALE 22.12.4.2 or earlier, please update to 23.10 if you wish to install/update apps. Thanks!

It is running on image I have just updated from TrueNAS-SCALE-23.10.1 just to make sure.

But I still get the error. Do I may miss something after the update?

Thx in advance any hint/help

StevenMcElligott commented 10 months ago

Well your missing info from your bug report, we need configuration screenshots, saying defaults and install it.

Actually this chart is in Dev, aka not working, so yep, that explains it.

ngnr5 commented 10 months ago

Thx for your response. It worked some month ago and now I would like to use it. Never mind I installed as custom one. Seems okay from there.

Have a great day :)

Regards, Zsolt

truecharts-admin commented 1 month ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists