Error when updating packet lists or doing an upgrade

  • I thought the upgrade to 6.0.21 broke it but after looking into it further by running a backup of 6.0.19 it was broken there too but I hadn't noticed it.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • I upgraded from 5 to 6 quite some time ago and this problem did not happen then. I wonder what triggered it later?

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • I upgraded from OMV5 to 6.0.27-1 today and had the same problem with the Plugins page not displaying the plugins, despite them being on the system, until I ran as recommended in this thread:

    Code
    /usr/sbin/omv-mkaptidx
    dpkg-divert --remove --rename /usr/sbin/omv-mkaptidx
    omv-mkaptidx

    All working now :) thank you all

    KnobblySnail


    OMV7, proxmox 6.14, on Asrock E3C224D2I, Xeon E3-1230Lv3, 16Gb, WD Red 3Tb x3 zfs, 480GB Samsung SM883 SSD, CoolerMaster V550S, in a Fractal Design Node 304

  • How do we get this fix made a part of the upgrade process? This killed me for MONTHS after my OMV6 upgrade.

    • Official Post

    How do we get this fix made a part of the upgrade process?

    It doesn't happen on most upgrade and is hard to detect especially in bash.


    This killed me for MONTHS after my OMV6 upgrade.

    How did it kill you? It would only prevent installing new plugins from the web interface.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.6 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    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!

  • It doesn't happen on most upgrade and is hard to detect especially in bash.


    How did it kill you? It would only prevent installing new plugins from the web interface.

    The upgrade messed with omvextras. I could not reinstall it. I was using LUKS and therefore could not mount the volume once I upgraded. It was a major pain and it would have been helpful for this step to be part of the upgrade process; as it seems non destructive, couldn't it be run regardless of detection?

    • Official Post

    The upgrade messed with omvextras

    The only thing it did is cause plugins to not show up in the web interface. You would have no problem installing omv-extras and omv-extras plugins from the command line. Since omv-extras can only be installed from the command line in OMV 6, this shouldn't have cause months of problems.


    it would have been helpful for this step to be part of the upgrade process; as it seems non destructive, couldn't it be run regardless of detection?

    Sure but it doesn't always fix the problem. If the upgrade fails before the divert, the file is overwritten by the upgrade process. So, running the divert command won't fix anything. That is why you will see many of my posts telling people to wget the file from the omv source code to fix. Running the wget from the upgrade script would be gross since it doesn't take into account any versioning. The upgrade process is a command line process and if it doesn't go smoothly, it is going to require command line fixes. No way around it.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.6 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    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 really have no idea, the JSON files look all good. Are there any errors reported by the browser when you activate the browser dev tools. In FireFox the relevant tab is called 'Console'.

    In my case the console gets almost stuck because it spams over and over again the same error:

    TypeError: t.pluginarchitecture is undefined

Participate now!

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