NEWS
Web Interface nach Update nicht erreichbar
-
Dann
iob stop iob fix cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@thomas-braun said in Web Interface nach Update nicht erreichbar:
sudo -H -u iobroker npm install iobroker.js-controller
Folgende Fehlermeldung:
code_text pm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/diskusage', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/diskusage'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/diskusage' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/diskusage', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/diskusage'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/diskusage' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! /opt/iobroker/node_modules/axios/dist/node/axios.cjs:1444 npm ERR! const hasJSONContentType = contentType.indexon$'K0qhicaTx+ljson?i*%-1;�( #Onst"i7ObjekvPaiekad�=$etils9*ysE"Kect8dit! ;J npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! npm ERR! SyntaxError: Invalid or unexpected token npm ERR! at internalCompileFunction (node:internal/vm:73:18) npm ERR! at wrapSafe (node:internal/modules/cjs/loader:1274:20) npm ERR! at Module._compile (node:internal/modules/cjs/loader:1320:27) npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) npm ERR! at Module.load (node:internal/modules/cjs/loader:1197:32) npm ERR! at Module._load (node:internal/modules/cjs/loader:1013:12) npm ERR! at Module.require (node:internal/modules/cjs/loader:1225:19) npm ERR! at require (node:internal/modules/helpers:177:18) npm ERR! at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:36:33) npm ERR! at Module._compile (node:internal/modules/cjs/loader:1356:14) npm ERR! npm ERR! Node.js v18.19.0```
-
@viper2033 sagte in Web Interface nach Update nicht erreichbar:
npm ERR! /opt/iobroker/node_modules/axios/dist/node/axios.cjs:1444 npm ERR! const hasJSONContentType = contentType.indexon$'K0qhicaTx+ljson?i*%-1;�( #Onst"i7ObjekvPaiekad�=$etils9*ysE"Kect8dit! ;J npm ERR!
Hab ich so auch noch nicht gesehen. Keine Ahnung was da kaputt ist.
-
@viper2033 sagte in Web Interface nach Update nicht erreichbar:
Folgende Fehlermeldung:
wo bist du da?
bitte immer alles komplett zeigen.Ein- und Ausgaben
-
Jetzt zeigt er mir folgendes an nach eingabe von
sudo -H -u iobroker npm install iobroker.js-controllercode_text npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/diskusage npm ERR! dest /opt/iobroker/node_modules/.diskusage-SbL2R1mm npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/diskusage' -> '/opt/iobroker/node_modules/.diskusage-SbL2R1mm'```
-
Nochmal:
iob stop iob fix cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@viper2033 sagte in Web Interface nach Update nicht erreichbar:
nach eingabe von
das sehe ich nicht!
bitte Prompt und Eingabebefehl zeigen!!
-
code_text root@CT210:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/diskusage npm ERR! dest /opt/iobroker/node_modules/.diskusage-SbL2R1mm npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/diskusage' -> '/opt/iobroker/node_modules/.diskusage-SbL2R1mm' npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-18T15_53_31_534Z-debug-0.log
-
@viper2033 sagte in Web Interface nach Update nicht erreichbar:
root@CT210
War mir klar...
Auch im LXC wird NICHT als root herumgehampelt. -
@homoran da nutzt dann der ganze fix der Rechte nichts, wenn anschließend der root die Rechte wieder verbiegt.
Noch schlimmer ist nur noch als root den fixer auszuführen. und dazu noch mit sudo für Hyperrechte -
@homoran
Und wie mache ich jetzt weiter? -
@viper2033 sagte in Web Interface nach Update nicht erreichbar:
Und wie mache ich jetzt weiter?
Fragt der super root...
Da niemand hier nachvollziehen kann was du da wann und wie kaputtgemacht hast:Installier es neu.
-
Gibt es keine andere Lösung außer neu installieren?
-
Wenn du nicht weißt was du wann, warum mit welchen Rechten wo angepackt hast?
Nö.Und die Neuinstallation dann direkt richtig machen...
-
@viper2033 sagte in Web Interface nach Update nicht erreichbar:
Gibt es keine andere Lösung außer neu installieren?
Glaub' mal nur, dass es viele hier gab (und leider weiterhin geben wird), die sich mit dem root-login oder
sudo iob
die Rechte verbogen haben (ich gehöre auch dazu).@Thomas-Braun ist tatsächlich unermüdlich, allen Sündern die Wahrheit notwendigerweise ins Gedächtnis einzuhämmern (vielen Dank übrigens dafür @Thomas-Braun) :
Ohne eine frische Installation kannst du nicht sicher sein, dass alles sauber ist.
-
Ich habe jetzt meinen letzten Snapshot wieder installiert. Wie gehe ich jetzt weiter vor, einen neuen User erstellen?