Newly created shared folder can not be saved.

    • OMV 3.x
    • Resolved

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

    • Can share new shared folder, configuration issue, how to fix?

      Hi guys,

      Not sure what's wrong with my setup, but in any a scenario when I try to create a new shared folder I can't save the settings. Only undo works. Here's the report content1548854913.txt


      The ui outputs this error

      PHP Source Code

      1. 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-docker.mount' 2>&1' with exit code '1': Failed to restart sharedfolders-docker.mount: Unit sharedfolders.mount is not loaded properly: Bad message.
      2. See system logs and 'systemctl status sharedfolders-docker.mount' for details. in /usr/share/php/openmediavault/system/process.inc:182
      3. Stack trace:
      4. #0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
      5. #1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
      6. #2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
      7. #3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
      8. #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      11. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusdG...', '/tmp/bgoutputKj...')
      12. #8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      13. #9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      14. #10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      15. #11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      16. #12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      17. #13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      18. #14 {main}
      Display All
      and journalctl, this is marked red "sharedfolders.mount: What= setting is missing. Refusing."

      Shell-Script

      1. Jan 30 18:39:01 omv-venus CRON[10423]: pam_unix(cron:session): session opened for user root by (uid=0)
      2. Jan 30 18:39:01 omv-venus CRON[10424]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
      3. Jan 30 18:39:01 omv-venus CRON[10423]: pam_unix(cron:session): session closed for user root
      4. Jan 30 18:39:13 omv-venus openmediavault-webgui[10429]: Authorized login from 192.168.128.238 [username=admin, user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.3
      5. 6 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36]
      6. Jan 30 18:39:19 omv-venus systemd[1]: Reloading.
      7. Jan 30 18:39:19 omv-venus systemd[1]: sharedfolders.mount: What= setting is missing. Refusing.
      8. Jan 30 18:39:19 omv-venus systemd[1]: anacron.timer: Adding 1min 8.117386s random time.
      9. Jan 30 18:39:19 omv-venus systemd[1]: apt-daily.timer: Adding 37min 11.220655s random time.
      10. Jan 30 18:39:19 omv-venus systemd[1]: apt-daily-upgrade.timer: Adding 20min 58.513260s random time.
      11. Jan 30 18:39:19 omv-venus systemd[1]: sharedfolders-docker.mount: Cannot add dependency job, ignoring: Unit sharedfolders.mount is not loaded properly: Bad message.
      12. Jan 30 18:39:19 omv-venus systemd[1]: sharedfolders.mount: Cannot add dependency job, ignoring: Unit sharedfolders.mount is not loaded properly: Bad message.
      13. Jan 30 18:39:19 omv-venus systemd[1]: sharedfolders-docker.mount: Cannot add dependency job, ignoring: Unit sharedfolders.mount is not loaded properly: Bad message.
      14. Jan 30 18:39:19 omv-venus systemd[1]: sharedfolders.mount: Cannot add dependency job, ignoring: Unit sharedfolders.mount is not loaded properly: Bad message.
      15. Jan 30 18:39:19 omv-venus systemd[1]: Starting Daily apt download activities...
      Display All
      24/7 OpenVPN server: PCDuino3 Nano OMV 3
      used with WOL by demand: OMV 3, AMD Phenom, 9 drives, 26TB of storage.
    • This happens when the sharedfolder is in use. Unfortunately, there isn't a good solution for it other than stopping services using it - github.com/openmediavault/openmediavault/issues/276
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      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 Guest