Cant delete shared Folder

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Cant delete shared Folder

      Hi, so i think i messed up, i was trying to find out why i could not mount a HDD and did run into some issues at some point i manage to do it but had a leftover from the old mount, mainly a shared folder.

      Now we come to the problem, i cant delete it, and if i try to Apply any changes right now i only get the following.

      This happens when i try to Apply changes to OMV.

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-down.mount' 2>&1' with exit code '1': Job for sharedfolders-down.mount failed.See "systemctl status sharedfolders-down.mount" and "journalctl -xe" for details.

      OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-down.mount' 2>&1' with exit code '1': Job for sharedfolders-down.mount failed.See "systemctl status sharedfolders-down.mount" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175Stack 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/bgstatusRi...', '/tmp/bgoutput29...')

      #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(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}


      If i try to acces it i get the following:







      Error #0:OMV\Config\DatabaseException: Failed to execute XPath query '//system/fstab/mntent[uuid='e620246c-8796-48d0-b54a-5a42a8b80732']'. in /usr/share/php/openmediavault/config/database.inc:78Stack trace:#0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(231): OMV\Config\Database->get('conf.system.fil...', 'e620246c-8796-4...')
      #1 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
      #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', Array, Array)
      #4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'get', Array, Array, 1)#5 {main}


      It still showes as referenced but i cant find anything that still point to it.
      Does anyone have an idea? Help would be greatly appreciated.
    • Zuescho wrote:

      Holy Smokes i was searching for this 2 weeks...
      The resetperms plugin adds a tab to the Shared Folders section that shows every place a shared folder is used.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Users Online 1

      1 Member