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 :)

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • 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 ?

    Einmal editiert, zuletzt von RonO () aus folgendem Grund: clarification

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    What about:

    sudo omv-salt deploy run hostname

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • 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

    • Offizieller Beitrag

    That was fast. How about this:


    sudo omv-salt deploy run nginx phpfpm

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • 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.

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • /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

Jetzt mitmachen!

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