Notification email for pending configuration changes but no change to apply in the GUI !

  • Hi,

    My NAS is currently running OMV v5 and it works fine.

    But it's been behaving strangely lately.

    In fact, even though I don't get a message on the GUI about validating a configuration change, I receive an email every day with the following message:


    Code
    Pending configuration changes
    The configuration has been changed. You must apply the changes in order for them to take effect.


    So I'm searching for a misconfiguration of a module, or a bug in the configuration change "engine".

    After some research, I've found a function omv_module_is_dirty() in /usr/share/openmediavault/scripts/helper-functions but can't see what generate this email.

    Any help to clarify will be appreciated.
    Thanks

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System
    6 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups/Downloads

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • More research...

    I've found this function in /usr/share/php/openmediavault/engine/module/manager.inc



    So I checked OMV_ENGINED_DIRTY_MODULES_FILE (/var/lib/openmediavault/dirtymodules.json) :


    Quote

    root@home-server:/var/lib/openmediavault# cat dirtymodules.json

    []


    So, should this file be totally empty or not ?
    I still don't understand because this function is both use for the GUI and the notification function...

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System
    6 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups/Downloads

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • sbocquet

    Added the Label OMV 5.x

Participate now!

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