Unable to install openmediavault-virtualbox

  • Finally I decided to upgrade my OMV2 setup to OMV3. After omv-relase-upgrade and a few hiccups, my system is up, but I'm unable to install openmediavault-virtualbox. I'm running backports kernel (4.7.8-1~bpo8+1) and openmediavault-omvextrasorg 3.4.9 is installed.



    Any help is really appreciated.

    OMV 4.1 on Debian 10 @ HP Microserver gen8 [2x 256GB SSD ZFS mirror on root + 3x 8TB ZFS raidz1 pool]

    • Offizieller Beitrag

    You must have a virtualbox repo in /etc/apt/sources.list.d/ and/or the backports repo is not enabled.


    What is the output of: grep -E "backport|virtual" /etc/apt/sources.list.d/*

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Code
    #grep -E "backport|virtual" /etc/apt/sources.list.d/*
    /etc/apt/sources.list.d/omv-extras-org.list:deb http://httpredir.debian.org/debian jessie-backports main contrib
    /etc/apt/sources.list.d/virtualbox.list:deb http://download.virtualbox.org/virtualbox/debian jessie contrib

    OMV 4.1 on Debian 10 @ HP Microserver gen8 [2x 256GB SSD ZFS mirror on root + 3x 8TB ZFS raidz1 pool]

    • Offizieller Beitrag

    /etc/apt/sources.list.d/virtualbox.list is your problem. Remove it and try again.


    rm -f /etc/apt/sources.list.d/virtualbox.list
    apt-get update

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Hello, I'm having the exact issue described above (OMV 3.0.57) .


    I've found no virtualbox.list file


    The installation at home is a fresh install of 3.0.30, restored config.xml from a backup (pendrive crashed)
    Installed virtualbox again, working properly, upgraded to 3.0.56, and everything was working properly
    Then a power outage and virtualbox vms won't start due to error exit code 1.
    Uninstalled and installed again from vb5_install.sh and it failed on openmediavault-virtualbox package due to missing openmediavault user.
    Now I cannot install the plugin again from the plugins tab with the error described above.


    I Know it's a little bit of a mess, but I would like to know where should I head to install virtualbox again.


    Thanks!!

    • Offizieller Beitrag

    Uninstalled and installed again from vb5_install.sh and it failed on openmediavault-virtualbox package due to missing openmediavault user.

    This script is only for OMV 2.x.



    I Know it's a little bit of a mess, but I would like to know where should I head to install virtualbox again.

    You are lucky that restoring the config.xml worked. One small change could cause big problems. What is the output of: dpkg -l | grep -E "openm|virtual"

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Thanks, didn't know about the script:


    The output is:
    +


    Don't know if it helps. somehow I cannot reinstall backports kernel (just checking if there was a problem with that)


    root@one:~# omv-mkconf omvextras installbackports
    Install backports 4.7.0-0.bpo.1 kernel and headers
    Reading package lists... Done
    E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources

    • Offizieller Beitrag

    What is the output of: grep -ir backports /etc/apt/*

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Here it is


    grep -ir backports /etc/apt/*


    /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-3\.16\.0-4-amd64$";
    /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-4\.7\.0-0\.bpo\.1-amd64$";
    /etc/apt/apt.conf.d/01autoremove: "linux-backports-modules-.*";
    /etc/apt/preferences.d/99omv-extras-org:Pin: release n=erasmus-backports, origin dl.bintray.com
    /etc/apt/preferences.d/99omv-extras-org:Pin: release a=jessie-backports

    • Offizieller Beitrag

    You don't have the backports repo enabled in omv-extras. Enable it and upgrade to the latest omv-extras as well. The 4.8 kernel just came out meaning the 4.7 kernel is pulled. The latest omv-extras is updated to install the 4.8 kernel.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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 have omv-extras and omv-extras testing enabled. did the latest upgrade of the omv-extras 3.4.12 and still fails


    root@one:~# omv-mkconf omvextras installbackports
    Install backports 4.8.0-0.bpo.2 kernel and headers
    Reading package lists... Done
    E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources



    root@one:~# grep -ir backports /etc/apt/*
    /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-4\.7\.0-0\.bpo\.1-amd64$";
    /etc/apt/apt.conf.d/01autoremove: "linux-backports-modules-.*";
    /etc/apt/preferences.d/99omv-extras-org:Pin: release n=erasmus-backports, origin dl.bintray.com
    /etc/apt/preferences.d/99omv-extras-org:Pin: release a=jessie-backports
    /etc/apt/sources.list.d/omv-extras-org.list:# Debian Backports
    /etc/apt/sources.list.d/omv-extras-org.list:deb http://httpredir.debian.org/debian jessie-backports main contrib


    PS: I have no problems on resetting something if you think so.

    • Offizieller Beitrag

    What is the output of: omv-aptclean

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • very strange, I have just boot up my test VM setup
    and had run all updates and upgrades with no issues
    even installed the new 4.8 backport over 4.7
    rebooting as I type this.

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

    • Offizieller Beitrag

    I didn't have any problems on three systems either. This usually happens when something on the system is messed up or another conflicting repo has been added.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Ok, now on kernel 4.8, removed 4.7 to avoid errors building vbox modules but I cannot login to phpvirtualbox nor list the running vms in the UI


    I get the following error if I install openmediavault-virtualbox from the console:


    Selecting previously unselected package openmediavault-virtualbox.
    (Reading database ... 108220 files and directories currently installed.)
    Preparing to unpack .../openmediavault-virtualbox_3.0.6_all.deb ...
    Unpacking openmediavault-virtualbox (3.0.6) ...
    Processing triggers for openmediavault (3.0.57) ...
    Restarting engine daemon ...
    Setting up openmediavault-virtualbox (3.0.6) ...
    vbox:x:997:123::/var/lib/vbox:/bin/sh
    chown: cannot access ‘/etc/default/openmediavault-virtualbox’: No such file or directory
    dpkg: error processing package openmediavault-virtualbox (--configure):
    subprocess installed post-installation script returned error exit status 1
    Processing triggers for openmediavault (3.0.57) ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-virtualbox
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    • Offizieller Beitrag

    Uninstall the plugin and virtualbox
    delete the vbox user
    delete /etc/default/openmediavault-virtualbox and /etc/default/virtualbox
    Reboot
    Reinstall

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

    Einmal editiert, zuletzt von ryecoaaron ()

  • Thanks for your help!!!!!, I did leave in place /etc/default/openmediavault, otherwise console access broke and even an apt-get install --reinstall openmediavault wouldn't solve it


    After installation, enabled the service but it did not allowed vms to start, a modprobe vboxdrv and modprobe vboxnetflt did the trick.


    I rebooted and vboxnetflt won't load on startup and vms wont start. a modprobe vboxnetflt allows vms to start, I'm looking into how to make it load on startup.



    Update: Edited /etc/default/virtualbox, added LOAD_VBOXDRV_MODULE=1 and now it's working everything as expected
    Thanks again everyone for the help, the patience and the assistance, and also the knowledge I've got during this troubleshooting from your tips.

    • Offizieller Beitrag

    Sorry /etc/default/openmediavault was a typo. I meant /etc/default/virtualbox. Glad it works.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    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!

Jetzt mitmachen!

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