I recently updated to the latest OMV 5 and I am unable to add to my IPv4 firewall config through the GUI.
I get the error: Invalid method parameter: Array is not a string.
Under details it shows:
Code
Error #2002: exception 'OMVException' with message 'Invalid method parameter: Array is not a string.' in /usr/share/php/openmediavault/rpcservice.inc:150 Stack trace: #0 /usr/share/openmediavault/engined/rpc/iptables.inc(186): OMVRpcServiceAbstract->validateMethodParams(Array, '{???? "type":"...') #1 [internal function]: OMVRpcServiceIptables->setRules(Array, Array) #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #3 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('setRules', Array, Array) #4 /usr/sbin/omv-engined(495): OMVRpc::exec('Iptables', 'setRules', Array, Array, 1)
The entry is a simple one, Allow port source ip any with source port 3689 destination any port 3389 protocol tcp
I notice under all my other rules, made in OMV .4, under family it states inet,inet,inet whereas on this one it says IPv4. I am unable to change this in the GUI config.