The state smartmontools doesn't exist

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

    • The state smartmontools doesn't exist

      ### Description of issue/question
      When I try to enable S.M.A.R.T. I always keep getting this error.
      [Blocked Image: https://user-images.githubusercontent.com/29075110/64889533-68faa680-d622-11e9-959e-c43b949b9898.png]



      ### Steps to reproduce issue
      (Include debug logs if possible and relevant.)

      Source Code

      1. Error #0:
      2. 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; omv-salt deploy run smartmontools 2>&1' with exit code '100': ERROR: The state 'smartmontools' does not exist in /usr/share/php/openmediavault/system/process.inc:182
      3. Stack trace:
      4. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
      5. #1 /usr/share/openmediavault/engined/rpc/config.inc(164): OMV\Engine\Module\ServiceAbstract->deploy()
      6. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
      7. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      8. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusjI...', '/tmp/bgoutputhz...')
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      11. #7 /usr/share/openmediavault/engined/rpc/config.inc(186): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      12. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
      13. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      14. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      15. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      16. #12 {main}
      Display All
      ### Versions report
      I am using v5.x
      SBC: RockPro64
      OS: Debian Buster