Upgrade 2.x -> 3.x with ZFS plugin installed

  • Hi,


    zfs on linux support for debian wheezy has been discontinued (http://list.zfsonlinux.org/pip…2016-December/026742.html). So I have to upgrade to OMV 3.x.


    Because of the none existent zfs repository apt-get throws an error and omv-release-upgrade fails.
    Anyone knows how to performe the following steps:


    1) clean deinstall of zfs plugin
    2) upgrade omv
    3) reinstall zfs plugin


    I tryied to deinstall the plugin via web interfaces without success. I looks like there are some leftovers...


    Thanks in advance!

    • Offizieller Beitrag

    Because of the none existent zfs repository apt-get throws an error and omv-release-upgrade fails.

    What non-existent repo? The zfs repo in OMV 3.x? Just disable the zfs repos in OMV 3.x since the zfs plugin is in the regular repo in OMV 3.x.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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'm talking about the zfs on linux packagerepository. I did the following

    My plan was to deinstall the zfs plugin, upgrade omv and to reinstall the zfs plugin afterwards. But this didn't work either. Any suggestions?

    • Offizieller Beitrag

    Any suggestions?

    We don't use zfsonlinux repo with OMV 3.x since the packages in the Debian repo themselves work well and are generally newer. That is why I said disable the omv-extras zfs repo on OMV 2.x. There is no separate omv-extras zfs repos in omv 3.x. You shouldn't have to uninstall the plugin either.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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!

  • ah ok got that wrong. Thanks for the hint. Now the upgrade starts but I got stuck at this point:


    Is there a way to fix this manually ?

    • Offizieller Beitrag

    Try
    apt-get -f install


    if that doesn't work, try:
    apt-get install postfix bsd-mailx


    if that works, then
    apt-get install openmediavault


    if that works then
    wget http://omv-extras.org/omvextras3.deb
    dpkg -i omvextras3.deb

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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!

  • thanks for your reply. But "-f install" gave me a bunch of errors:

    • Offizieller Beitrag

    Since you are getting the dbus error, you need to reboot (no way around this) and then restart installation with apt-get -f install

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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!

  • Thanks for your help ryecoaaron but still wasnt able to complete the upgrade. I started over (OMV is running as a VM, a reverted to a clean snapshot).


    Here is the protocol of the upgrade process:


    1. I started with removing problematic components

    • open-vm-tools (VMWare tools) including the dkms modules
    • custom ZFS repo


    2. omv-release-upgrade which gave me the following errors:



    3. reboot
    4. as suggested: apt-get install postfix bsd-mailx

    • I chose no configuration during setup for postfix, is this correct?
    • the configuration of the openmediavault installer was triggered automatically and finished without errors

    5. omv-initsystem terminated with an error:


    Code
    ERROR: '/var/lib/rrdcached/db//localhost/df-zfs_root-fs_documents/df_complex-free.rrd' is not an RRD file
    run-parts: /usr/share/openmediavault/initsystem/99rrd exited with return code 1


    The webui is back online but i can't login:




    Any ideas?

    • Offizieller Beitrag

    You might have a plugin that is not the right version for OMV 3.x. Post the output of: dpkg -l | grep openm


    If they are all version 3+ (except openmediavault-keyring), then try:


    As root: monit stop omv-engined


    then put engined in debug mode: omv-engined -df


    Try logging in to the web interface and see if there are any errors

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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!

  • thanks for your reply. I think I found the problem

    Code
    openmediavault-zfs                  2.1.0                                   amd64        OpenMediaVault plugin for ZFS


    I tried to update the Plugin with "apt-get install openmediavault-zfs"
    But this gave me a bunch of errors (see below). Nevertheless the GUI is up and running again. Should I worry about thos erros?


    • Offizieller Beitrag

    I would apt-get clean and then try again. If that doesn't work, you should probably remove the zfs plugin and reinstall - apt-get purge openmediavault-zfs

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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

    Probably. Uninstall all of the zfs packages and reinstall.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | 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!

Jetzt mitmachen!

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