Cannot save configuration after fresh installation

  • I have installed OMV on orange PI plus 2.
    Installed Debian using armbian first and using softy/OMV.


    now i cannot save configuration in web interface it gives the following error.


    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 collectd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable): Traceback (most recent call last): File "/usr/sbin/omv-salt", line 136, in <module> sys.exit(main()) File "/usr/sbin/omv-salt", line 132, in main cli() File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/usr/sbin/omv-salt", line 121, in deploy_run result = caller.cmd("state.orchestrate", names) File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2135, in cmd return self.sminion.functions[fun](*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/modules/state.py", line 359, in orchestrate pillarenv=pillarenv) File "/usr/lib/python3/dist-packages/salt/runners/state.py", line 128, in orchestrate orchestration_jid=orchestration_jid) File "/usr/lib/python3/dist-packages/salt/modules/state.py", line 1296, in sls initial_pillar=_get_initial_pillar(opts)) File "/usr/lib/python3/dist-packages/salt/state.py", line 4055, in __init__ self.client = salt.fileclient.get_file_client(self.opts) File "/usr/lib/python3/dist-packages/salt/fileclient.py", line 68, in get_file_client }.get(client, RemoteClient)(opts) File "/usr/lib/python3/dist-packages/salt/fileclient.py", line 1386, in __init__ self.channel = salt.fileserver.FSChan(opts) File "/usr/lib/python3/dist-packages/salt/fileserver/__init__.py", line 883, in __init__ self.fs.update() File "/usr/lib/python3/dist-packages/salt/fileserver/__init__.py", line 500, in update self.servers[fstr]() File "/usr/lib/python3/dist-packages/salt/fileserver/roots.py", line 166, in update line = salt.utils.stringutils.to_unicode(line) File "/usr/lib/python3/dist-packages/salt/utils/stringutils.py", line 142, in to_unicode return _normalize(to_str(s, encoding, errors)) File "/usr/lib/python3/dist-packages/salt/utils/stringutils.py", line 102, in to_str raise exc # pylint: disable=raising-bad-type File "/usr/lib/python3/dist-packages/salt/utils/stringutils.py", line 95, in to_str return _normalize(s.decode(enc, errors)) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 0: invalid start byte



    my system info





    pls help me resolve this issue.

    • Offizieller Beitrag

    Sorry, can't reproduce this and have no idea what is going wrong. What locale do you use?

  • I am having similar errors and it is due to salt.


    If I check file "/usr/lib/python3/dist-packages/salt/utils/path.py" at line 265

    Code: /usr/lib/python3/dist-packages/salt/utils/path.py
    if not isinstance(exes, collections.Iterable):


    that should use collections.abc to work without warnings.


    I believe salt team should make a complete rework on this area.
    Or OMV may try to ignore DeprecationWarning.


    Regards,
    Gabriele

  • I'm having a very similar issue on a fresh Raspbian install with a Raspberry Pi 4. Looks like salt is again the problem. It occurs when I try to enable SBM and apply the configuration change. Annoyingly, the SBM share works perfectly, but I can't apply the change.


    Anyone find a solution to this?

    • Offizieller Beitrag

    netbios name SHN-NAS-RASPBERRY-PI is not a valid netbios name

    Your hostname is too long.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Right you are! A clean install with a shorter host name did the trick!

    You could have just changed the hostname in System -> Network -> General tab.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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