NEWS
Admin funktioniert seit update auf 5.1.10 nicht mehr
-
@thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
@myssv Anleitung lesen, umsetzen, fertig.
root@iobroker:/opt/iobroker# sudo apt remove node* Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket node_modules kann nicht gefunden werden.
Ich habe scheinbar schon einiges kaputt gemacht ...
-
@myssv
Jetzt wirst gleich gesteinigt -
@jan1 sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
@myssv
Jetzt wirst gleich gesteinigtDas befürchte ich auch schon, aber ich stehe aktuell echt total auf dem Schlauch ....
Habe von Linux 0 Ahnung, wobei man das sicher schon an den Kommentaren gemerkt hat. Bin halt eher der Mausschubser ...
-
@myssv
root User, ok habe da was gelesen dass das im Docker nötig wäre (oder auch nicht), aber sudo beim root User ist wirklich ein Beweis, dass Du Linux nicht verstanden hast.
So jetzt bitte zur Steinigung -
@myssv Als root wird nicht per sudo gearbeitet.
Bist ja schon root. -
@thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
@myssv Als root wird nicht per sudo gearbeitet.
Bist ja schon root.Ich habe den Befehl so aus Deiner Anleitung genommen ... und ja, ich habe davon keine Ahnung
Auch ohne sudo bekomme ich den Fehler.
root@iobroker:/opt/iobroker# apt remove node* Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket node_modules kann nicht gefunden werden.
-
@myssv Dann weiter in der Anleitung.
-
@myssv sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
Ich habe den Befehl so aus Deiner Anleitung genommen
Ich gehe ja in meiner Anleitung davon aus daß man eben nicht root ist. Auf 'gescheiten' Systemen ist das auch so. Nur bei Docker auf Synology geht das nicht, weil das OS der Synology das nicht kann.
-
@thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
@myssv Dann weiter in der Anleitung.
Die RM-Befehle habe ich ausgeführt und die Node-Version heruntergeladen.
Nun geht gar nichts mehr ...
------------------------------------------------------------ --------------- 2021-07-10 11:27:32 --------------- ------------------------------------------------------------ ------------------------------------------------------------ ----- Welcome to your ioBroker-container! ----- ----- Startupscript is now running. ----- ----- Please be patient! ----- ------------------------------------------------------------ ------------------------------------------------------------ ----- Debugging information ----- ----- ----- ----- System ----- ----- arch: x86_64 ----- ----- ----- ----- Versions ----- ----- image: v5.1.0 ----- /opt/scripts/iobroker_startup.sh: Zeile 45: /usr/local/bin/node: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei ----- node: ----- /usr/local/bin/node: 1: /usr/local/bin/node: Syntax error: word unexpected (expecting ")") ----- npm: ----- ----- ----- ----- ENV ----- ----- AVAHI: false ----- ----- PACKAGES: nano ----- ----- SETGID: 1000 ----- ----- SETUID: 1000 ----- ----- USBDEVICES: none ----- ----- ZWAVE: false ----- ------------------------------------------------------------ ------------------------------------------------------------ ----- Step 1 of 5: Preparing container ----- ------------------------------------------------------------ Installing additional packages is set by ENV. The following packages will be installed: nano... Done. ------------------------------------------------------------ ----- Step 2 of 5: Detecting ioBroker installation ----- ------------------------------------------------------------ Existing installation of ioBroker detected in /opt/iobroker. ------------------------------------------------------------ ----- Step 3 of 5: Checking ioBroker installation ----- ------------------------------------------------------------ (Re)Setting folder permissions (This might take a while! Please be patient!)... Done. Fixing "sudo-bug" by replacing sudo in iobroker with gosu... Done. error: exec failed: exec format error /opt/scripts/iobroker_startup.sh: Zeile 197: [: !=: Einstelliger (unärer) Operator erwartet. ------------------------------------------------------------ ----- Step 4 of 5: Applying special settings ----- ------------------------------------------------------------ Some adapters have special requirements/ settings which can be activated by the use of environment variables. For more information take a look at readme.md on Github! ------------------------------------------------------------ ----- Step 5 of 5: ioBroker startup ----- ------------------------------------------------------------ Starting ioBroker... error: exec failed: exec format error
-
@myssv Der Container linkt noch nach
/usr/local/bin/nodeDa ich keine Ahnung von den Dingern hab muss das jemand anders gerade biegen.
-
root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/local/bin/nodejs /usr/local/bin/node /usr/local/bin/npm bash: /usr/local/bin/nodejs: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei root@iobroker:/opt/iobroker#
-
Ich habe zwar keine Ahnung von Linux, aber manchmal ganz gute Ideen.
Ich habe einen aktuellen iobroker Container heruntergeladen und diesen neu gestartet:
root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v12.22.2 v12.22.2 6.14.13 nodejs: Installiert: 12.22.2-1nodesource1 Installationskandidat: 12.22.2-1nodesource1 Versionstabelle: *** 12.22.2-1nodesource1 100 100 /var/lib/dpkg/status root@iobroker:/opt/iobroker#
-
@myssv Da fehlt nur noch das Nodesource-Repo.
-
@thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
@myssv Da fehlt nur noch das Nodesource-Repo.
So?
root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v12.22.2 v12.22.2 6.14.13 nodejs: Installiert: 12.22.2-1nodesource1 Installationskandidat: 12.22.2-1nodesource1 Versionstabelle: *** 12.22.2-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://deb.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
Der Update Fehler beim Admin ist geblieben:
root@iobroker:/opt/iobroker# iobroker upgrade This upgrade of "admin" will introduce the following changes: ========================================================================== -> 5.1.10: Corrected some GUI errors ========================================================================== Would you like to upgrade admin from @5.1.9 to @5.1.10 now? [(y)es, (n)o]: y Update admin from @5.1.9 to @5.1.10 host.iobroker Adapter "system.adapter.admin.0" is stopped. NPM version: 6.14.13 npm install iobroker.admin@5.1.10 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITY npm ERR! Verification failed while extracting iobroker.openligadb@https://github.com/oweitman/ioBroker.openligadb/tarball/master: npm ERR! Verification failed while extracting iobroker.openligadb@https://github.com/oweitman/ioBroker.openligadb/tarball/master: npm ERR! sha512-pB22Fvp08/amIRWYLQfhozpKkRAiM2LUDrNZrEnHDhERBwidYFYWOFFJ80N54pVh9yz6Y3gbJ3VWK4/VmPl77A== integrity checksum failed when using sha512: wanted sha512-pB22Fvp08/amIRWYLQfhozpKkRAiM2LUDrNZrEnHDhERBwidYFYWOFFJ80N54pVh9yz6Y3gbJ3VWK4/VmPl77A== but got sha512-WLFcOaoHfNIu5uGyi6Q/iQ/UB+ITNjsAYShVYAUsWoefc/3RrqZzWl7odAxoQaRDmnkYP9+/s2/sE2mrAJPakQ==. (252178 bytes) npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2021-07-10T09_59_43_420Z-debug.log upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png Adapter "admin" updated host.iobroker Adapter "system.adapter.admin.0" is started root@iobroker:/opt/iobroker#
-
Der Download von Openliga ist immer noch kaputt.
-
cd /opt/iobroker npm cache clear --force
Hatte ich ausgeführt. Kann es an der Version bei github liegen?
-
@thomas-braun
Der läuft bei mir im Browser. -
npm cache verify
-
@thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:
npm cache verify
root@iobroker:/opt/iobroker# npm cache verify Cache verified and compressed (~/.npm/_cacache): Content verified: 30 (40281332 bytes) Index entries: 37 Finished in 0.69s root@iobroker:/opt/iobroker#
-
root@iobroker:/opt/iobroker# iobroker upgrade This upgrade of "admin" will introduce the following changes: ========================================================================== -> 5.1.10: Corrected some GUI errors ========================================================================== Would you like to upgrade admin from @5.1.9 to @5.1.10 now? [(y)es, (n)o]: y Update admin from @5.1.9 to @5.1.10 host.iobroker Adapter "system.adapter.admin.0" is stopped. NPM version: 6.14.13 npm install iobroker.admin@5.1.10 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITY npm ERR! Verification failed while extracting iobroker.openligadb@https://github.com/oweitman/ioBroker.openligadb/tarball/master: npm ERR! Verification failed while extracting iobroker.openligadb@https://github.com/oweitman/ioBroker.openligadb/tarball/master: npm ERR! sha512-pB22Fvp08/amIRWYLQfhozpKkRAiM2LUDrNZrEnHDhERBwidYFYWOFFJ80N54pVh9yz6Y3gbJ3VWK4/VmPl77A== integrity checksum failed when using sha512: wanted sha512-pB22Fvp08/amIRWYLQfhozpKkRAiM2LUDrNZrEnHDhERBwidYFYWOFFJ80N54pVh9yz6Y3gbJ3VWK4/VmPl77A== but got sha512-WLFcOaoHfNIu5uGyi6Q/iQ/UB+ITNjsAYShVYAUsWoefc/3RrqZzWl7odAxoQaRDmnkYP9+/s2/sE2mrAJPakQ==. (252178 bytes) npm ERR! A complete log of this run can be found in: npm ERR! /opt/iobroker/.npm/_logs/2021-07-10T10_12_55_252Z-debug.log upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png Adapter "admin" updated host.iobroker Adapter "system.adapter.admin.0" is started