Error applying "pendig configuration changes" after upgrade

  • Hi Forum !


    Upgrade from OMV 6.x to 7 went w/o errors, system booted sucessfully, login to GUI w/o problems.

    I immediately got the request to apply pending configuration changes. Doing so, this ended in a lengthy failure message.


    Shortened (full message attached):

    Somehow the command "monit" failed - wat went wrong here?


    Otherwise, the system seemed to work properly, so I was successfully able to import my zfs pool.

    Then, I realized that I could not mount my NFS shares from my client. The entries under "/services/NFS/settings" and "/services/NFS/shares" seem to be ok, however under "/Diagnostics/Services/NFS" I get the message "Error, please apply configuration changes first"- which closes the circle.


    Kind Regards,


    Wumpus (Sven H.)

  • Upgrade from OMV 6.x to 7 went w/o errors, system booted sucessfully, login to GUI w/o problems.

    Can you run and post the output of the fix6to7upgrade script:

    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/fix6to7upgrade | sudo bash


    As for the error you had:

    Code
    [ERROR   ] Command 'monit' failed with return code: 1
    [ERROR   ] stdout: Unix socket /run/monit.sock connection error -- No such file or directory

    It seems the /run folder wasn't created or available at the time the error occured.

    Create it with sudo mkdir -p /run and run sudo omv-salt deploy run monit


    Post any output.

  • I reverted to OMV 6 from a backup I made just before starting the 1st upgrade, and restarted the upgrade process.

    Again, after applying this patch (sorry forgot to mention above), the upgrade process finished w/o apparent failures.


    Upon logging in, I got the expected request to apply pending configuration changes, and again this ended in a lengthy failure message - however, unfortunately a completely different one :( (shortened, full log attached):

    I am just thinking about what I did different, but I think I didn't. I also do not remeber I changed anything of the installation by hand.


    I run the script as recommended by Soma, the output is attached.


    Well, the configuration is not too complicated, maybe it is time to just re-install and redo the config :/.


    Regards, Wumpus

  • Upon logging in, I got the expected request to apply pending configuration changes, and again this ended in a lengthy failure message - however, unfortunately a completely different one

    Without knowing much about how to interpret "Stack Traces", what I see there is it's complaining about a missing a FileSystem:

    Code
        raise DatabaseQueryNotFoundException(
    openmediavault.config.database.DatabaseQueryNotFoundException: No such object: //system/fstab/mntent[uuid='cb9490fb-3cd3-469b-820f-7ef63648f102']

    Do you have every disks attached that belong there OR did you removed any?

    What is the output of:
    sudo grep - C 5 cb9490fb /etc/openmediavault/config.xml

  • Hi Soma,


    that was a good hint, thank you :thumbup:!


    The output of the grep pointed be to a mounting point of a filesystem of my zfs data pool - which was not there, 'cause I'd forgotten to import the volume prior applying the changes. Now, I assume that I made the "outstanding" mistake to not have the pool re-imported after reverting to OMV 6 from backup, and to start the second upgrade attempt with this zfs pool not existing, but configuration referring to it - oooops <X .

    Will try that again, this time with active pool.


    Regards, Wumpus

  • Hi all,


    this time the backup succeeded - completely, even w/o the first issue reported. I don't know exactly I did different compared to the 1st try, but it is ok now.

    Nevertheless, Soma than you very much for trying to help :) !

  • Wumpus

    Added the Label resolved

Participate now!

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