Problem with upgrade from OMV4 to OMV5

  • Hi all,


    I recently upgraded from OMV 4 to 5 following the below procedure:


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

    reboot


    apt-get purge openmediavault-omvextrasorg resolvconf

    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

    apt-get update

    apt-get dist-upgrade

    omv-salt deploy run nginx

    omv-salt deploy run phpfpm

    apt-get install usrmerge

    omv-confdbadm migrate conf 5.0.0


    Besides my file systems being missing (which might be a hardware issue, already had random dismounts on OMV4), when I go into omv-extras I get the following error:


    The property 'repos.repo.0.uuid' does not exist in the model 'conf.system.omvextras'.

    Error #0:
    OMV\AssertException: The property 'repos.repo.0.uuid' does not exist in the model 'conf.system.omvextras'. in /usr/share/php/openmediavault/config/configobject.inc:71
    Stack trace:
    #0 /usr/share/php/openmediavault/config/configobject.inc(187): OMV\Config\ConfigObject->assertExists('repos.repo.0.uu...')
    #1 /usr/share/php/openmediavault/config/configobject.inc(272): OMV\Config\ConfigObject->set('repos.repo.0.uu...', 'eafccbb8-0e48-1...', false)
    #2 /usr/share/php/openmediavault/config/configobject.inc(234): OMV\Config\ConfigObject->setFlatAssoc(Array, false, false)
    #3 /usr/share/php/openmediavault/config/database.inc(99): OMV\Config\ConfigObject->setAssoc(Array, false)
    #4 /usr/share/openmediavault/engined/rpc/omvextras.inc(98): OMV\Config\Database->get('conf.system.omv...')
    #5 [internal function]: OMVRpcServiceOmvExtras->getDocker(NULL, Array)
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getDocker', NULL, Array)
    #8 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('OmvExtras', 'getDocker', NULL, Array, 1)
    #9 {main}


    Additional info to my issue (followed the command lines from another thread with what seems to be a similar issue)


    root@MegaNAS:~# dpkg -l | grep openm

    iF openmediavault 5.6.13-1 all openmediavault - The open network attached storage solution

    ii openmediavault-flashmemory 4.2.2 all folder2ram plugin for OpenMediaVault

    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive

    iU openmediavault-omvextrasorg 5.6.2 all OMV-Extras.org Package Repositories for OpenMediaVault

    ii openmediavault-plexmediaserver 3.8.2 all OpenMediaVault Plex Media Server plugin

    ii openmediavault-resetperms 3.3 all Reset Permissions

    root@MegaNAS:~#


    root@MegaNAS:~# sudo grep -iEw "numproc|recursive|localmaster" /etc/openmediavault/config.xml

    <recursive>1</recursive>

    root@MegaNAS:~#


    Tried several reboots, as well as different browsers without any success. Using an Odroid XU4, not sure if thats related.


    Hope someone has any ideas

    • Offizieller Beitrag

    While it's possible to upgrade, I'm not a fan of it. If an existing install has an issue, that problem is carried over into the next version. For this reason alone, a fresh build with installing a new version, every 4 or 5 years, is a good idea.

    Setting the above aside; the hardware OMV is installed on varies widely, along with numerous user customizations and software add-on's. Accordingly, the script and upgrade process is not "guaranteed". Further, trying to reverse engineer what might have went wrong in an upgrade can take a lot of time and the exact reason for a problem might never be discovered.

    For these reasons and more, I'd recommend building from scratch. This assures a clean install. Your call.
    ______________________________________________________________________

    Perhaps others may have useful input regarding your specific error(s).

Jetzt mitmachen!

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