After update from 2 -3 exception 'RuntimeException' with message 'Failed to index key 'audit' of 'audit.0' because it has no children.' in /usr/share/php/openmediavault/dictionary.inc:145

  • Hi there


    I got this error when i go into the SMB area after update from 2 -3
    Cant share anymore!.
    Plex work fine.


    Anyone that can help out with this?.


    Feil #0:
    exception 'RuntimeException' with message 'Failed to index key 'audit' of 'audit.0' because it has no children.' in /usr/share/php/openmediavault/dictionary.inc:145
    Stack trace:
    #0 /usr/share/php/openmediavault/config/configobject.inc(193): OMV\Dictionary->set('audit.0', false)
    #1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('audit.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(85): OMV\Config\ConfigObject->setAssoc(Array, false)
    #4 /usr/share/openmediavault/engined/rpc/smb.inc(109): OMV\Config\Database->get('conf.service.sm...')
    #5 [internal function]: OMVRpcServiceSmb->getShareList(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('getShareList', Array, Array)
    #8 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('SMB', 'getShareList', Array, Array, 1)
    #9 {main}


    dpkg -l | grep openm
    ii openmediavault 3.0.54 all Open network attached storage solution
    ii openmediavault-clamav 3.2.7 all OpenMediaVault ClamAV plugin
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-omvextrasorg 3.4.9 all OMV-Extras.org Package Repositories for OpenMediaVault
    ii openmediavault-plexmediaserver 3.7 all OpenMediaVault Plex Media Server plugin
    ii openmediavault-snapraid 3.3 all snapraid plugin for OpenMediaVault.
    rc openmediavault-supportinfo 0.5.12 all OpenMediaVault support panel
    root@NasBox:/etc/init.d#



    EIS

    • Offizieller Beitrag

    Please open /etc/openmediavault/config.xml and look for '<smb>'.


    Your configuration must look like



    Keep an eye on <audit> elements.

  • Looks good to me.


    I can see the "config" page. Looks good beside the error that pops up.
    But the share page dont show anything you.
    And if i try add a "old" share. It says it there. But now showing up.


    <smb>
    <enable>1</enable>
    <workgroup>WORKGROUP</workgroup>
    <serverstring>NasBox</serverstring>
    <loglevel>0</loglevel>
    <usesendfile>1</usesendfile>
    <aio>1</aio>
    <nullpasswords>1</nullpasswords>
    <localmaster>1</localmaster>
    <timeserver>1</timeserver>
    <winssupport>1</winssupport>
    <winsserver>192.168.1.1</winsserver>
    <homesenable>0</homesenable>
    <homesbrowseable>1</homesbrowseable>
    <extraoptions>interfaces = bond0, lo


    Eis

Jetzt mitmachen!

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