Beiträge von pgk831

    If you want to use omv-extra you found big mistakes and error... So i leave OMV i don't have time and fight every day... Here some admin or moderator can say just reinstall your system because there is no any cloue what is the problem... So thank you that's it. Yesterday i give the last chance to OMV 6.5 but when install the OMV-extra you don't have docker and if you install and after uninstall a plugin its gone forever... :D You can find only the installed plugins... Crazy!!!

    Hi,


    Anybody has any idea what is the problem? I cant install, upgrade anything on the server. Every time i get this error.


    Thank you


    root@omv:~# apt-get install --reinstall openmediavault

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    The following packages will be upgraded:

    openmediavault

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

    1 not fully installed or removed.

    Need to get 2,599 kB of archives.

    After this operation, 34.8 kB disk space will be freed.

    Get:1 http://packages.openmediavault.org/public shaitan/main amd64 openmediavault all 6.3.10-2 [2,599 kB]

    Fetched 2,599 kB in 1s (1,853 kB/s)

    Preconfiguring packages ...

    (Reading database ... 52928 files and directories currently installed.)

    Preparing to unpack .../openmediavault_6.3.10-2_all.deb ...

    Unpacking openmediavault (6.3.10-2) over (6.3.9-1) ...

    Setting up openmediavault (6.3.10-2) ...

    Installing new version of config file /etc/cron.daily/openmediavault-check_btrfs_errors ...

    Installing new version of config file /etc/udev/rules.d/61-openmediavault-dev-disk-by-id.rules ...

    Creating configuration database ...

    Migrating configuration database ...

    Running migration conf_6.3.2

    INFO: The node 'hidden' already exists at XPath '/config/system/network/interfaces/interface'.

    Running migration conf_6.3.3

    INFO: The node 'routemetric' already exists at XPath '/config/system/network/interfaces/interface'.

    INFO: The node 'routemetric6' already exists at XPath '/config/system/network/interfaces/interface'.

    Setting up Salt environment ...

    [ERROR ] 'EntryPoints' object has no attribute 'items'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'

    [ERROR ] An un-handled exception was caught by salt's global exception handler:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/bin/salt-call", line 11, in <module>

    load_entry_point('salt==3003', 'console_scripts', 'salt-call')()

    File "/usr/lib/python3/dist-packages/salt/scripts.py", line 449, in salt_call

    client.run()

    File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 22, in run

    self.parse_args()

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 215, in parse_args

    mixin_after_parsed_func, traceback.format_exc(err)

    File "/usr/lib/python3.9/traceback.py", line 167, in format_exc

    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))

    File "/usr/lib/python3.9/traceback.py", line 120, in format_exception

    return list(TracebackException(

    File "/usr/lib/python3.9/traceback.py", line 508, in __init__

    self.stack = StackSummary.extract(

    File "/usr/lib/python3.9/traceback.py", line 340, in extract

    if limit >= 0:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/bin/salt-call", line 11, in <module>

    load_entry_point('salt==3003', 'console_scripts', 'salt-call')()

    File "/usr/lib/python3/dist-packages/salt/scripts.py", line 449, in salt_call

    client.run()

    File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 22, in run

    self.parse_args()

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 215, in parse_args

    mixin_after_parsed_func, traceback.format_exc(err)

    File "/usr/lib/python3.9/traceback.py", line 167, in format_exc

    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))

    File "/usr/lib/python3.9/traceback.py", line 120, in format_exception

    return list(TracebackException(

    File "/usr/lib/python3.9/traceback.py", line 508, in __init__

    self.stack = StackSummary.extract(

    File "/usr/lib/python3.9/traceback.py", line 340, in extract

    if limit >= 0:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    dpkg: error processing package openmediavault (--configure):

    installed openmediavault package post-installation script subprocess returned error exit status 1

    Processing triggers for rsyslog (8.2102.0-2+deb11u1) ...

    Errors were encountered while processing:

    openmediavault

    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Hi, Any idea about this command error? i use omv-extra...


    omv-salt deploy run fstab

    Traceback (most recent call last):

    File "/usr/sbin/omv-salt", line 152, in <module>

    sys.exit(main())

    File "/usr/sbin/omv-salt", line 147, in main

    cli()

    File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__

    return self.main(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main

    rv = self.invoke(ctx)

    File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke

    return _process_result(sub_ctx.command.invoke(sub_ctx))

    File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke

    return _process_result(sub_ctx.command.invoke(sub_ctx))

    File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke

    return ctx.invoke(self.callback, **ctx.params)

    File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke

    return callback(*args, **kwargs)

    File "/usr/sbin/omv-salt", line 133, in deploy_run

    caller = salt.client.Caller(mopts=mopts)

    File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2104, in __init__

    self.sminion = salt.minion.SMinion(self.opts)

    File "/usr/lib/python3/dist-packages/salt/minion.py", line 917, in __init__

    opts["grains"] = salt.loader.grains(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 874, in grains

    funcs = grain_funcs(opts, proxy=proxy, context=context or {})

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 748, in grain_funcs

    _utils = utils(opts, proxy=proxy)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 439, in utils

    _module_dirs(opts, "utils", ext_type_dirs="utils_dirs"),

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'

    Did you see any error?

    Try the updates. If it does not work, run the commands again and post the output here.


    sudo apt install docker-ce-cli=5:20.10.23~3-0~debian-bullseye
    sudo apt install docker-ce=5:20.10.23~3-0~debian-bullseye

    sudo service docker restart

    This commands solve my problem, if anybody looking for a yesturday update error... Docker bin has some problem with the last version.

    I've had the same problem on my Odroid HC2, I fixed it by downgrading the docker-ce and docker-ce-cli packages, then restarting the docker service:


    Code
    sudo apt install docker-ce-cli=5:20.10.23~3-0~debian-bullseye
    sudo apt install docker-ce=5:20.10.23~3-0~debian-bullseye
    sudo service docker restart

    Thank you, thats solve my problem! after that install portainer on gui thats all..

    Hi i have a same poroblem... i just push the update bottom and i give this:



    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

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

    2 not fully installed or removed.

    After this operation, 0 B of additional disk space will be used.

    Setting up openmediavault (6.2.0-2) ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    [ERROR ] 'EntryPoints' object has no attribute 'items'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'

    [ERROR ] An un-handled exception was caught by salt's global exception handler:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/bin/salt-call", line 11, in <module>

    load_entry_point('salt==3003', 'console_scripts', 'salt-call')()

    File "/usr/lib/python3/dist-packages/salt/scripts.py", line 449, in salt_call

    client.run()

    File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 22, in run

    self.parse_args()

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 215, in parse_args

    mixin_after_parsed_func, traceback.format_exc(err)

    File "/usr/lib/python3.9/traceback.py", line 167, in format_exc

    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))

    File "/usr/lib/python3.9/traceback.py", line 120, in format_exception

    return list(TracebackException(

    File "/usr/lib/python3.9/traceback.py", line 508, in __init__

    self.stack = StackSummary.extract(

    File "/usr/lib/python3.9/traceback.py", line 340, in extract

    if limit >= 0:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args

    mixin_after_parsed_func(self)

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 880, in __setup_extended_logging

    log.setup_extended_logging(self.config)

    File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging

    providers = salt.loader.log_handlers(opts)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 663, in log_handlers

    _module_dirs(

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 138, in _module_dirs

    for entry_point in entrypoints.iter_entry_points("salt.loader"):

    File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points

    for entry_point_group, entry_points_list in entry_points.items():

    AttributeError: 'EntryPoints' object has no attribute 'items'


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/usr/bin/salt-call", line 11, in <module>

    load_entry_point('salt==3003', 'console_scripts', 'salt-call')()

    File "/usr/lib/python3/dist-packages/salt/scripts.py", line 449, in salt_call

    client.run()

    File "/usr/lib/python3/dist-packages/salt/cli/call.py", line 22, in run

    self.parse_args()

    File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 215, in parse_args

    mixin_after_parsed_func, traceback.format_exc(err)

    File "/usr/lib/python3.9/traceback.py", line 167, in format_exc

    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))

    File "/usr/lib/python3.9/traceback.py", line 120, in format_exception

    return list(TracebackException(

    File "/usr/lib/python3.9/traceback.py", line 508, in __init__

    self.stack = StackSummary.extract(

    File "/usr/lib/python3.9/traceback.py", line 340, in extract

    if limit >= 0:

    TypeError: '>=' not supported between instances of 'AttributeError' and 'int'

    dpkg: error processing package openmediavault (--configure):

    installed openmediavault package post-installation script subprocess returned error exit status 1

    dpkg: dependency problems prevent configuration of openmediavault-backup:

    openmediavault-backup depends on openmediavault (>= 6); however:

    Package openmediavault is not configured yet.


    dpkg: error processing package openmediavault-backup (--configure):

    dependency problems - leaving unconfigured

    Errors were encountered while processing:

    openmediavault

    openmediavault-backup

    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Hi OMVers,


    I have a big problem I want to add a new share folder and i can't apply.

    I check no duplicate hdd line in confs everything seems to good but not good. i dont know what is the problem. Give this error report:




    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 systemd 2>&1' with exit code '1': debian: ---------- ID: remove_sharedfolder_mount_unit_files Function: module.run Result: True Comment: file.find: [] Started: 22:53:07.755074 Duration: 11.42 ms Changes: ---------- file.find: ---------- ID: sharedfolder_mount_units_systemctl_daemon_reload Function: module.run Result: True Comment: service.systemctl_reload: True Started: 22:53:07.766843 Duration: 671.542 ms Changes: ---------- service.systemctl_reload: True ---------- ID: configure_tmp_mount_unit_file Function: file.managed Name: /etc/systemd/system/tmp.mount Result: True Comment: File /etc/systemd/system/tmp.mount is in the correct state Started: 22:53:08.456108 Duration: 93.352 ms Changes: ---------- ID: tmp_mount_unit_systemctl_daemon_reload Function: module.run Result: True Comment: State was not run because none of the onchanges reqs changed Started: 22:53:08.550527 Duration: 0.007 ms Changes: ---------- ID: remove_aoe_service_unit_files Function: module.run Result: True Comment: file.find: [] Started: 22:53:08.550671 Duration: 12.568 ms Changes: ---------- file.find: ---------- ID: aoe_service_units_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: False Comment: No function provided. Started: 22:53:08.563563 Duration: 1.389 ms Changes: Summary for debian ------------ Succeeded: 5 (changed=3) Failed: 1 ------------ Total states run: 6 Total run time: 790.278 ms

    Hiba #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 systemd 2>&1' with exit code '1': debian:

    ----------

    ID: remove_sharedfolder_mount_unit_files

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 22:53:07.755074

    Duration: 11.42 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: sharedfolder_mount_units_systemctl_daemon_reload

    Function: module.run

    Result: True

    Comment: service.systemctl_reload: True

    Started: 22:53:07.766843

    Duration: 671.542 ms

    Changes:

    ----------

    service.systemctl_reload:

    True

    ----------

    ID: configure_tmp_mount_unit_file

    Function: file.managed

    Name: /etc/systemd/system/tmp.mount

    Result: True

    Comment: File /etc/systemd/system/tmp.mount is in the correct state

    Started: 22:53:08.456108

    Duration: 93.352 ms

    Changes:

    ----------

    ID: tmp_mount_unit_systemctl_daemon_reload

    Function: module.run

    Result: True

    Comment: State was not run because none of the onchanges reqs changed

    Started: 22:53:08.550527

    Duration: 0.007 ms

    Changes:

    ----------

    ID: remove_aoe_service_unit_files

    Function: module.run

    Result: True

    Comment: file.find: []

    Started: 22:53:08.550671

    Duration: 12.568 ms

    Changes:

    ----------

    file.find:

    ----------

    ID: aoe_service_units_systemctl_daemon_reload

    Function: module.run

    Name: service.systemctl_reload

    Result: False

    Comment: No function provided.

    Started: 22:53:08.563563

    Duration: 1.389 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 5 (changed=3)

    Failed: 1

    ------------

    Total states run: 6

    Total run time: 790.278 ms in /usr/share/php/openmediavault/system/process.inc:196

    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/bgstatusLs...', '/tmp/bgoutputga...')

    #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}


    Thanks any help. :thumbup:

    Gabor