Cannot refresh / view plugins

  • I have the same problem as eroth314 reported in the old forums (see http://sourceforge.net/apps/ph…t/viewtopic.php?f=5&t=846). I have installed and updated OMV since early 0.3 was released and implemented clamav in 0.3.10 (?) I have applied updated up to 0.3.14 without any problems but after upgrading to 0.3.14 ALL my plugins (OMV official and unofficial) have disappeared. I tried upgrading to 0.3.17, hoping it might cause the plugins to be reinstalled but it didn't. When I try to view my existing plugins I get the message:


    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    openmediavault-omvpluginsorg
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Inst openmediavault-omvpluginsorg (0.3.2~3.gbpa0b737 localhost, localhost [all])
    Conf openmediavault-omvpluginsorg (0.3.2~3.gbpa0b737 localhost, localhost [all])
    Package: openmediavault-clamav
    Version: 0.3.0.6
    Architecture: all
    Maintainer: Volker Theile <volker.theile@openmediavault.org>
    Installed-Size: 291
    Depends: openmediavault (>= 0.3.0.14), clamav-daemon, clamav-freshclam
    Homepage: http://www.openmediavault.org
    Priority: optional
    Section: net
    Filename: pool/main/o/openmediavault-clamav/openmediavault-clamav_0.3.0.6_all.deb
    Size: 32728
    SHA256: a3dac7fc19a400dd65f46055ce6080ae6ff20108d934c9aafce012bf59b9aed2
    SHA1: 3cb3e19ebfbc797ec53a8ab3080543508c5551bb
    MD5sum: 0699ec7784e68b60a9a945fd47b42ef7
    Description: OpenMediaVault ClamAV plugin
    Clam AntiVirus is an anti-virus toolkit for Unix.


    Reading package lists...
    Building dependency tree...
    Reading state information...
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:


    The following packages have unmet dependencies:
    openmediavault-clamav : Depends: clamav-daemon but it is not installable
    Depends: clamav-freshclam but it is not installable
    E: Broken packages' in /var/www/openmediavault/rpc/plugin.inc:154
    Stack trace:
    #0 [internal function]: PluginRpc->getList(Array)
    #1 /usr/share/php/openmediavault/rpc.inc(261): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(97): OMVRpc::exec('Plugin', 'getList', Array)
    #3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #4 {main}


    I can't access the plugins via the WebGUI at all either to make changes or to remove existing plugins. How do I get these plugins working again please ?


    Chris

    • Offizieller Beitrag

    Open the file /etc/apt/source.list and check if you can see the following. Add if necessary.



    Comment out everything else (to be on the safe side), especially lines that look like


    Code
    cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - ....


    After that execute the command


    Code
    apt-get update


    in the CLI.

  • Volker


    Thanks for this information, it has helped me resolve the problem. I ended up editing /etc/apt/sources.list which originally contained:


    #


    # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/IN$


    deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INST$


    # Line commented out by installer because it failed to verify:
    deb http://security.debian.org/ squeeze/updates main non-free
    # Line commented out by installer because it failed to verify:
    deb-src http://security.debian.org/ squeeze/updates main non-free


    I commented out all the lines above and pasted in your settings in their place . Once I ran apt-get update I got a long list of packages which needed updating which I applied via the WebGUI. On completion of these updates the Plugins area became available to me and I made sure I only had the plugins I needed enabled.


    Thanks for your help with this problem.


    Chris

  • Hallo,
    ich hänge mich einfach mal hier dran, weil gleiches Problem hier.


    Beim Anzeigen von Plugins kommt folgender Fehler hoch:



    apt-get update bzw. reinstall hat nichts gebracht. Was kann man tun?


    Viele Grüße.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

    • Offizieller Beitrag


    Es scheint so als ob die DPKG Datenbank gelockt ist (E: Could not get lock /var/lib/dpkg/lock). Das passiert dann wenn schon ein anderer dpkg oder apt-xxx Befehl ausgeführt wird. Ich habe das auch schon gehabt, in diesem Fall hat dann gerade zufällig cron-apt seinen Dienst getan.

  • Hallo votdev,
    nach wie vor dasselbe Problem zu verschiedenen Tageszeiten.


    "Erweiterungen" -> "Lade" -> "Es trat ein Fehler auf" -> "Details anzeigen" -> "communication failure" -> "OK" -> "Prüfen" -> "Es trat ein Fehler auf" -> "communication failure" -> usw. usw.



    "Aktualisierungsverwaltung" -> "Prüfen" ->

    Fehler


    Failed to execute command 'export LANG=C; sudo apt-get --show-upgraded --simulate dist-upgrade 2>&1': E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


    Fehler #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; sudo apt-get --show-upgraded --simulate dist-upgrade 2>&1': E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?' in /var/www/openmediavault/rpc/apt.inc:63
    Stack trace:
    #0 [internal function]: AptRpc->getUpgraded(Array)
    #1 /usr/share/php/openmediavault/rpc.inc(261): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(97): OMVRpc::exec('Apt', 'getUpgraded', Array)
    #3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #4 {main}


    Was kann man tun?
    Danke und viele Grüße.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

    • Offizieller Beitrag

    Melde Dich doch mal als root an der CLI an und führe folgenden Befehl aus.


    Code
    # ps ax | grep apt


    Mir scheint als ob da ein Prozess hängt der die Dpkg/APT Datenbank gelockt hat. Es wird hier von OMV nichts magisches getan außer einen stink normalen Befehl auszuführen. Und wenn der nicht funktioniert dann wird eben die Fehlermeldung ausgegeben. Jetzt musst Du (wir) eben rausfinden warum das Kommando fehlschlägt.


    Die Ausgabe sollte in etwa so aussehen:


    Code
    root@dhcppc4:~# ps ax | grep apt
     2369 ?        SN     0:00 /bin/sh /etc/cron.daily/cron-apt
     2370 ?        SN     0:00 /bin/sh /usr/sbin/cron-apt
     2493 pts/0    S+     0:00 grep apt
  • Hallo,
    bekomme folgende Ausgabe:


    Code
    root@openmediavault:~# ps ax |grep apt
     2360 pts/0    D+     0:00 grep apt
    root@openmediavault:~#


    Danke für die Unterstützung.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Hallo; ich weiß nicht, wie man sicherstellt, dass kein apt-Prozess läuft... aber ich habe bewußt keinen derartigen Prozess angestoßen.


    Code
    root@openmediavault:~# apt-get --show-upgraded --simulate dist-upgrade
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut
    Statusinformationen werden eingelesen... Fertig
    Paketaktualisierung (Upgrade) wird berechnet... Fertig
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
    root@openmediavault:~#


    Danke.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • OK, hab ich gemacht:


    Code
    root@openmediavault:~# ps ax | grep apt
    14337 pts/0    S+     0:00 grep apt
    root@openmediavault:~#


    Dann Update Plugins -> prüfen: "communication failure"
    Nochmals dasselbe: "communication failure" dann OK, und immer so weiter: communication failure


    Und unter "Aktualisierungsverwaltung" kommt Fehler:



    Wenn es Probleme macht, meinen Bedienungsfehler zu finden, setze ich auch gern das System neu auf. Doch dazu fehlt mir leider die Kentnis der Herangehensweise. Ich muss dann doch erst eine 0.2-Version auf die Maschine tun, und dann auf 0.3 updaten, und dann das vorhandene RAID5 wieder importieren... ist das richtig? Oder geht es auch, alle vorhandenen Plugins auf der Konsole zu deinstallieren und irgendwo neu anzufangen, ohne das System komplett neu aufsetzen zu müssen? Wobei ich im Augenblick an meine Daten, die im RAID5 drin sind, gut über die Freigaben rankomme...



    Wenn ich wenigstens erst einmal das "communication failure" wegkriegen würde!


    Vielleicht gibts ja noch Hoffnung. Viele Grüße und nochmals danke für die Hilfe.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Hallo,
    ja, OVM-Plugins.org habe ich installiert, dort aber jetzt "nur noch" die Stable-Quellen aktiviert. Trotzdem treten die Fehler wie beschrieben auf.
    Und geändert habe ich nur das, was in Posting weiter oben beschrieben steht, wo die Quellen auf debian.squeeze geändert worden sind (/etc/apt/sources.list). Da habe ich leider die Orginal-sources-Datei überschrieben.
    Ansonsten habe ich immer lediglich die angebotenen Updates gezogen und installiert und vor allem nichts per CLI geändert.


    Viele Grüße.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Hallo votdev,


    kannst Du bitte hier nochmals drübergucken?
    Ich würde ja auch das plugin "omv.plugins.org" deinstallieren; autoshutdown würde ich aber bitte gern behalten wollen.


    Viele Grüße.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Hallo, habe das File gelöscht, den OMV neu gestartet, leider ohne Erfolg.
    Kommt folgender Fehler nach wie vor:



    Geht noch was, außer neu aufsetzen?


    Viele Grüße.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Ich hatte den selben Fehler. Was auf jedenfall bei mir geholfen hat:


    1. DNS Server eintragen
    2. Über die Console OMV Plugins manuell installieren


    Manual installation (click)
    Ix Sources List: /etc/apt/sources.list.d/omv-plugins-org-ix.list
    wget -O - http://packages.omv-plugins.org/apt/omv-plugins-org-ix.list > /etc/apt/sources.list.d/omv-plugins-org-ix.list


    Omnius Sources List: /etc/apt/sources.list.d/omv-plugins-org-omnius.list
    wget -O - http://packages.omv-plugins.or…v-plugins-org-omnius.list > /etc/apt/sources.list.d/omv-plugins-org-omnius.list


    Donald Sources List: /etc/apt/sources.list.d/omv-plugins-org-donald.list
    wget -O - http://packages.omv-plugins.or…v-plugins-org-donald.list > /etc/apt/sources.list.d/omv-plugins-org-donald.list


    Glass Sources List: /etc/apt/sources.list.d/omv-plugins-org-glass.list
    wget -O - http://packages.omv-plugins.or…mv-plugins-org-glass.list > /etc/apt/sources.list.d/omv-plugins-org-glass.list


    Preferences: /etc/apt/preferences.d/99omv-plugins-org
    wget -O - http://packages.omv-plugins.org/apt/99omv-plugins-org > /etc/apt/preferences.d/99omv-plugins-org


    Archive Key:
    wget -O - http://packages.omv-plugins.org/omv-plugins.pub|apt-key add -

Jetzt mitmachen!

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