Apply changes in GUI takes a very long time.

  • Sorry ryecoaaron but if I try to purge isc-dhcp-client package I see this:


    I'd rather avoid doing that :)

    • Official Post

    My install of omv 6.0.40-2 takes 3 minutes to Apply changes, is that normal?

    This is even for a single change like enable/disable Rysync task.

    No. What is the output of: cat /var/lib/openmediavault/dirtymodules.json I bet it has hosts or hostname in it.

    omv 6.1.8-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

    • Official Post

    That's not normal is it?

    Sorry, I need to see the output before you click apply. The file will only have content when the apply bar is showing.

    omv 6.1.8-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • I need to see the output before you click apply

    I'm not exactly sure what you mean ryecoaaron

    I used cat /var/lib/openmediavault/dirtymodules.json command 3 times,

    1. before any change (no apply bar showing), output of cat none

    2. after a change is saved, ie rsync task, disable, save (apply bar showing), output of cat "rsync"

    3. after Apply changes finished (no apply bar showing), output of cat none.

    Is there another sequence I should do this ?

    Edited once, last by RonO: clarification ().

    • Official Post

    Is there another sequence I should do this ?

    Yep. In between your step 2 and 3


    Make change.

    Save Change. Don't click Apply

    cat /var/lib/openmediavault/dirtymodules.json

    Apply Change

    omv 6.1.8-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • oops, we crossed timing of your reply and my post #69 edit, my bad, sorry


    Make change.

    Save Change. Don't click Apply

    cat /var/lib/openmediavault/dirtymodules.json

    Apply Change

    This was the sequence I used, correct me if I'm wrong here (brain is very foggy, had flu for 2 weeks).

    • Official Post

    What about:

    sudo omv-salt deploy run hostname

    omv 6.1.8-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • What about:

    omv6 was at a state of no changes made/saved and Apply bar not showing

    sudo omv-salt deploy run hostname

    debian:

    ----------

    ID: configure_hostname

    Function: cmd.run

    Name: hostnamectl set-hostname "naso"

    Result: True

    Comment: unless condition is true

    Started: 09:58:50.552618

    Duration: 828.226 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 1

    Failed: 0

    ------------

    Total states run: 1

    Total run time: 828.226 ms

    • Official Post

    That was fast. How about this:


    sudo omv-salt deploy run nginx phpfpm

    omv 6.1.8-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • That was fast. How about this:


    sudo omv-salt deploy run nginx phpfpm

    I timed this run, 3:03 minutes in total, but omv-salt deploy run nginx phpfpm output total time = 2.401 s, huh!

    Previous omv-salt deploy run hostname run was about 3 minutes also.

    These are run from the WeTTY plugin cli, logged in as root.


    See attached omv-salt deploy run nginx phpfpm.txt


    I have to go out, catch u tomorrow Aaron, thanks for all this help, very very much appreciated.

    • Official Post

    Tomorrow, try:


    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare


    And then see if anything speeds up.

    omv 6.1.8-1 Shaitan | 64 bit | 6.1 proxmox kernel

    plugins :: omvextrasorg 6.1.1 | kvm 6.2.8 | compose 6.6.1 | cputemp 6.1.3 | mergerfs 6.3.5 | zfs 6.0.12


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


    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!

  • /usr/bin/salt-call --local saltutil.clear_cache

    Ran the above, run time = 1:23 minutes, output below

    local:

    True


    Next I done a test of a "Disable Rsync task, Save, Apply changes", run time = 3:00 minutes then got runtime error, (sorry missed copying displayed error, think it was run time error 500).

    omv-salt stage run prepare

    Ran the above, run time = 9:00 minutes, output in attached omv-salt stage run prepare.txt

    I was going to abort this test at 10 minutes, it just made it in ha.


    cat /var/lib/openmediavault/dirtymodules.json output = none still.


    Rebooted omv6

    Next I done a test of a "Disable Rsync task, Save, Apply changes", run time = 2:32 minutes to Apply changes

    Open WeTTY as root

    Next /usr/bin/salt-call --local saltutil.clear_cache, run time = 1:20 minutes to complete, output local: True

    Next omv-salt stage run prepare, run time = 7:44 minutes to complete, output see attached omv-salt stage run prepare 2.txt

    Next cat /var/lib/openmediavault/dirtymodules.json output = none still.

    Next Enable Rsync task, Save

    Next cat /var/lib/openmediavault/dirtymodules.json output = "rsync"

    Next Apply changes, run time = 2:31 minutes to Apply changes completion.

    Next cat /var/lib/openmediavault/dirtymodules.json output = none

Participate now!

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