Missing plugin after OMV7 upgrade

  • Hi, I upgraded from OMV6 to 7 which went well, apart from running into an issue with the latest kernel and NVIDIA drivers so I have to boot using an old kernel, oh and that 502 bad gateway error. Solved the gateway error from a bit of searching on this forum, thanks eveyone who posted and gave me the info to fix that issue.


    However I couldn't see openmediavault-md in the plugin list so had to install manually so at least I have access to my raid arrays now.


    I was wondering what else I might be missing as part of the upgrade and how to check?


    Thanks

    Jeremy

  • KM0201

    Approved the thread.
  • I was wondering what else I might be missing as part of the upgrade and how to check?

    Outputs inside CODE boxes (symbol </> of the BLUE ribbon) of:


    dpkg -l | grep openm


    sudo omv-upgrade

  • Thanks for your swift relies. Results below.


    root@js-nas1:~# dpkg -l | grep openm

    ii openmediavault 7.0.1-1 all openmediavault - The open network attached storage solution

    ii openmediavault-backup 7.0 all backup plugin for OpenMediaVault.

    ii openmediavault-compose 7.0.10 all OpenMediaVault compose plugin

    ii openmediavault-cputemp 7.0 all cpu temperature plugin for openmediavault

    ii openmediavault-keyring 1.0.2-2 all GnuPG archive keys of the openmediavault archive

    ii openmediavault-md 7.0-6 all openmediavault Linux MD (Multiple Device) plugin

    ii openmediavault-omvextrasorg 7.0 all OMV-Extras.org Package Repositories for OpenMediaVault

    ii openmediavault-onedrive 7.0-3 all openmediavault OneDrive plugin

    ii openmediavault-sharerootfs 7.0-1 all openmediavault share root filesystem plugin

    ii openmediavault-symlinks 7.0 all OpenMediaVault symlinks plugin

    ii openmediavault-wetty 7.0-2 all openmediavault WeTTY (Web + TTY) plugin


    Everything I have installed is there and running v7 plugins, I only see v6 in the plugins section of the WEBUI and no openmediavault-md.


    root@js-nas1:~# sudo omv-upgrade

    Get:1 file:/var/cuda-repo-debian11-12-2-local InRelease [1572 B]

    Get:2 file:/var/cache/openmediavault/archives InRelease

    Ign:2 file:/var/cache/openmediavault/archives InRelease

    Get:3 file:/var/cache/openmediavault/archives Release

    Ign:3 file:/var/cache/openmediavault/archives Release

    Get:1 file:/var/cuda-repo-debian11-12-2-local InRelease [1572 B]

    Get:4 file:/var/cache/openmediavault/archives Packages

    Ign:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:4 file:/var/cache/openmediavault/archives Packages

    Ign:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:4 file:/var/cache/openmediavault/archives Packages

    Ign:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:4 file:/var/cache/openmediavault/archives Packages

    Ign:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:4 file:/var/cache/openmediavault/archives Packages

    Ign:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:4 file:/var/cache/openmediavault/archives Packages

    Ign:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:4 file:/var/cache/openmediavault/archives Packages

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:6 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]

    Hit:7 http://deb.debian.org/debian bookworm InRelease

    Get:8 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]

    Hit:9 http://packages.openmediavault.org/public sandworm InRelease

    Hit:10 https://nvidia.github.io/libnv…ontainer/stable/deb/amd64 InRelease

    Hit:11 https://nvidia.github.io/libnv…ner/stable/debian10/amd64 InRelease

    Hit:12 https://openmediavault-plugin-…github.io/packages/debian sandworm InRelease

    Hit:13 https://openmediavault.github.io/packages sandworm InRelease

    Get:14 http://httpredir.debian.org/debian bookworm-backports InRelease [56.5 kB]

    Hit:15 https://download.docker.com/linux/debian bookworm InRelease

    Hit:16 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease

    Hit:17 https://developer.download.nvi…uda/repos/debian11/x86_64 InRelease

    Fetched 160 kB in 6s (27.5 kB/s)

    Reading package lists... Done

    W: https://packages.cloud.google.…edgetpu-stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    Calculating upgrade... Done

    The following packages will be upgraded:

    openmediavault

    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    3 not fully installed or removed.

    Need to get 0 B/3010 kB of archives.

    After this operation, 3072 B of additional disk space will be used.

    apt-listchanges: Reading changelogs...

    apt-listchanges: Changelogs

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


    openmediavault (7.0.2-1) stable; urgency=low


    * Issue #1725: Add search field to shared folder page.


    -- Volker Theile <volker.theile@openmediavault.org> Sat, 09 Mar 2024 16:48:27 +0100


    apt-listchanges: Mailing root: apt-listchanges: changelogs for js-nas1

    Preconfiguring packages ...

    (Reading database ... 129688 files and directories currently installed.)

    Preparing to unpack .../openmediavault_7.0.2-1_all.deb ...

    Unpacking openmediavault (7.0.2-1) over (7.0.1-1) ...

    Setting up openmediavault (7.0.2-1) ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    /usr/lib/python3/dist-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi

    /usr/lib/python3/dist-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13

    import pipes

    /usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead

    ) = locale.getdefaultlocale()

    /usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead

    ) = locale.getdefaultlocale()

    /usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead

    ) = locale.getdefaultlocale()

    /usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead

    ) = locale.getdefaultlocale()

    /usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead

    ) = locale.getdefaultlocale()

    /usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead

    ) = locale.getdefaultlocale()

    Processing system modifications ...

    Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...

    /etc/kernel/header_postinst.d/dkms:

    dkms: running auto installation service for kernel 6.1.0-18-amd64.

    Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file

    Signing key: /var/lib/dkms/mok.key

    Public certificate (MOK): /var/lib/dkms/mok.pub


    Building module:

    Cleaning build area...

    unset ARCH; env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.1.0-18-amd64........(bad exit status: 2)

    Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)

    Consult /var/lib/dkms/nvidia-current/535.104.05/build/make.log for more information.

    Error! One or more modules failed to install during autoinstall.

    Refer to previous errors for more information.

    dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!

    run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11

    Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.

    dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):

    installed linux-headers-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1

    dpkg: dependency problems prevent configuration of linux-headers-amd64:

    linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:

    Package linux-headers-6.1.0-18-amd64 is not configured yet.


    dpkg: error processing package linux-headers-amd64 (--configure):

    dependency problems - leaving unconfigured

    dpkg: dependency problems prevent configuration of gasket-dkms:

    gasket-dkms depends on linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers; however:

    Package linux-headers-686-pae is not installed.

    Package linux-headers-amd64 is not configured yet.

    Package linux-headers-generic is not installed.

    Package linux-headers-amd64 which provides linux-headers-generic is not configured yet.

    Package linux-headers is not installed.


    dpkg: error processing package gasket-dkms (--configure):

    dependency problems - leaving unconfigured

    Processing triggers for rsyslog (8.2302.0-1) ...

    Processing triggers for openmediavault (7.0.2-1) ...

    Restarting engine daemon ...

    Updating workbench configuration files ...

    Errors were encountered while processing:

    linux-headers-6.1.0-18-amd64

    linux-headers-amd64

    gasket-dkms

    E: Sub-process /usr/bin/dpkg returned an error code (1)


    I'm running kernel 6.1.0-0-amd64 not -18 as that conflicts with nvidia drviers, I will once they work together properly, apparantly nvidia has a firx in the works. That's why there is the error on the build.


    root@js-nas1:~# head /usr/sbin/omv-mkaptidx

    #!/bin/sh

    exit 0

  • macom

    Added the Label resolved
  • macom

    Added the Label OMV 7.x
  • macom

    Added the Label Upgrade 6.x -> 7.x
  • unable to Reslove host addess

    Hardware : Cpu: Amd Athlon IIX4 620 Motherboard: N/A

    Ram :4 Gigs Ram

    Expantion Cards :


    Open Media Version:7.0.32 Sandman

  • Thank you for this thread... After DNS and ethernet configuration loss during update, this was the last problem and I turn around a long time.

  • The script runs smoothly up until this point, but then it throws an error as shown below.


    I tried twice to run, and results were the same.


    Additionally, I continue to receive a "bad gateway" error. If anyone has any suggestions, I would greatly appreciate your help.


    Thank you very much in advance!

  • Hi, I still can't login OpenMediaVault web, rest works fine. As web server, Dockers and so on.


    Some commands asked befor is like these;


    dpkg -l | grep -E "openme|salt"


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

    Code
    root@tas:~# sudo /usr/bin/salt-call --local saltutil.clear_cache
    local:
        True


    sudo omv-salt stage run prepare

  • sudo systemctl status openmediavault-engined

  • sudo omv-salt deploy run nginx phpfpm


  • salt-call user.list_users

    root@tas:~# omv-confdbadm read conf.system.usermngmnt.user --prettify

    a

  • Are you able to reach the GUI now?

    YES

    you are the best :)

    Thank you so much

    Why did you post the other commands?

    I was researching and saw similar issue here, and add those information.

Participate now!

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