Posts by omavoss

    Hello Zoki ,

    the file var/lib/dpkg/info/python3-requests*.list on my OrangePiPC is corrupt,



    I took over an error-free file from my OrangePiPC+, now the update worked.


    Thank you for your help and kind regards.


    Was kann man tun?

    Hi, here is my file:


    I can´t locate position 2503, sorry.


    Please give another hint, thank you.

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" upgrade 2>&1' with exit code '100': Reading package lists...


    Building dependency tree...


    Reading state information...


    Calculating upgrade...


    The following packages will be upgraded:

    openmediavault

    Preconfiguring packages ...

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

    Need to get 0 B/2398 kB of archives.

    After this operation, 14.3 kB of additional disk space will be used.

    (Reading database ...

    (Reading database ... 5%

    (Reading database ... 10%

    (Reading database ... 15%

    (Reading database ... 20%

    (Reading database ... 25%

    (Reading database ... 30%

    (Reading database ... 35%

    (Reading database ... 40%

    (Reading database ... 45%

    (Reading database ... 50%

    (Reading database ... 55%

    (Reading database ... 60%

    (Reading database ... 65%

    (Reading database ... 70%

    (Reading database ... 75%

    (Reading database ... 80%

    (Reading database ... 85%

    (Reading database ... 90%

    (Reading database ... 95%

    (Reading database ... 100%

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

    Preparing to unpack .../openmediavault_6.0.18-1_all.deb ...

    Unpacking openmediavault (6.0.18-1) over (6.0.17-1) ...

    Setting up openmediavault (6.0.18-1) ...

    Installing new version of config file /etc/apt/apt.conf.d/99openmediavault-apt-hooks ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    Traceback (most recent call last):

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

    from pkg_resources import load_entry_point

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3243, in <module>

    def _initialize_master_working_set():

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3226, in _call_aside

    f(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set

    working_set = WorkingSet._build_master()

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 559, in _build_master

    ws = cls()

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 552, in __init__

    self.add_entry(entry)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 608, in add_entry

    for dist in find_distributions(entry, True):

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2063, in find_on_path

    for dist in factory(fullpath):

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2128, in distributions_from_metadata

    yield Distribution.from_location(

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2588, in from_location

    return cls(

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2989, in _reload_version

    md_version = self._get_version()

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2770, in _get_version

    version = _version_from_file(lines)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2554, in _version_from_file

    line = next(iter(version_lines), '')

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2765, in _get_metadata

    for line in self.get_metadata_lines(name):

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1417, in get_metadata_lines

    return yield_lines(self.get_metadata(name))

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1409, in get_metadata

    return value.decode('utf-8')

    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 2503: invalid continuation byte in PKG-INFO file at path: /usr/lib/python3/dist-packages/requests-2.25.1.egg-info/PKG-INFO

    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) ...

    Errors were encountered while processing:

    openmediavault

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


    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; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" upgrade 2>&1' with exit code '100': Reading package lists...


    Building dependency tree...


    Reading state information...


    Calculating upgrade...


    The following packages will be upgraded:

    openmediavault

    Preconfiguring packages ...

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

    Need to get 0 B/2398 kB of archives.

    After this operation, 14.3 kB of additional disk space will be used.

    (Reading database ...

    (Reading database ... 5%

    (Reading database ... 10%

    (Reading database ... 15%

    (Reading database ... 20%

    (Reading database ... 25%

    (Reading database ... 30%

    (Reading database ... 35%

    (Reading database ... 40%

    (Reading database ... 45%

    (Reading database ... 50%

    (Reading database ... 55%

    (Reading database ... 60%

    (Reading database ... 65%

    (Reading database ... 70%

    (Reading database ... 75%

    (Reading database ... 80%

    (Reading database ... 85%

    (Reading database ... 90%

    (Reading database ... 95%

    (Reading database ... 100%

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

    Preparing to unpack .../openmediavault_6.0.18-1_all.deb ...

    Unpacking openmediavault (6.0.18-1) over (6.0.17-1) ...

    Setting up openmediavault (6.0.18-1) ...

    Installing new version of config file /etc/apt/apt.conf.d/99openmediavault-apt-hooks ...

    Creating configuration database ...

    Migrating configuration database ...

    Setting up Salt environment ...

    Traceback (most recent call last):

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

    from pkg_resources import load_entry_point

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3243, in <module>

    def _initialize_master_working_set():

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3226, in _call_aside

    f(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set

    working_set = WorkingSet._build_master()

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 559, in _build_master

    ws = cls()

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 552, in __init__

    self.add_entry(entry)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 608, in add_entry

    for dist in find_distributions(entry, True):

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2063, in find_on_path

    for dist in factory(fullpath):

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2128, in distributions_from_metadata

    yield Distribution.from_location(

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2588, in from_location

    return cls(

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2989, in _reload_version

    md_version = self._get_version()

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2770, in _get_version

    version = _version_from_file(lines)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2554, in _version_from_file

    line = next(iter(version_lines), '')

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2765, in _get_metadata

    for line in self.get_metadata_lines(name):

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1417, in get_metadata_lines

    return yield_lines(self.get_metadata(name))

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1409, in get_metadata

    return value.decode('utf-8')

    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 2503: invalid continuation byte in PKG-INFO file at path: /usr/lib/python3/dist-packages/requests-2.25.1.egg-info/PKG-INFO

    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) ...

    Errors were encountered while processing:

    openmediavault

    E: Sub-process /usr/bin/dpkg returned an error code (1) in /usr/share/openmediavault/engined/rpc/apt.inc:221

    Stack trace:

    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\Apt->Engined\Rpc\{closure}('/tmp/bgstatusqw...', '/tmp/bgoutputhF...')

    #1 /usr/share/openmediavault/engined/rpc/apt.inc(225): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #2 [internal function]: Engined\Rpc\Apt->upgrade(NULL, Array)

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

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

    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Apt', 'upgrade', NULL, Array, 1)

    #6 {main}


    Was kann man tun? Danke.

    macom:

    @


    Das was in Deinem Link steht, mache ich noch und berichte hier.

    Danke nochmals.


    Edit:

    Hat nichts gebracht, auch nach einem Reboot nicht, das Anzeigeproblem besteht nach wie vor.


    Das Upgradescript von Buster auf Bullseye hat mir insgesamt nicht so sehr viel geholfen, von Anfang an hätte mir neuaufsetzen eine Menge Zeit erspart. Versiertere Anwender würden wahrscheinlich weniger Probleme damit haben. Es wird vor dem Upgrade darauf hingewiesen, dass man seine Plugins auf Kompatibilität überprüfen soll, das habe ich aus Bequemlichkeit nicht gemacht.


    Ich setze nun neu auf

    Hallo macom,

    von Edge, Chrome, Opera und Firefox den Browser-Cache geleert, ohne Erfolg, der DLNA-Dienst wird unter Dienste nicht angezeigt. Danach das Plugin deinstalliert, reboot und das Plugin wieder installiert, wieder die Caches bei allen Browsern gelöscht, Problem noch nicht gelöst.


    Code
    root@OrangePiPC:~# dpkg -l | grep openmedia
    ii  openmediavault                         6.0.5-3                          all          openmediavault - The open network attached storage solution
    ii  openmediavault-anacron                 5.0.3                            all          anacron plugin for OpenMediaVault.
    ii  openmediavault-flashmemory             5.0.9                            all          folder2ram plugin for OpenMediaVault
    ii  openmediavault-keyring                 1.0                              all          GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-minidlna                5.0.5                            all          OpenMediaVault miniDLNA (DLNA server) plugin
    ii  openmediavault-omvextrasorg            5.6.5                            all          OMV-Extras.org Package Repositories for OpenMediaVault
    root@OrangePiPC:~#


    Wenn es weitere Tipps gibt, bitte hierher schreiben. Ansonsten müsste ich nochmals neu aufsetzen.

    Vielen Dank für Deine Mühe und schöne Grüße.

    macom:


    Hi, nun ist doch noch ein paar kleine Probleme aufgetreten.

    Auf dem OrangePiPC+ wird unter "Dienste" MiniDLNA nicht angezeigt, obwohl das MiniDLNA-Plugin installiert ist.


    Bei den beiden BananaPi M1 sind nach dem Upgrade von Buster auf Bullseye mit omv-release-upgrade ein Haufen Fehler aufgetreten, weil das Armbian nicht mitgezogen wurde. Es blieb nach wie vor bei Buster.


    Ich habe nun die beiden BananaPi M1 mit einem Armbian Bullseye neu aufgesetzt, alles funktioniert gut, auch das MiniDLNA-Plugin.


    Leider gibt es für den OrangePiPC+ kein Armbian Bullseye, sondern nur Armbian Buster. Wie kann ich es trotzdem schaffen, DLNA unter Dienste angezeigt zu bekommen, um den Dienst aufrufen und konfigurieren zu können?


    Viele Grüße und danke.


    Hi, now a few small problems have occurred after all.


    On the OrangePiPC+, MiniDLNA is not displayed under "Services", although the MiniDLNA plug-in is installed.




    After upgrading from Buster to Bullseye with omv-release-upgrade, a bunch of errors occurred on the two BananaPi M1s because the Armbian was not pulled along. It still remained with Buster.




    I have now rebuilt the two BananaPi M1s with an Armbian Bullseye, everything works fine, including the MiniDLNA plugin.




    Unfortunately there is no Armbian Bullseye for the OrangePiPC+, only Armbian Buster. How can I still manage to get DLNA displayed under Services to be able to call and configure the service?




    Many greetings and thank you.

    Hi,

    my OMV 5.5.12-1 (Usul) issues an error:


    Code
    rrdcachedhandle_request_update: Could not read RRD file.PRIORITY3SYSLOG_FACILITY3SYSLOG_IDENTIFIERrrdcachedSYSLOG_PID1921SYSLOG_TIMESTAMPOct  3 17:11:08 _BOOT_IDec4003e509cc4e1c894b631471bfaf0d_CAP_EFFECTIVE3fffffffff_CMDLINE/usr/bin/rrdcached -B -F -f 3600 -w 900 -b /var/lib/rrdcached/db/ -j /var/lib/rrdcached/journal/ -p /run/rrdcached.pid -l unix:/run/rrdcached.sock_COMMrrdcached_EXE/usr/bin/rrdcached_GID0_HOSTNAMECSL-OMV.fritz.box_MACHINE_ID9b6e405adaa54d63b8d2f5324a21c098_PID1921_SELINUX_CONTEXTunconfined_SOURCE_REALTIME_TIMESTAMP1601737868731988_SYSTEMD_CGROUP/system.slice/rrdcached.service_SYSTEMD_INVOCATION_ID867bdd54b52b4311bbc57a9cf76e4f1b_SYSTEMD_SLICEsystem.slice_SYSTEMD_UNITrrdcached.service_TRANSPORTsyslog_UID0__CURSORs=33c63c695c874f9da07ced37749ac1ec;i=10f7fe6;b=ec4003e509cc4e1c894b631471bfaf0d;m=12b585ca7b6;t=5b0c5a8b06f02;x=e6d683f2b5fd011f__MONOTONIC_TIMESTAMP1285677688758__REALTIME_TIMESTAMP1601737868734210


    What do I have to do?


    Thank you and many greetings

    Hallo alle,

    ich möchte die Konfiguration für die Einstellungen der Benachrichtigungen ändern, dabei kommt ein Fehler:


    Hello, everyone,


    I want to change the configuration for the notification settings, but there is an error:



    Code
    Fehler #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 cronapt 2>&1' with exit code '1': CSL-OMV.fritz.box: Data failed to compile:
    ---------- Rendering SLS 'base:omv.deploy.cronapt.default' failed: Jinja error: The query '//system/notification/notifications/notification[id='cronapt']' returns more than the maximum number of 1 object(s).
    Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 400, 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 20, in top-level template code File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 82, in get_by_filter objs = db.get_by_filter(id_, openmediavault.config.DatabaseFilter(filter_), **kwargs) File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 139, in get_by_filter query.xpath, max_result))
    openmediavault.config.database.DatabaseException: The query '//system/notification/notifications/notification[id='cronapt']' returns more than the maximum number of 1 object(s).
    ; line 20


    Der Text lässt sich kaum lesen, deshalb noch einen Screenshot hinterher:


    The text can hardly be read, therefore a screenshot afterwards:


    Was kann man tun?


    What can I do?


    Danke und viele Grüße.

    Thank you and best regards.

    Fehler #0: