I get errors when i run a packages update

  • Use this:usermod -a -G openmediavault-admin admin this will put admin into the openmediavault-admin group too.

    The post id admin

    root@Jarvis:~# usermod -a -G openmediavault-admin admin

    root@Jarvis:~# id admin

    uid=998(admin) gid=100(users) groups=100(users),995(openmediavault-admin)

    root@Jarvis:~#

  • root@Jarvis:~# su admin

    This account is currently not available.

    root@Jarvis:~#


    there is something wrong with the admin user

    Seems to be by intention: admin:x:998:100:openmediavault WebGUI Administrator:/home/admin:/usr/sbin/nologin

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • thank you all for your help, now admin login is working I only have to resolve this error

    Error # 0:

    OMV \ AssertException: The property 'modules.mod_tls.nocertrequest' does not exist in the model 'conf.service.ftp'. in /usr/share/php/openmediavault/config/configobject.inc:71

    Stack trace:

    # 0 /usr/share/php/openmediavault/config/configobject.inc(187): OMV \ Config \ ConfigObject-> assertExists ('modules.mod_tls ...')

    # 1 /usr/share/php/openmediavault/config/configobject.inc(272): OMV \ Config \ ConfigObject-> set ('modules.mod_tls ...', '0', 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/module/proftpd.inc(40): OMV \ Config \ Database-> get ('conf.service.ft ...')

    # 5 /usr/share/openmediavault/engined/rpc/services.inc(60): Engined \ Module \ Proftpd-> getStatus ()

    # 6 [internal function]: Engined \ Rpc \ Services-> getStatus (Array, Array)

    # 7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array (Array, Array)

    # 8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV \ Rpc \ ServiceAbstract-> callMethod ('getStatus', Array, Array)

    # 9 / usr / sbin / omv-engined (537): OMV \ Rpc \ Rpc :: call ('Services', 'getStatus', Array, Array, 1)

    # 10 {main}

  • i get the following error when i try the update


    root @ Jarvis: ~ # apt-get update

    Get: 1 file: / var / cache / openmediavault / archives InRelease

    Ign: 1 file: / var / cache / openmediavault / archives InRelease

    Get: 2 files: / var / cache / openmediavault / archives Release [816 B]

    Err: 3 https://packages.openmediavault.org/public usul InRelease

    Temporary failure resolving 'packages.openmediavault.org'

    Err: 4 http://deb.debian.org/debian buster InRelease

    Temporary failure resolving 'deb.debian.org'

    Err: 5 http://deb.debian.org/debian buster-updates InRelease

    Temporary failure resolving 'deb.debian.org'

    Err: 6 http://security.debian.org/debian-security buster / updates InRelease

    Temporary failure resolving 'security.debian.org'

    Get: 2 files: / var / cache / openmediavault / archives Release [816 B]

    Get: 7 files: / var / cache / openmediavault / archives Release.gpg

    Ign: 7 files: / var / cache / openmediavault / archives Release.gpg

    Reading package lists ... Done

    W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org'

    W: Failed to fetch http://security.debian.org/deb…/buster/updates/InRelease Temporary failure resolving 'security.debian.org'

    W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org'

    W: Failed to fetch https://packages.openmediavaul…blic/dists/usul/InRelease Temporary failure resolving 'packages.openmediavault.org'

    W: Some index files failed to download. They have been ignored, or old ones used instead.

    root @ Jarvis: ~ #

  • Do not try to update upgrade, we need to get the system working before.

    Errors you posted indicate network / DNS problems.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • No you can run omv-salt stage run deploy to create all service configurations from config.xml

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Now I have these two errors to resolve, Samba is the most important one

    Thanks again for the support


    The property 'numproc' does not exist in the model 'conf.service.nfs'.

    The property 'localmaster' does not exist in the model 'conf.service.smb

  • Seems like some migrations did not run. What was the version number, you started from?

    You will have to run the migrations like above for all that is in between the one you started from and the lates.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Available configurations can be found here:

    /usr/share/openmediavault/confdb/migrations.d


    numproc has been removed in 5.0.3, so your system must have been older than that.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • This is the output

    root@Jarvis:/usr/share/openmediavault/confdb/migrations.d# ls

    README.md conf_0.6.11.sh conf_1.2.sh conf_3.0.15.sh conf_4.0.6.sh

    conf_0.5.0.21.sh conf_0.6.12.sh conf_1.9.sh conf_3.0.23.sh conf_5.0.0.sh

    conf_0.5.15.sh conf_0.6.sh conf_2.0.4.sh conf_3.0.37.sh conf_5.0.3.sh

    conf_0.5.26.sh conf_1.0.12.sh conf_2.0.6.sh conf_3.0.38.sh conf_5.2.0.sh

    conf_0.5.39.sh conf_1.0.24.sh conf_2.0.8.sh conf_3.0.68.sh conf_5.5.0.sh

    conf_0.5.8.sh conf_1.0.26.sh conf_3.0.11.sh conf_3.0.9.sh conf_5.5.3.sh

    conf_0.5.sh conf_1.0.29.sh conf_3.0.12.sh conf_4.0.17.sh conf_5.6.0.sh

    root@Jarvis:/usr/share/openmediavault/confdb/migrations.d#

  • So you need to run every migration between your initial version and 5.6.0 in the correct order


    ls -1 /usr/share/openmediavault/confdb/migrations.d | sort will help

    thenomv-confdbadm migrate conf <version_number>

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • root@Jarvis:/usr/share/openmediavault/confdb/migrations.d# ls -1 /usr/share/openmediavault/confdb/migrations.d | sort

    README.md

    conf_0.5.0.21.sh

    conf_0.5.15.sh

    conf_0.5.26.sh

    conf_0.5.39.sh

    conf_0.5.8.sh

    conf_0.5.sh

    conf_0.6.11.sh

    conf_0.6.12.sh

    conf_0.6.sh

    conf_1.0.12.sh

    conf_1.0.24.sh

    conf_1.0.26.sh

    conf_1.0.29.sh

    conf_1.2.sh

    conf_1.9.sh

    conf_2.0.4.sh

    conf_2.0.6.sh

    conf_2.0.8.sh

    conf_3.0.11.sh

    conf_3.0.12.sh

    conf_3.0.15.sh

    conf_3.0.23.sh

    conf_3.0.37.sh

    conf_3.0.38.sh

    conf_3.0.68.sh

    conf_3.0.9.sh

    conf_4.0.17.sh

    conf_4.0.6.sh

    conf_5.0.0.sh

    conf_5.0.3.sh

    conf_5.2.0.sh

    conf_5.5.0.sh

    conf_5.5.3.sh

    conf_5.6.0.sh

    root@Jarvis:/usr/share/openmediavault/confdb/migrations.d#

    can you give me an example on how to perform omv-confdbadm migrate conf <version_number>

    I don't want to make mistakes again


    Thanks

  • Having this file conf_5.0.0.sh so version number is 5.0.0

    you have to run omv-confdbadm migrate conf 5.0.0


    Then the next file is conf_5.0.3.sh so you run omv-confdbadm migrate conf 5.0.3


    and so on.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

Jetzt mitmachen!

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