Upgrade error : openmediavault (4.1.13-1)

    • OMV 4.x
    • Update
    • OMV only supports the version that is shipped with the Debian system it is based on. You can check that version on packages.debian.org. For OMV4 you can check it here: packages.debian.org/stretch/python3
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • 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).
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • votdev wrote:

      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?
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • macom wrote:

      votdev wrote:

      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?
      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.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • 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
    • New

      Please execute the following command and post the output.

      Shell-Script

      1. # python3 -tt /usr/share/openmediavault/confdbadm/commands.d/create.py
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • New

      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'

      The post was edited 1 time, last by Gandalf1203 ().

    • New

      The error messages make sense, but nevertheless i'm really out of ideas what is going wrong on your system.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Upgrade error : openmediavault (4.1.13-1)

      New

      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
      ---------------------------------------------------------------------------------------------------------------------------------------
    • Users Online 1

      1 Guest