Hi
After a failed upgrade I just reinstalled OMV from fresh. Running the latest: openmediavault_1.0.20_amd64.iso
Was using OMV 5.* before.
After the install and the disks plugged back in, I updated all fra UI and installed the OVM-Extras, with only a mark in OVM-Extras and VDR.
When I try to reset all permissions under the shared folders tab, I get the following error:
Failed to get configuration (xpath=//system/omvextrasorg/resetperms)
Details:
Fejl #3003:
exception 'OMVException' with message 'Failed to get configuration
(xpath=//system/omvextrasorg/resetperms)' in /usr/share/openmediavault/engined/rpc/omvextrasorg.inc:1399
Stack trace: #0 [internal function]: OMVRpcServiceOmvExtrasOrg->doResetPerms(NULL, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('doResetPerms', NULL, Array)
#3 /usr/sbin/omv-engined(500): OMVRpc::exec('OmvExtrasOrg', 'doResetPerms', NULL, Array, 1)
#4 {main}
I tried manually via SSH with chown: root:users and chmod: 755 the folders, though with -R, so that all files got 755 too. The files should have 644 of course, so I just wanted to get over with it and reset all the perms and ACL's from the UI, but I cannot run it due to the error. Before I also copied the /etc/openmediavault/config.xml from my previous install, that was alright and I had my shares back, everything was ok.
The omvextrasorg.inc is ok: line 1399 etc:
// Get the configuration object.
$object = $xmlConfig->get( $this->getXPathResetPerms() );
if (is_null($object))
{
throw new OMVException(
OMVErrorMsg::E_CONFIG_GET_OBJECT_FAILED,
$this->getXPathResetPerms()
);
}
// Check if shared folder is set to none
if (is_null($object['sharedfolderref']))
{
throw new OMVException(
OMVErrorMsg::E_MISC_FAILURE,
gettext("Please select a shared folder.")
);
}
etc...................
My fstab is:
UUID=6d1d730e-1c8a-4159-b2af-9cba6333debd /media/6d1d730e-1c8a-4159-b2af-9cba6333debd ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota$
etc...........
All disks are ext4.
Did anyone get this error as well?, and or how to fix it?