NEWS
Iobroker startet nicht mehr nach Ubuntu update
-
Hallo,
ich habe iobroker auf meinem Ubuntu-Server 16.04.02 installiert. gestern habe ich ein update gemacht und den Server neu gestartet. Seit dem startet iobroker nicht mehr..
iobroker-log
<code>2017-11-16 22:31:53.309 - ^[[32minfo^[[39m: host.Gotham-City iobroker.js-controller version 1.2.0 js-controller starting 2017-11-16 22:31:53.313 - ^[[32minfo^[[39m: host.Gotham-City Copyright (c) 2014-2017 bluefox, hobbyquaker 2017-11-16 22:31:53.314 - ^[[32minfo^[[39m: host.Gotham-City hostname: Gotham-City, node: v4.8.6 2017-11-16 22:31:53.314 - ^[[32minfo^[[39m: host.Gotham-City ip addresses: 192.168.1.142 xxxx.xxxx.x.x.xxxx 2017-11-16 22:31:53.354 - ^[[32minfo^[[39m: host.Gotham-City inMem-states listening on port 9000 2017-11-16 22:31:53.366 - ^[[32minfo^[[39m: host.Gotham-City inMem-objects listening on port 9001 2017-11-16 22:31:53.373 - ^[[32minfo^[[39m: host.Gotham-City InMemoryDB connected 2017-11-16 22:31:53.374 - ^[[33mwarn^[[39m: Host on this system is not possible, because IP address is for states is 0.0.0.0 2017-11-16 22:31:53.379 - ^[[32minfo^[[39m: host.Gotham-City no instances found 2017-11-16 22:31:53.390 - ^[[31merror^[[39m: uncaught exception: logger is not defined 2017-11-16 22:31:53.393 - ^[[31merror^[[39m: ReferenceError: logger is not defined at Object.decryptPhrase (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:77:9) at /opt/iobroker/node_modules/iobroker.js-controller/controller.js:128:27 at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2102:21) at Timer.listOnTimeout (timers.js:92:15) 2017-11-16 22:31:53.395 - ^[[32minfo^[[39m: host.Gotham-City terminated 2017-11-16 22:31:53.404 - ^[[32minfo^[[39m: iobroker _restart 2017-11-16 22:31:53.678 - ^[[32minfo^[[39m: iobroker Starting node restart.js 2017-11-16 22:31:53.685 - ^[[32minfo^[[39m: iobroker exit 0 2017-11-16 22:31:53.824 - ^[[32minfo^[[39m: host.Gotham-City received SIGTERM 2017-11-16 22:31:53.825 - ^[[32minfo^[[39m: host.Gotham-City terminated[/code]</code>
-
gestern habe ich ein update gemacht `
Wovon?iobroker-log `
Was ist da ausgeixt?Ist das ein Multihost-System?
Gruß
Rainer
-
hier mal ohne xxxx
2017-11-16 22:31:53.309 - ^[[32minfo^[[39m: host.Gotham-City iobroker.js-controller version 1.2.0 js-controller starting 2017-11-16 22:31:53.313 - ^[[32minfo^[[39m: host.Gotham-City Copyright (c) 2014-2017 bluefox, hobbyquaker 2017-11-16 22:31:53.314 - ^[[32minfo^[[39m: host.Gotham-City hostname: Gotham-City, node: v4.8.6 2017-11-16 22:31:53.314 - ^[[32minfo^[[39m: host.Gotham-City ip addresses: 192.168.1.142 + IPv6 Adressen 2017-11-16 22:31:53.354 - ^[[32minfo^[[39m: host.Gotham-City inMem-states listening on port 9000 2017-11-16 22:31:53.366 - ^[[32minfo^[[39m: host.Gotham-City inMem-objects listening on port 9001 2017-11-16 22:31:53.373 - ^[[32minfo^[[39m: host.Gotham-City InMemoryDB connected 2017-11-16 22:31:53.374 - ^[[33mwarn^[[39m: Host on this system is not possible, because IP address is for states is 0.0.0.0 2017-11-16 22:31:53.379 - ^[[32minfo^[[39m: host.Gotham-City no instances found 2017-11-16 22:31:53.390 - ^[[31merror^[[39m: uncaught exception: logger is not defined 2017-11-16 22:31:53.393 - ^[[31merror^[[39m: ReferenceError: logger is not defined at Object.decryptPhrase (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:77:9) at /opt/iobroker/node_modules/iobroker.js-controller/controller.js:128:27 at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2102:21) at Timer.listOnTimeout (timers.js:92:15) 2017-11-16 22:31:53.395 - ^[[32minfo^[[39m: host.Gotham-City terminated 2017-11-16 22:31:53.404 - ^[[32minfo^[[39m: iobroker _restart 2017-11-16 22:31:53.678 - ^[[32minfo^[[39m: iobroker Starting node restart.js 2017-11-16 22:31:53.685 - ^[[32minfo^[[39m: iobroker exit 0 2017-11-16 22:31:53.824 - ^[[32minfo^[[39m: host.Gotham-City received SIGTERM 2017-11-16 22:31:53.825 - ^[[32minfo^[[39m: host.Gotham-City terminated
Updates waren ganz normale systemupdates von Linux
ja, es ist ein Multihost
-
ich wollte die Werte nicht sehen, nur wissen was es ist.
Habe die IPv6 Adressen unkenntlich gemacht.
ja, es ist ein Multihost `
deswegen wahrscheinlich auch die@sveni_lee:IP address is for states is 0.0.0.0 `
die er jetzt anmeckert, Warum auch immer.Findet das Ganze etwa in einer virtuellen Maschine statt?
Gruß
Rainer
-
Nein, keine virtuelle Umgebung…
Nach dem Neustart lies sich iobroker nicht mehr starten...
Gesendet von iPhone mit Tapatalk Pro
-
Nein, keine virtuelle Umgebung…
Nach dem Neustart lies sich iobroker nicht mehr starten...
Gesendet von iPhone mit Tapatalk Pro `
Hat sich da eventuell ein node update mit eingeschlichen was die das System zermurkst hat?
Dan könnte es helfen die reinstall.sh aus zu führen.
Was sagt node -v und npm -v
~Dutch
–-----------------------
Send from mobile device
-
svenilee@Gotham-City:~$ node -v v4.8.6 svenilee@Gotham-City:~$ npm -v 2.15.11
wie kann ich die reinstall ausführen?
svenilee@Gotham-City:/opt/iobroker$ sudo ./reinstall.sh sudo: unable to execute ./reinstall.sh: No such file or directory Aufgelegt svenilee@Gotham-City:/opt/iobroker$
-
Dein npm ist recht alt.
Aktualisiere mal bitte (Hilfe gibt es hier ==> http://www.iobroker.net/docu/?page_id=5 … ion_Nodejs)
Gruß,
Eric
Gesendet von iPad mit Tapatalk
-
so, update habe ich gemacht… ist aber alles unverändert
svenilee@Gotham-City:/opt/iobroker$ node -v v6.12.0 svenilee@Gotham-City:/opt/iobroker$ npm -v 3.10.10
-
Die Datei reinstall.sh ist aber in den Verzeichnis?
–-----------------------
Send from mobile device
-
ja, ist da…
svenilee@Gotham-City:/opt/iobroker$ ls -la insgesamt 44 drwxrwxrwx 6 root root 4096 Mai 21 10:49 . drwxr-xr-x 4 root root 4096 Sep 27 09:25 .. drwxrwxrwx 2 root root 4096 Mai 21 10:48 etc -rwxrwxrwx 1 root root 297 Mai 21 10:49 install.sh -rwxrwxrwx 1 root root 67 Mai 21 10:49 iobroker drwxrwxrwx 3 root root 4096 Sep 22 17:02 iobroker-data -rwxrwxrwx 1 root root 92 Nov 17 08:41 killall.sh drwxrwxrwx 2 root root 4096 Nov 17 19:17 log drwxrwxrwx 31 svenilee svenilee 4096 Nov 17 08:41 node_modules -rwxrwxrwx 1 root root 116 Mai 21 10:49 package.json -rwxrwxrwx 1 root root 688 Nov 17 08:41 reinstall.sh
-
Und wenn du in den Verzeichnis bist und das ./ Mal weck läst?
–-----------------------
Send from mobile device
-
Wie man an der Dateigröße (688 Byte) sieht, hat reinstall.sh DOS-Format (CR/LF anstelle LF) und muss erst in das http://forum.iobroker.net/viewtopic.php?f=17&t=8530&p=94147#p94110.
-
funktioniert bei mir nicht…
nach
tr -d '\r' < /opt/iobroker/reinstall.sh > /opt/iobroker/reinstall.sh
ist die Größe null
-
Evtl. weil Du die Datei überschreibst?
Mal mit einem neuen Ziel-Dateinamen probiert?
Gruß,
Eric
-
Yeep… das wars
Dann mach ich mal nen reinstall.
Gesendet von iPhone mit Tapatalk Pro
-
ist nicht ganz sauber durchgelaufen…
DONE iobroker.javascript npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated npm WARN prefer global npm@2.15.12 should be installed with -g > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/svenilee/.node-gyp/6.12.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/unix-dgram/.node-gyp" make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen > ursa@0.9.4 install /opt/iobroker/node_modules/ursa > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/svenilee/.node-gyp/6.12.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/ursa/.node-gyp" make: Verzeichnis „/opt/iobroker/node_modules/ursa/build“ wird betreten CXX(target) Release/obj.target/ursaNative/src/ursaNative.o SOLINK_MODULE(target) Release/obj.target/ursaNative.node COPY Release/ursaNative.node make: Verzeichnis „/opt/iobroker/node_modules/ursa/build“ wird verlassen
npm ERR! code 1 FAIL iobroker.socketio iobroker@1.0.0 /opt/iobroker └─┬ iobroker.tankerkoenig@1.0.4 └─┬ xml2js@0.2.8 └── sax@0.5.8 DONE iobroker.tankerkoenig npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
./reinstall.sh: Zeile 34: Dateiende beim Suchen nach »"« erreicht. ./reinstall.sh: Zeile 37: Syntaxfehler: Unerwartetes Dateiende. svenilee@Gotham-City:/opt/iobroker$
-
Ggf. das Original-reinstall.sh mal mit einem FTP vom Linux ziehen und die Datei mit einem "vernünftiges" Editor wieder umkonvertierten.
Gruß,
Eric
-
Nimm diese Datei, nach dem Entfernen von .txt am Ende des Dateinamen.
-
so, alles gemacht aber noch kein erfolg…
2017-11-17 22:05:40.282 - ^[[32minfo^[[39m: host.Gotham-City iobroker.js-controller version 1.2.0 js-controller starting 2017-11-17 22:05:40.288 - ^[[32minfo^[[39m: host.Gotham-City Copyright (c) 2014-2017 bluefox, hobbyquaker 2017-11-17 22:05:40.288 - ^[[32minfo^[[39m: host.Gotham-City hostname: Gotham-City, node: v6.12.0 2017-11-17 22:05:40.289 - ^[[32minfo^[[39m: host.Gotham-City ip addresses: 192.168.1.142 xxxxx 2017-11-17 22:05:40.337 - ^[[32minfo^[[39m: host.Gotham-City inMem-states listening on port 9000 2017-11-17 22:05:40.358 - ^[[32minfo^[[39m: host.Gotham-City inMem-objects listening on port 9001 2017-11-17 22:05:40.365 - ^[[32minfo^[[39m: host.Gotham-City InMemoryDB connected 2017-11-17 22:05:40.367 - ^[[33mwarn^[[39m: Host on this system is not possible, because IP address is for states is 0.0.0.0 2017-11-17 22:05:40.371 - ^[[32minfo^[[39m: host.Gotham-City no instances found 2017-11-17 22:05:40.381 - ^[[31merror^[[39m: uncaught exception: logger is not defined 2017-11-17 22:05:40.383 - ^[[31merror^[[39m: ReferenceError: logger is not defined at Object.decryptPhrase (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:77:9) at /opt/iobroker/node_modules/iobroker.js-controller/controller.js:128:27 at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2102:21) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) 2017-11-17 22:05:40.388 - ^[[32minfo^[[39m: host.Gotham-City terminated 2017-11-17 22:05:40.396 - ^[[32minfo^[[39m: iobroker _restart 2017-11-17 22:05:40.652 - ^[[32minfo^[[39m: iobroker Starting node restart.js 2017-11-17 22:05:40.662 - ^[[32minfo^[[39m: iobroker exit 0 2017-11-17 22:05:40.776 - ^[[32minfo^[[39m: host.Gotham-City received SIGTERM 2017-11-17 22:05:40.777 - ^[[32minfo^[[39m: host.Gotham-City terminated
einen Fehler gab es doch beim reinstall
iobroker.core@0.1.0 /opt/iobroker └── (empty) npm ERR! code 1 FAIL iobroker.socketio iobroker.core@0.1.0 /opt/iobroker