Problem save OMV5.5.23-1(Usull)

  • Good morning all,


    When I open my OMV5 interface, without doing anything I have the top banner message want you to save the changes
    if I click on yes, I have this error message below, if I put no nothing happens.
    i disabled all smb, nfs ssh etc services and wanted to uncheck all the services checked in notification, and i still get the same error message when i click yes, i can't edit.
    I can't even enter my email.


    then I wanted to reactivate the services, nfs ok, ssh ok, but ftp I can not always get this error message when I want to save the settings and on smb when wanting to reactivate now I have this message "The DNS hostname is limited to 15 characters when using SMB / CIFS. "
    i went to omv-fistaid i did cleanweb, clean apt and cleanlocal, but i still have the problem.

    thanks for your advices






    Erreur #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color monit 2>&1' with exit code '1': debian: Data failed to compile:
    ---------- Rendering SLS 'base:omv.deploy.monit.default' failed: Jinja error: tls: Invalid value '0', allowed values are 'none, ssl, starttls, auto'.
    Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 498, in render_jinja_tmpl output = template.render(**decoded_context) File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "<template>", line 37, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get objs = db.get(id_, identifier) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get query.execute() File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 724, in execute self._response = self._elements_to_object(elements) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 485, in _elements_to_object result.validate() File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 236, in validate self.model.validate(self.get_dict()) File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 202, in validate self.schema.validate(data) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 175, in validate self._validate_type(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 200, in _validate_type self._validate_object(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 305, in _validate_object self._check_properties(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 519, in _check_properties self._validate_type(value[propk], propv, path) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type raise last_exception File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 209, in _validate_type self._validate_string(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 284, in _validate_string self._check_enum(value, schema, name) File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 475, in _check_enum % (valuev, ", ".join(map(str, schema['enum']))),
    openmediavault.json.schema.SchemaValidationException: tls: Invalid value '0', allowed values are 'none, ssl, starttls, auto'.

    ; line 37

    ---
    [...]
    # http://www.debianadmin.com/mon…-servers-using-monit.html
    # http://www.uibk.ac.at/zid/systeme/linux/monit.html
    # http://wiki.ubuntuusers.de/Monit
    # http://viktorpetersson.com/201…-and-postgresql-on-ubuntu

    {% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================

    configure_default_monit: file.managed: - name: "/etc/default/monit" - contents:
    [...]
    --- in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusLq...', '/tmp/bgoutputAe...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}

  • YESSSSSSSSSSSS it's ok!!!


    thank you very much!!!!


    root@openmediavault:~# omv-confdbadm migrate conf 5.2.0

    Running migration conf_5.2.0

    Running migration conf_5.5.0

    Running migration conf_5.5.3

    WARNING: The node 'clients' already exists at XPath '/config/system/time/ntp'



    just one error when wanting to reactivate SMB now I have this message "The DNS hostname is limited to 15 characters when using SMB / CIFS. "

  • when run omv-upadte from cli


    i have a errors


    root@OMV:~# omv-update

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

    Could not resolve 'deb.debian.org'

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

    Could not resolve 'deb.debian.org'

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

    Could not resolve 'security.debian.org'

    Err:4 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease

    Could not resolve 'dl.bintray.com'

    Err:5 https://dl.bintray.com/openmed…in-developers/usul-extras buster InRelease

    Could not resolve 'dl.bintray.com'

    Err:6 https://download.docker.com/linux/debian buster InRelease

    Could not resolve 'download.docker.com'

    Err:7 http://linux.teamviewer.com/deb stable InRelease

    Could not resolve 'linux.teamviewer.com'

    Err:8 http://httpredir.debian.org/debian buster-backports InRelease

    Could not resolve 'httpredir.debian.org'

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

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

    Err:10 http://packages.openmediavault.org/public usul InRelease

    Could not resolve 'packages.openmediavault.org'

    Err:11 https://openmediavault.github.io/packages usul InRelease

    Could not resolve 'openmediavault.github.io'

    Get:12 file:/var/cache/openmediavault/archives Release

    Ign:12 file:/var/cache/openmediavault/archives Release

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Ign:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Get:13 file:/var/cache/openmediavault/archives Packages

    Get:14 file:/var/cache/openmediavault/archives Translation-en

    Ign:14 file:/var/cache/openmediavault/archives Translation-en

    Reading package lists... Done

    W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Could not resolve 'deb.debian.org'

    W: Failed to fetch http://security.debian.org/deb…/buster/updates/InRelease Could not resolve 'security.debian.org'

    W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Could not resolve 'deb.debian.org'

    W: Failed to fetch https://dl.bintray.com/openmed…ul/dists/buster/InRelease Could not resolve 'dl.bintray.com'

    W: Failed to fetch https://download.docker.com/li…an/dists/buster/InRelease Could not resolve 'download.docker.com'

    W: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease Could not resolve 'linux.teamviewer.com'

    W: Failed to fetch https://dl.bintray.com/openmed…as/dists/buster/InRelease Could not resolve 'dl.bintray.com'

    W: Failed to fetch http://httpredir.debian.org/de…uster-backports/InRelease Could not resolve 'httpredir.debian.org'

    W: Failed to fetch http://packages.openmediavault…blic/dists/usul/InRelease Could not resolve 'packages.openmediavault.org'

    W: Failed to fetch https://openmediavault.github.…ages/dists/usul/InRelease Could not resolve 'openmediavault.github.io'

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

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Calculating upgrade... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    root@OMV:~#

Participate now!

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