truecharts / public

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

Nextcloud [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "nextcloud" namespace: "" from "": no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first #10313

Closed JonathanSL closed 1 year ago

JonathanSL commented 1 year ago

App Name

nextcloud

SCALE Version

22.12.2

App Version

27.0.0_21.0.11

Application Events

Nextcloud app failed to install

Application Logs

Nextcloud app failed to install

Application Configuration

Default config except for: Initial Admin User: admin Initial Admin Password: *** Default Phone Region: US

Describe the bug

[EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "nextcloud" namespace: "" from "": no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 428, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 463, in __run_body rv = await self.method(([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1246, in nf res = await f(args, kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1378, 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 1395, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1355, 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 1258, 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: unable to build kubernetes objects from release manifest: resource mapping not found for name: "nextcloud" namespace: "" from "": no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first

To Reproduce

Fresh install of TrueNAS-SCALE-22.12.3.2 Set root email address Create data pool Change webUI ports to 81/444 Add truecharts as a catalog Install cloudnative-pg 1.20.0_1.0.4 Install cloudflareddns latest_5.0.29 using API Token Install clusterissuer latest_1.0.10 using API Token Install traefik 2.10.1_18.0.18 creating ACME Issuer 'cloudflare' with API Token Attempt to install nextcloud (truechart), set Initial Admin name/pass, Phone region: US, (did not set Ingress, but will in the future), Prometheus Metrics unchecked. Fails to install

Expected Behavior

Successful install

Screenshots

NA

Additional Context

I had everything working about two months ago on this system, had issues trying to upgrade recently.

I've read and agree with the following

StevenMcElligott commented 1 year ago

You need the Prometheus Operator install until the latest common chart update gets pushed through the queue, so install that if you need to get it running, or get in touch with us on Discord, thanks!

JonathanSL commented 1 year ago

Thanks to everyone working on this :) Installed prometheus-operator and everything is working. Man, I have to say that the setup is going to be awesome with these new changes!

truecharts-admin commented 1 year 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