Hi there, the wiki page is ready:
omv8:omv8_plugins:snapraid-aio [omv-extras.org]
The code is sitting in a PR on your GitHub repo of the plugin.
Let me know if you need anything else!
Hi there, the wiki page is ready:
omv8:omv8_plugins:snapraid-aio [omv-extras.org]
The code is sitting in a PR on your GitHub repo of the plugin.
Let me know if you need anything else!
The plugin is in the repo. I did add locale stuff. So, you will need to pull new content before doing future work.
Sorry if i hijack this thread.
But i´m encountering an issue with the snapraid-aio plugin.
If i go to Services>Snapraid-AIO and edit my config i see at the bottom the "Custom hooks" section.
But i can only enter a 'Before hook name' and 'After hook name', where do i save the actual command which should be run?
How do i configure which command should be run?
It seems to me, this before/after command fields are missing in the UI?
I checked the local file on my nas (sudo grep -n -A 8 "before_hook_cmd\|after_hook_cmd\|Before hook command\|After hook command" \
/usr/share/openmediavault/workbench/component.d/omv-services-snapraidaio-configs-form-page.yaml)
and in this file the relevant code exists
388- - type: textArea
389- name: after_hook_cmd
390- label: _("After hook command")
391- monospaced: true
392- rows: 2
393- value: ""
394- hint: _("Shell command or script path. Runs as root after SnapRAID operations complete — enter only trusted commands.")
395- modifiers:
396- - type: disabled
397- constraint:
398- operator: falsy
399- arg0:
400- prop: custom_hook
Display More
so i´m not sure, why the UI is not displaying it.
I enabled the checkbox, saved, and accepted the changes... after that i did i even deleted browser cache.. the fields do not appear for me somehow...
EDIT: i created an issue in github, hope this is the right place for it.
Custom Hooks Before/After command field missing · Issue #2 · OpenMediaVault-Plugin-Developers/openmediavault-snapraid-aio
Thx for your help
Don’t have an account yet? Register yourself now and be a part of our community!