Can't delete nor create a new shared folder

  • Hello


    when I try to delete an unreferenced shared folder (the Referenced colums says No, and in facts they are not used by rsync, smb or whatever) I get this error


    Can someone help pls? Thx in advance!




    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl restart 'sharedfolders-BU\x2dVarie.mount' 2>&1' with exit code '1': Assertion failed on job for sharedfolders-BU\x2dVarie.mount.

    Errore #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl restart 'sharedfolders-BU\x2dVarie.mount' 2>&1' with exit code '1': Assertion failed on job for sharedfolders-BU\x2dVarie.mount. in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
    #1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
    #2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
    #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
    #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusPO...', '/tmp/bgoutput9R...')
    #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #13 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #14 {main}

  • In spite of further tests, I still cant solve the riddle.

    Can't delete folders - which would be a secondary issue after all - and can't create new ones either !


    Anyone has any suggestion pls ? ?(

  • uga

    Hat das Label OMV 4.x hinzugefügt.
  • uga

    Hat das Label gelöst hinzugefügt.
  • Ok I found the issue, Or at least half of it.


    The problem was that I was trying to delete a folder referring to another shared folder.

    In the Shared Folders gui, both folders were marked as not referenced.

    Simply put: deleting folder B before folder A worked ok, and allowed me to delete folder A.


    Now I can also create more new folders, which was prevented before - this part I did not understand the reason for: must be somehow related to the previous situation but...?

Jetzt mitmachen!

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