After Update to 3.0 i Get this RuntimeException

  • Hi all, after update to 3.0 i get this Error... i can't to mount my harddisk. I don‘t know what can i do?



    Fehler #0:exception 'RuntimeException' with message 'Failed to index key 'hidden' of 'hidden.0' because it has no children.' in /usr/share/php/openmediavault/dictionary.inc:145Stack trace:#0 /usr/share/php/openmediavault/config/configobject.inc(193): OMV\Dictionary->set('hidden.0', false)#1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('hidden.0', '0', false)#2 /usr/share/php/openmediavault/config/configobject.inc(233): OMV\Config\ConfigObject->setFlatAssoc(Array, false, false)#3 /usr/share/php/openmediavault/config/database.inc(167): OMV\Config\ConfigObject->setAssoc(Array, false)#4 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(73): OMV\Config\Database->getByFilter('conf.system.fil...', Array)#5 [internal function]: OMVRpcServiceShareMgmt->getCandidates(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#7 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getCandidates', Array, Array)#8 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('ShareMgmt', 'getCandidates', Array, Array, 1)#9 {main}

    • Offizieller Beitrag

    Open the /etc/openmediavault/config.xml file and look for <mntent>, e.g.


    XML
    <mntent>
    	<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
    	<fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
    	<dir>/xxx/yyy/zzz</dir>
    	<type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>
    	<opts></opts>
    	<freq>0</freq>
    	<passno>0|1|2</passno>
    	<hidden>0|1</hidden>
    </mntent>

    There must be multiple <hidden>xxx</hidden> entries. Remove all except one.

  • Hi, thanks for the solution, i can´t open this file, i get this error /etc/openmediavault/config.xml access denied(Keine Berechtigung)


    root@NAS:~# /etc/openmediavault/config.xml
    -bash: /etc/openmediavault/config.xml: Keine Berechtigung


    do you have a idea?


    Thanks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!