openmediavault-scripts - problem with logrotate after update

  • There is a problem with recent updates to openmediavault-scripts and logrotate service.

    Scripts plugin creates directory /var/log/omv-scripts-exec-tracker with permissions 777 and logrotate doesn't like it :)

    On my system logrotate would then exit with error status.

    Simple chmod like 640 on the directory fixes the problem :)


    Also is it ok that logs of scripts plugin are in 2 places?

    - in a file /var/log/omv-scripts-exec-tracker.log

    - every execution as separate file in mentioned directory /var/log/omv-scripts-exec-tracker

    I guess Web UI reads from the folder?



  • votdev

    Approved the thread.
    • Official Post

    Simple chmod like 640 on the directory fixes the problem

    Fixed in the next release. A directory should have exec privileges though. https://github.com/OpenMediaVa…24962e2285249fa0373d24934



    Also is it ok that logs of scripts plugin are in 2 places?

    - in a file /var/log/omv-scripts-exec-tracker.log

    - every execution as separate file in mentioned directory /var/log/omv-scripts-exec-tracker

    I guess Web UI reads from the folder?

    Yes. They are different and serve very different purposes.


    /var/log/omv-scripts-exec-tracker.log tracks every run and the Logs tab in the scripts plugin uses it to show recent runs.

    /var/log/omv-scripts-exec-tracker directory holds the output from the scripts that are run. There is a log file for every run and the file is named after the script that was run.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.5 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.3 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • csh123

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!