Error when mark Disable Hardware Offloading

alberto2132

Dabbler
Joined
Mar 30, 2023
Messages
28
Hello everyone!
I'm trying to install Nextcloud on my TrueNAS system, but when I check the "Disable Hardware Offloading box in my network interface settings, I get the following error:
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 139, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1236, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/service.py", line 507, in update
rv = await self.middleware._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1236, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/network.py", line 1664, in do_update
await self.middleware.call('interface.disable_capabilities', iface['name'])
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1279, in call
return await self._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1247, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1152, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 979, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/interface/capabilities_freebsd.py", line 56, in disable_capabilities
iface.capabilities = {c for c in iface.capabilities if c.name not in capabilities}
File "netif.pyx", line 791, in netif.NetworkInterface.capabilities.__set__
OSError: [Errno 22] Invalid argument

This is my interface configuration:

1680184089778.png
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
This is by design. Plugins and offloading are incompatible.


SettingsDescription
Disable Hardware OffloadingSelect to turn off hardware offloading for network traffic processing. Warning! Disabling hardware offloading can reduce network performance, and is only recommended when the interface is managing jails, plugins or virtual machines.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
You're changing the IP for NextCloud in the wrong screen. The interface screen is for the host system. For the plugin, you have to change the IP in the plugin:


AdvancedJailCreationBasicProperties.png
 
Top