Share cannot be created

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

    • Share cannot be created

      Hello,
      my setup:
      Asrock J4105M motherboard, 16GB RAM, NVME 256GB system drive and LSI 9211-8i passed to OpenMediaVault set to IT mode.
      OMV seems to see drive with no problems - 2 x 3TB drives. Both had same data with EXT4 format (rsynced).
      Had problem to create share. So I wpied one drive and tried to format it under OMV.
      But I'm still stuck on create share:

      Error #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-dane1.mount' 2>&1' with exit code '4': Failed to restart sharedfolders-dane1.mount: Access deniedSee system logs and 'systemctl status sharedfolders-dane1.mount' for details. in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 4)#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/bgstatuskf...', '/tmp/bgoutputC0...')#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}

      root@openmediavault:~# systemctl status sharedfolders-dane1.mount
      ● sharedfolders-dane1.mount - Mount shared folder dane1 to /sharedfolders/dane1
      Loaded: error (Reason: Operation not permitted)
      Active: inactive (dead)
      Where: /sharedfolders/dane1
      What: /srv/dev-disk-by-label-dane1/.

      lut 13 22:01:10 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
      nnot add dependency job, ignoring: Access denied
      lut 13 22:01:31 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
      nnot add dependency job, ignoring: Access denied
      lut 13 22:09:01 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
      nnot add dependency job, ignoring: Access denied
      lut 13 22:33:46 openmediavault systemd[1]: sharedfolders-dane1.mount: Ca
      nnot add dependency job, ignoring: Access denied

      anyone have any clue how to fix it
      OMV 1.0 on Intel D510MO + Sil3114 + 6xHDD