Problem Activate Notifications (E-Mail)

    • OMV 5.x (beta)
    • Problem Activate Notifications

      Hello

      here i have a Install on a RPI4 (fresh install made with the simple Installer Script from Github)
      Everything works fine

      But if i want to activate Notifications i get a Error message:


      Brainfuck Source Code

      1. 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 mdadm 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable): raspberrypi: ---------- ID: remove_cron_daily_mdadm Function: file.absent Name: /etc/cron.daily/mdadm Result: True Comment: File /etc/cron.daily/mdadm is not present Started: 11:12:13.559648 Duration: 0.895 ms Changes: ---------- ID: configure_default_mdadm Function: file.managed Name: /etc/default/mdadm Result: True Comment: File /etc/default/mdadm is in the correct state Started: 11:12:13.560798 Duration: 91.847 ms Changes: ---------- ID: configure_mdadm_conf Function: file.managed Name: /etc/mdadm/mdadm.conf Result: True Comment: File /etc/mdadm/mdadm.conf is in the correct state Started: 11:12:13.652946 Duration: 19.29 ms Changes: ---------- ID: mdadm_save_config Function: cmd.run Name: mdadm --detail --scan >> /etc/mdadm/mdadm.conf Result: True Comment: Command "mdadm --detail --scan >> /etc/mdadm/mdadm.conf" run Started: 11:12:13.673847 Duration: 17.118 ms Changes: ---------- pid: 1712 retcode: 0 stderr: stdout: ---------- ID: mdadm_update_initramfs Function: cmd.run Name: update-initramfs -u Result: False Comment: Command "update-initramfs -u" run Started: 11:12:13.691489 Duration: 12.163 ms Changes: ---------- pid: 1714 retcode: 127 stderr: /bin/sh: 1: update-initramfs: not found stdout: Summary for raspberrypi ------------ Succeeded: 4 (changed=2) Failed: 1 ------------ Total states run: 5 Total run time: 141.313 ms

      and:

      Brainfuck Source Code

      1. Fehler #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 mdadm 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
      3. if not isinstance(exes, collections.Iterable):
      4. raspberrypi:
      5. ----------
      6. ID: remove_cron_daily_mdadm
      7. Function: file.absent
      8. Name: /etc/cron.daily/mdadm
      9. Result: True
      10. Comment: File /etc/cron.daily/mdadm is not present
      11. Started: 11:12:13.559648
      12. Duration: 0.895 ms
      13. Changes:
      14. ----------
      15. ID: configure_default_mdadm
      16. Function: file.managed
      17. Name: /etc/default/mdadm
      18. Result: True
      19. Comment: File /etc/default/mdadm is in the correct state
      20. Started: 11:12:13.560798
      21. Duration: 91.847 ms
      22. Changes:
      23. ----------
      24. ID: configure_mdadm_conf
      25. Function: file.managed
      26. Name: /etc/mdadm/mdadm.conf
      27. Result: True
      28. Comment: File /etc/mdadm/mdadm.conf is in the correct state
      29. Started: 11:12:13.652946
      30. Duration: 19.29 ms
      31. Changes:
      32. ----------
      33. ID: mdadm_save_config
      34. Function: cmd.run
      35. Name: mdadm --detail --scan >> /etc/mdadm/mdadm.conf
      36. Result: True
      37. Comment: Command "mdadm --detail --scan >> /etc/mdadm/mdadm.conf" run
      38. Started: 11:12:13.673847
      39. Duration: 17.118 ms
      40. Changes:
      41. ----------
      42. pid:
      43. 1712
      44. retcode:
      45. 0
      46. stderr:
      47. stdout:
      48. ----------
      49. ID: mdadm_update_initramfs
      50. Function: cmd.run
      51. Name: update-initramfs -u
      52. Result: False
      53. Comment: Command "update-initramfs -u" run
      54. Started: 11:12:13.691489
      55. Duration: 12.163 ms
      56. Changes:
      57. ----------
      58. pid:
      59. 1714
      60. retcode:
      61. 127
      62. stderr:
      63. /bin/sh: 1: update-initramfs: not found
      64. stdout:
      65. Summary for raspberrypi
      66. ------------
      67. Succeeded: 4 (changed=2)
      68. Failed: 1
      69. ------------
      70. Total states run: 5
      71. Total run time: 141.313 ms in /usr/share/php/openmediavault/system/process.inc:182
      72. Stack trace:
      73. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
      74. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
      75. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
      76. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      77. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      78. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatuse9...', '/tmp/bgoutputHu...')
      79. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      80. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      81. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
      82. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      83. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      84. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      85. #12 {main}
      Display All
      Does anyone have a idea whats going wrong here ?

      The Base is a Debian Raspberry Buster Install (also fresh)