"apply changes" dialog not showing

  • I installed OMV on top of a fresh Debian 11 (bullseye) system following this guide. Then I copied the config.xml file from my OMV5 installation, which worked exceptionally well. Or so I thought. I noticed from the beginning that the new OMV did not seem to have the yellow "apply changes" dialogue from OMV5. However, changes to shared folders and user privileges take a while to kick into effect. Now when I tried to change the user of a cron job and then running it to see if it worked I received the error below:

    Code
    Please apply the configuration changes first.
    
    OMV\Config\ConfigDirtyException: Please apply the configuration changes first. in /usr/share/openmediavault/engined/rpc/cron.inc:161
    Stack trace:
    #0 [internal function]: Engined\Rpc\Cron->execute(Array, Array)
    #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('execute', Array, Array)
    #3 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Cron', 'execute', Array, Array, 1)
    #4 {main}


    Now I'm suspecting that the "apply changes" dialogue should still show up but doesn't for some reason. I was able to fix the problem above by applying changes through SSH with the command mentioned here.:


    Code
    sudo /usr/sbin/omv-rpc -u admin "config" "applyChanges" "{ \"modules\": $(cat /var/lib/openmediavault/dirtymodules.json),\"force\": true }"



    But I would like to know why the GUI isn't showing me the dialogue. Any hints where I could start to look for the issue?

  • votdev

    Hat das Label OMV 6.x (alpha) hinzugefügt.
  • Refreshing the page worked! I don't get it. I closed and opened the page and restarted the machine several times before, which did nothing. The hostname wasn't showing, so I refreshed the page. Thanks for that extremely easy fix!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!