Upgrade error : openmediavault (4.1.13-1)

  • OMV does not support the import/export of config settings. But if you use the config file of the same OMV version you could simply copy the /etc/openmediavault/config.xml file. Note that no servive is started/stopped or service configuration is generated automatically. You have to do that all manually (that feature comes with OMV5).

  • But if you use the config file of the same OMV version you could simply copy the /etc/openmediavault/config.xml file. Note that no servive is started/stopped or service configuration is generated automatically. You have to do that all manually

    Does that mean, you could copy the config.xml and then run omv-mkconf for each service and you are done?

  • Does that mean, you could copy the config.xml and then run omv-mkconf for each service and you are done?

    Sadly not. The config is generated, but the service is not started or stopped based on the config. You need to do that manually. And again, in OMV5 this will be one command: 'omv-salt stage run deploy' :-). But it takes some time until OMV5 is done. But this shows me i'm on the right way.

  • Hi Merlinux,


    The same error msg as me:
    #
    Setting up openmediavault (4.1.13-1) ...
    Updating configuration database ...
    ERROR: Failed to create the default configuration: 'Command' object has no attribute 'create_backup'
    Traceback (most recent call last):
    File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 65, in execute
    self.create_backup()
    AttributeError: 'Command' object has no attribute 'create_backup'
    #


    Which version of python do you run ?


    kind regards

  • Thx for trying to help !


    python3 -tt /usr/share/openmediavault/confdbadm/commands.d/create.py
    Traceback (most recent call last):
    File "/usr/share/openmediavault/confdbadm/commands.d/create.py", line 83, in <module>
    if not command.validate_args(*sys.argv):
    AttributeError: 'Command' object has no attribute 'validate_args'

  • Did you try setup your omv4 from scratch?


    If I were you I would try that, instead of waiting for omv5. ;)


    Regards Hoppel

    ---------------------------------------------------------------------------------------------------------------
    frontend software - tvos | android tv | libreelec | win10 | kodi krypton
    frontend hardware - appletv 4k | nvidia shield tv | odroid c2 | yamaha rx-a1020 | quadral chromium style 5.1 | samsung le40-a789r2
    -------------------------------------------
    backend software - debian | openmediavault | latest backport kernel | zfs raid-z2 | docker | emby | unifi | vdr | tvheadend | fhem
    backend hardware - supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

  • That's why like to wait on this system for the omv 5 and then do an update.

    Please don't try to update a broken system to OMV 5.x. It probably won't fix this very strange issue.

    omv 6.0.5-2 Shaitan | 64 bit | 5.13 proxmox kernel | omvextrasorg 6.0.4 | kvm plugin 6.0
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thx for the hint.


    I have a backup in case something went wrong. But how is the best way to copy the omv4 config to a fresh system then ?
    You mentioned that omv will have such a feature but it's not ready yet.


    Fair enough so I will wait.


    Keep up your great work and thank you for your patient


    regards

  • But how is the best way to copy the omv4 config to a fresh system then ?

    You can't. You will have to manually setup everything again.

    omv 6.0.5-2 Shaitan | 64 bit | 5.13 proxmox kernel | omvextrasorg 6.0.4 | kvm plugin 6.0
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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