Failed to execute XPath query '//services/clamav'.

    • OMV 4.x
    • Resolved
    • Failed to execute XPath query '//services/clamav'.

      My ClamAV was acting weird, so I uninstalled it, but that seemed to have gone wrong. Webgui locked up and it didn't uninstall correctly. Tried apt-get uninstall and apt-get purge for openmediavault-clamav.

      Source Code

      1. Failed to execute XPath query '//services/clamav'.
      2. Error #0: OMV\Config\DatabaseException: Failed to execute XPath query '//services/clamav'. in /usr/share/php/openmediavault/config/database.inc:78 Stack trace: #0 /usr/share/openmediavault/engined/module/clamav.inc(71): OMV\Config\Database->get('conf.service.cl...') #1 /usr/share/openmediavault/engined/rpc/services.inc(56): OMVModuleClamAV->getStatus() #2 [internal function]: OMVRpcServiceServices->getStatus(Array, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array) #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1) #6 {main}