Nextcloud Official app and Disable Hardware Offloading

Kosygor

Dabbler
Joined
Sep 28, 2021
Messages
18
Hello I have Fujitsu Primergy TX1320M and run at some problems. Currently I am trying to set up Nextcloud container with help of "Official Applications". I had "WEB UI" button but this was leading to no WEB UI.
Page could not load timeout.
2021-11-27 11:16:55.115969+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.16.0.86. Set the 'ServerName' directive globally to suppress this message
2021-11-27 11:16:55.129712+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.16.0.86. Set the 'ServerName' directive globally to suppress this message
2021-11-27 11:16:55.154805+00:00[Sat Nov 27 11:16:55.154525 2021] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.51 (Debian) PHP/8.0.13 configured -- resuming normal operations
2021-11-27 11:16:55.154848+00:00[Sat Nov 27 11:16:55.154722 2021] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
In postgres there were error:
2021-11-27 11:16:41.259871+00:002021-11-27T11:16:41.259871973Z
2021-11-27 11:16:41.259912+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2021-11-27 11:16:41.259921+00:002021-11-27T11:16:41.259921793Z
2021-11-27 11:16:41.631869+00:002021-11-27 11:16:41.631 UTC [1] LOG: starting PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-11-27 11:16:41.632526+00:002021-11-27 11:16:41.632 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-11-27 11:16:41.632544+00:002021-11-27 11:16:41.632 UTC [1] LOG: listening on IPv6 address "::", port 5432
2021-11-27 11:16:41.640146+00:002021-11-27 11:16:41.640 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-11-27 11:16:41.649491+00:002021-11-27 11:16:41.649 UTC [26] LOG: database system was shut down at 2021-11-27 11:04:17 UTC
2021-11-27 11:16:41.681680+00:002021-11-27 11:16:41.681 UTC [1] LOG: database system is ready to accept connections
2021-11-27 11:16:54.209868+00:002021-11-27 11:16:54.208 UTC [33] FATAL: password authentication failed for user "root"
2021-11-27 11:16:54.209913+00:002021-11-27 11:16:54.208 UTC [33] DETAIL: Role "root" does not exist.
2021-11-27 11:16:54.209935+00:00Connection matched pg_hba.conf line 99: "host all all all md5"
But it is a plug and play so I assumed it has to be something else. Then I found info (did not had to do this in CORE before) that for plugins to work it is advised to enable "Disable Hardware Offloading".
Well this gets me an error:

[ENOMETHOD] Method 'disable_capabilities' not found in 'interface'

Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/utils/service/call.py", line 25, in _method_lookup
methodobj = getattr(serviceobj, method_name)
AttributeError: 'CompoundService' object has no attribute 'disable_capabilities'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 151, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1267, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1263, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1131, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/network.py", line 947, in commit
await self.sync()
File "/usr/lib/python3/dist-packages/middlewared/plugins/network.py", line 2047, in sync
await self.middleware.call('interface.disable_capabilities', physical_iface['name'])
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1305, in call
serviceobj, methodobj = self._method_lookup(name)
File "/usr/lib/python3/dist-packages/middlewared/utils/service/call.py", line 27, in _method_lookup
raise CallError(f'Method {method_name!r} not found in {service!r}', CallError.ENOMETHOD)
middlewared.service_exception.CallError: [ENOMETHOD] Method 'disable_capabilities' not found in 'interface'

Next funnty thing is that if I ping NC WEBUI response comes from other IP:
Pinging 192.168.0.123 with 32 bytes of data:
Reply from 192.168.0.59: Destination host unreachable.
Request timed out.
Reply from 192.168.0.59: Destination host unreachable.

My NIC is :
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05) Enabled
04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) Disabled
Error occurs to both of them. I did not manage to connect to network on second adapter.

Main problem is that I am not sure what is causing nextcloud not to connect jdownloader WEBUI works fine without that option.
 

Kosygor

Dabbler
Joined
Sep 28, 2021
Messages
18
Ok there is no more annoying thing than spendig night to do simple stuff without fundamental knowladge. Somebody correct me if I am wrong. But You should not play with IP in k8s containers, and "Nextcloud host" should be left 0.0.0.0 then You have acces on Your truenas port 9001...
Still wondering about profits that I am missing from not being able to turn Disable Hardware Offloading.
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
For the postgresql error you should really file a bugreport on the iX Systems Jira and be sure to attach a debug log.
This shouldn've have happened.

To be clear: Plugins are not apps.
You can NEVER blindly use any information about plugins blindly for Apps. In this case the advice you read is not applicable to SCALE. Different systems, different issues. You are not disabling hardware offloading, you are breaking things by trying FreeBSD based tricks on a Linux Based system.

"Next funnty thing is that if I ping NC WEBUI response comes from other IP:"
That is normal, it's your own PC responding back to you that the target doesn't exist anywhere.

No Idea about the official Nextcloud App, but with our App the Nextcloud Host definately has to point towards the host IP and not 0.0.0.0.

You might have beter luck with our Nextcloud App. As far as we're aware we don't have any issues with the database password not correctly being processed for months by now.

K.S.
 

Kosygor

Dabbler
Joined
Sep 28, 2021
Messages
18
@truecharts Did not respond immediately bc I was struggling with Traefik, Cloudflare and Ingress but finnaly I got TrueChart version running. This is revolution who quited Synology stuff month ago and Installed firs TrueNAS Core month ago.
Thank You
 
Top