• [6.8-RC1] WebGui emhttp events not being invoked


    Tater-Tatsumi
    • Solved Minor

    Just updated to 6.8.0-rc1 to test out some of the new features.

     

    One of the main things that I rely upon is the automatic start of my encrypted array leveraging the `emhttp/webGui/event/<starting/started/stopped>` in order to fetch my keyfile, as per this link:

     

    However, on this release candidate, the main `starting` even is never invoked, which causes my array to have no keyfile to decrypt the array with. Manually invoking the script and starting the array shows that my other plugins with the same events types defined do correctly get called. Nothing in the syslog hints at something failing. Has something changed with this interface in regards to the WebGui in particular, or is there something else going on?




    User Feedback

    Recommended Comments

    I added these lines to the go file to make it work again:

     

    chmod +x /usr/local/emhttp/webGui/event/starting/fetch_key
    chmod +x /usr/local/emhttp/webGui/event/started/delete_key
    chmod +x /usr/local/emhttp/webGui/event/stopped/fetch_key
     

    • Like 1
    • Thanks 1
    Link to comment

    With Unraid 6.8 it is not possible anymore to run scripts directly from the USB device.

    A workaround is to copy these scripts to /tmp and make them executable and run them from there.

     

    Link to comment

    I didn't realize they were still being run on the flash drive. The go file does create and add the scripts to the specified path, which to my understanding didn't live on the flash drive. I didn't realize that it modified the execute permissions on on for the files on my flash drive itself.

     

    That solved it @Niklas, thanks!

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.