NEWS
[HowTo] ioBroker unter Docker auf Synology DiskStation
-
So, ich habe mir das mit den Uhrzeiten einmal angeschaut. Die Systemeinstellungen, zumindest in meinem Container, scheinen in Ordnung zu sein.
Kannst du im Terminal einmal "date" eingeben? Stimmt das Datumsformat?
Andernfalls habe ich keine Idee mehr. Vielleicht kannst du zu dem Thema einen gesonderten Thread aufmachen (und hier verlinken)
Ich bin mir sicher, dass dir da jemand helfen kann.
MfG,
André
-
Hi,
date sieht "normal" aus …
Thu Aug 24 21:33:02 CEST 2017
auf dem Ursprungsrechner sieht es so aus:
Do 24\. Aug 21:34:39 CEST 2017
da steht aber im ENV: LANG=de_DE.UTF-8
-
Hi,
date sieht "normal" aus …
Thu Aug 24 21:33:02 CEST 2017
auf dem Ursprungsrechner sieht es so aus:
Do 24\. Aug 21:34:39 CEST 2017
da steht aber im ENV: LANG=de_DE.UTF-8 `
Guter Hinweis! Habe nochmal geschaut. Es liegt an "locales". Die LANG ist im Container nicht definiert. Habe es dank Google über das Terminal manuell fixen können. Allerdings muss ich mal schauen wie ich das im Docker-Image untergebracht bekomme. Gib im Terminal mal "locales" ein, dann solltest du sehen, dass bei LANG nichts definiert ist… Denke das ist die Ursache, deshalb wird das Datum auch in englisch angezeigt.
Mal sehen wann ich dazu komme...
MfG,
André
Gesendet von iPad mit Tapatalk
-
ok habe folgenden workaround:
apt-get install -y locales locale-gen de_DE.UTF-8 export LANG=de_DE.UTF-8 iobroker stop iobroker start
jetzt passt es.
Wie kann ich das fest einstellen - damit die Einstellungen einen Neustart überleben ?
Habe das in /etc/profile einegragen - das hat aber nicht funktioniert..
-
Ich habe kein Docker, aber hast du mal probiert:
apt-get reconfigure locales
Gruß
Rainer
-
ok habe folgenden workaround:
apt-get install -y locales locale-gen de_DE.UTF-8 export LANG=de_DE.UTF-8 iobroker stop iobroker start
jetzt passt es.
Wie kann ich das fest einstellen - damit die Einstellungen einen Neustart überleben ?
Habe das in /etc/profile einegragen - das hat aber nicht funktioniert.. `
Kann es nicht genau sagen, aber ich habe nach dem export noch, wie rainer schon sagt, ein
dpkg-reconfigure locales ````und dann ein```` update-locale LANG=de_DE.UTF-8
gemacht. Habe aber auch noch nicht neu gestartet.
MfG,
André
-
Hallo Andre,
zunächst mal vielen Dank für dein tolles Docker Image und die Hilfe hier im Forum.
Ich nutze dein Image schon eine ganze Weile und muss sagen, dass es bei mir ausgezeichnet läuft.
Nun wollte ich gestern meine Host von 1.0.3 Updaten auf 1.1.2, doch leider bin ich gnadenlos gescheitert.
Kann es sein, das sich der Host nicht updaten lässt und ich ein neueres Docker Image installieren muss?
Vielleicht stand die Antwort hier auch schon und ich habe Sie schlicht überlesen. Deshalb wäre ich für einen kurzen Tip von dir dankbar.
Einen schönen Tag Gruß Sven
-
Hallo Andre,
zunächst mal vielen Dank für dein tolles Docker Image und die Hilfe hier im Forum.
Ich nutze dein Image schon eine ganze Weile und muss sagen, dass es bei mir ausgezeichnet läuft.
Nun wollte ich gestern meine Host von 1.0.3 Updaten auf 1.1.2, doch leider bin ich gnadenlos gescheitert.
Kann es sein, das sich der Host nicht updaten lässt und ich ein neueres Docker Image installieren muss?
Vielleicht stand die Antwort hier auch schon und ich habe Sie schlicht überlesen. Deshalb wäre ich für einen kurzen Tip von dir dankbar.
Einen schönen Tag Gruß Sven `
Doch, der Controller sollte sich auch ohne neues Image updaten lassen. Hast du es mal so probiert?
cd /opt/iobroker iobroker stop npm install iobroker.js-controller --production iobroker start
Falls es nicht klappt, dann poste mal das Log bzw. die Ausgabe im Terminal.
MfG,
André
-
Hallo Andre,
ehrlich gesagt habe ich Angst das nochmal zu probieren. Ich habe das gestern versucht und das ist gründlich in die Hose gegangen.
Es ging nur über das wiederherstellen einer Sicherung wieder.
Nur nochmal für mein Verständnis, ich kann das aus dem Docker Terminal anstoßen oder?
Hier die Fehler von Gestern nochmal:
Mein erster Versuch:
`2017-08-24 07:23:25 stdout at bootstrap_node.js:504:3 2017-08-24 07:23:25 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:23:25 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:23:25 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:23:25 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:23:25 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:23:25 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:23:25 stdout 2017-08-24 07:23:25 stdout ^ 2017-08-24 07:23:25 stdout throw err; 2017-08-24 07:23:25 stdout module.js:471 2017-08-24 07:23:20 stdout [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:23:20 stdout [?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:23:20 stdout [....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemonProcess 40 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) 2017-08-24 07:23:00 stdout root@Tengelers-Cloud:/# 2017-08-24 07:22:04 stdout at bootstrap_node.js:504:3 2017-08-24 07:22:04 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:22:04 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:22:04 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:22:04 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:22:04 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:22:04 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:22:04 stdout 2017-08-24 07:22:04 stdout ^ 2017-08-24 07:22:04 stdout throw err; 2017-08-24 07:22:04 stdout module.js:471 2017-08-24 07:21:59 stdout [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:21:59 stdout [?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:21:59 stdout [....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemonProcess 41 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) 2017-08-24 07:21:58 stdout root@Tengelers-Cloud:/opt/iobroker# 2017-08-24 07:21:22 stdout at bootstrap_node.js:504:3 2017-08-24 07:21:22 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:21:22 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:21:22 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:21:22 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:21:22 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:21:22 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:21:22 stdout 2017-08-24 07:21:22 stdout ^ 2017-08-24 07:21:22 stdout throw err; 2017-08-24 07:21:22 stdout module.js:471 2017-08-24 07:21:22 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker str art 2017-08-24 07:21:12 stdout bash: start: command not found 2017-08-24 07:21:12 stdout root@Tengelers-Cloud:/opt/iobroker# start iobroker 2017-08-24 07:21:03 stdout at bootstrap_node.js:504:3 2017-08-24 07:21:03 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:21:03 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:21:03 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:21:03 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:21:03 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:21:03 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:21:03 stdout 2017-08-24 07:21:03 stdout ^ 2017-08-24 07:21:03 stdout throw err; 2017-08-24 07:21:03 stdout module.js:471 2017-08-24 07:21:03 stdout root@Tengelers-Cloud:/opt/iobroker# st iobroker start 2017-08-24 07:20:41 stdout at bootstrap_node.js:504:3 2017-08-24 07:20:41 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:20:41 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:20:41 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:20:41 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:20:41 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:20:41 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:20:41 stdout 2017-08-24 07:20:41 stdout ^ 2017-08-24 07:20:41 stdout throw err; 2017-08-24 07:20:41 stdout module.js:471 2017-08-24 07:20:41 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker start 2017-08-24 07:16:59 stdout Starting node restart.js 2017-08-24 07:16:59 stdout Chmod finished. Restart controller 2017-08-24 07:16:51 stdout Execute: chmod 777 -R /opt/iobroker 2017-08-24 07:16:51 stdout Host "Tengelers-Cloud" (linux) updated 2017-08-24 07:16:51 stdout npm ERR! /opt/iobroker/npm-debug.log 2017-08-24 07:16:51 stdout npm ERR! Please include the following file with any support request: 2017-08-24 07:16:51 stdout 2017-08-24 07:16:51 stdout npm ERR! Move it away, and try again. 2017-08-24 07:16:51 stdout npm ERR! File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/.bin/ncp 2017-08-24 07:16:51 stdout npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/.bin/ncp: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/ncp and not a link 2017-08-24 07:16:51 stdout 2017-08-24 07:16:51 stdout npm ERR! code EEXIST 2017-08-24 07:16:51 stdout npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/.bin/ncp 2017-08-24 07:16:51 stdout npm ERR! npm v3.10.10 2017-08-24 07:16:51 stdout npm ERR! node v6.11.0 2017-08-24 07:16:51 stdout npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller@1.1.2" "--production" "--prefix" "/opt/iobroker" 2017-08-24 07:16:51 stdout npm ERR! Linux 3.10.102 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/rsa-keygen-js 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/rsa-keygen-js: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat and not a link 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: rsa-compat@1.2.7 (node_modules/rsa-compat): 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/certpem 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/certpem: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/certpem and not a link 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: certpem@1.0.1 (node_modules/certpem): 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/sql-client/node_modules/inote-util/node_modules/nconf/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/node_modules/kind-of/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/sql-client/node_modules/inote-util/node_modules/request/node_modules/http-signature/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/node_modules/request-promise/node_modules/request/node_modules/http-signature/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.hue/node_modules/node-hue-api/node_modules/request-util/node_modules/request/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/sql-client/node_modules/inote-util/node_modules/request/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/node_modules/request-promise/node_modules/request/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.simple-api/node_modules/letsencrypt/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.simple-api/node_modules/le-store-certbot/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.simple-api/node_modules/le-challenge-fs/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.hue/node_modules/node-hue-api/node_modules/request-util/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/node_modules/pgpass/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/node_modules/pg-types/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/node_modules/pg-pool/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/node_modules/tedious/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/node_modules/request-promise/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sonos-web-controller/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/package.json' 2017-08-24 07:16:51 stdout iobroker startnpm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/cliui/package.json' 2017-08-24 07:15:18 stdout npm install iobroker.js-controller@1.1.2 --production --prefix "/opt/iobroker" (System call) 2017-08-24 07:15:15 stdout roeroot@Tengelers-Cloud:/opt/iobroker# iobroe ker upgrade self 2017-08-24 07:15:06 stdout Adapter "admin" : 2.0.2 , installed 1.7.6 [Updateable] 2017-08-24 07:15:06 stdout Adapter "amazon-dash" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "artnet" : 0.1.6 2017-08-24 07:15:06 stdout Adapter "b-control-em" : 0.2.1 2017-08-24 07:15:06 stdout Adapter "botvac" : 0.5.0 2017-08-24 07:15:06 stdout Adapter "broadlink" : 0.1.1 2017-08-24 07:15:06 stdout Adapter "chromecast" : 1.2.3 2017-08-24 07:15:06 stdout Adapter "cloud" : 1.0.7 , installed 1.0.8 2017-08-24 07:15:06 stdout Adapter "cul" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "daikin" : 0.2.3 2017-08-24 07:15:06 stdout Adapter "discovery" : 0.4.4 , installed 0.4.4 2017-08-24 07:15:06 stdout Adapter "dwd" : 2.1.1 , installed 2.1.1 2017-08-24 07:15:06 stdout Adapter "email" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "epson_stylus_px830": 0.0.2 2017-08-24 07:15:06 stdout Adapter "fakeroku" : 0.2.1 2017-08-24 07:15:06 stdout Adapter "feiertage" : 0.3.6 , installed 0.3.6 2017-08-24 07:15:06 stdout Adapter "fhem" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "find-my-iphone": 0.2.8 , installed 0.2.8 2017-08-24 07:15:06 stdout Adapter "firetv" : 0.0.27 2017-08-24 07:15:06 stdout Adapter "flot" : 1.6.1 , installed 1.6.1 2017-08-24 07:15:06 stdout Adapter "foobar2000" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "fritzbox" : 0.2.1 , installed 0.2.1 2017-08-24 07:15:06 stdout Adapter "fritzdect" : 0.0.7 2017-08-24 07:15:06 stdout Adapter "fronius" : 1.0.0 2017-08-24 07:15:06 stdout Adapter "geofency" : 0.1.6 , installed 0.1.6 2017-08-24 07:15:06 stdout Adapter "harmony" : 0.7.0 2017-08-24 07:15:06 stdout Adapter "hid" : 0.1.12 2017-08-24 07:15:06 stdout Adapter "history" : 1.6.2 , installed 1.6.2 2017-08-24 07:15:06 stdout Adapter "hm-rega" : 1.5.0 , installed 1.5.0 2017-08-24 07:15:06 stdout Adapter "hm-rpc" : 1.4.11 , installed 1.4.11 2017-08-24 07:15:06 stdout Adapter "hmm" : 1.0.1 2017-08-24 07:15:06 stdout Adapter "homekit2" : 0.1.6 2017-08-24 07:15:06 stdout Adapter "homepilot" : 0.2.6 2017-08-24 07:15:06 stdout Adapter "hue" : 0.6.0 , installed 0.6.9 2017-08-24 07:15:06 stdout Adapter "ical" : 1.3.2 , installed 1.3.2 2017-08-24 07:15:06 stdout Adapter "icons-addictive-flavour-png": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-fatcow-hosting": 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 2017-08-24 07:15:06 stdout Adapter "icons-material-png": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-material-svg": 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-mfd-png" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "icons-mfd-svg" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "icons-open-icon-library-png": 0.1.3 , installed 0.1.3 2017-08-24 07:15:06 stdout Adapter "icons-ultimate-png": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "influxdb" : 1.4.4 2017-08-24 07:15:06 stdout Adapter "innogy-smarthome": 0.1.17 2017-08-24 07:15:06 stdout Adapter "javascript" : 3.4.0 , installed 3.2.6 [Updateable] 2017-08-24 07:15:06 stdout Controller "js-controller" : 1.1.2 , installed 1.0.3 [Updateable] 2017-08-24 07:15:06 stdout Adapter "km200" : 0.4.3 2017-08-24 07:15:06 stdout Adapter "knx" : 0.8.3 2017-08-24 07:15:06 stdout Adapter "kodi" : 0.2.3 2017-08-24 07:15:06 stdout Adapter "landroid" : 1.0.0 2017-08-24 07:15:06 stdout Adapter "landroid-s" : 0.3.0 2017-08-24 07:15:06 stdout Adapter "lgtv" : 1.0.2 2017-08-24 07:15:06 stdout Adapter "lifx" : 0.0.3 2017-08-24 07:15:06 stdout Adapter "lightify" : 0.2.10 2017-08-24 07:15:06 stdout Adapter "maxcul" : 0.2.3 2017-08-24 07:15:06 stdout Adapter "megad" : 1.2.1 2017-08-24 07:15:06 stdout Adapter "megadd" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "megaesp" : 0.1.0 2017-08-24 07:15:06 stdout Adapter "miele" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "mihome" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "mihome-plug" : 0.1.1 2017-08-24 07:15:06 stdout Adapter "mihome-vacuum" : 0.5.6 , installed 0.5.5 [Updateable] 2017-08-24 07:15:06 stdout Adapter "milight" : 0.3.0 2017-08-24 07:15:06 stdout Adapter "mobile" : 0.4.10 , installed 0.4.10 2017-08-24 07:15:06 stdout Adapter "modbus" : 0.5.0 2017-08-24 07:15:06 stdout Adapter "mpd" : 0.2.4 2017-08-24 07:15:06 stdout Adapter "mqtt" : 1.3.2 2017-08-24 07:15:06 stdout Adapter "mqtt-client" : 0.3.0 2017-08-24 07:15:06 stdout Adapter "mysensors" : 1.0.7 2017-08-24 07:15:06 stdout Adapter "netatmo" : 1.1.5 2017-08-24 07:15:06 stdout Adapter "node-red" : 1.1.6 , installed 1.1.6 2017-08-24 07:15:06 stdout Adapter "noolite" : 0.0.1 2017-08-24 07:15:06 stdout Adapter "nut" : 1.1.1 2017-08-24 07:15:06 stdout Adapter "onkyo" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "openhab" : 0.1.4 2017-08-24 07:15:06 stdout Adapter "owfs" : 0.4.0 2017-08-24 07:15:06 stdout Adapter "owntracks" : 0.2.0 , installed 0.2.0 2017-08-24 07:15:06 stdout Adapter "parser" : 0.2.1 2017-08-24 07:15:06 stdout Adapter "paw" : 0.0.4 2017-08-24 07:15:06 stdout Adapter "phantomjs" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "piface" : 0.0.9 2017-08-24 07:15:06 stdout Adapter "pimatic" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "ping" : 1.2.0 , installed 1.2.0 2017-08-24 07:15:06 stdout Adapter "proxy" : 0.1.0 2017-08-24 07:15:06 stdout Adapter "pushbullet" : 0.0.11 2017-08-24 07:15:06 stdout Adapter "pushover" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "pushsafer" : 0.1.7 2017-08-24 07:15:06 stdout Adapter "radar" : 0.7.3 2017-08-24 07:15:06 stdout Adapter "rflink" : 1.1.2 2017-08-24 07:15:06 stdout Adapter "rickshaw" : 0.4.4 2017-08-24 07:15:06 stdout Adapter "rpi2" : 0.3.1 , installed 0.3.1 2017-08-24 07:15:06 stdout Adapter "rwe-smarthome" : 0.1.11 2017-08-24 07:15:06 stdout Adapter "s7" : 0.2.5 2017-08-24 07:15:06 stdout Adapter "samsung" : 0.2.4 , installed 0.2.4 2017-08-24 07:15:06 stdout Adapter "sayit" : 1.5.1 , installed 1.5.1 2017-08-24 07:15:06 stdout Adapter "scenes" : 0.2.6 , installed 0.2.6 2017-08-24 07:15:06 stdout Adapter "simple-api" : 1.3.0 , installed 1.3.0 2017-08-24 07:15:06 stdout Adapter "smartmeter" : 0.5.8 2017-08-24 07:15:06 stdout Adapter "socketio" : 1.8.0 , installed 1.7.4 [Updateable] 2017-08-24 07:15:06 stdout Adapter "solarwetter" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "sonos" : 1.6.0 2017-08-24 07:15:06 stdout Adapter "sql" : 1.5.4 2017-08-24 07:15:06 stdout Adapter "squeezebox" : 0.1.0 2017-08-24 07:15:06 stdout Adapter "starline" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "tankerkoenig" : 1.0.0 , installed 1.0.1 2017-08-24 07:15:06 stdout Adapter "telegram" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "terminal" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "text2command" : 1.1.3 2017-08-24 07:15:06 stdout Adapter "tr-064" : 0.3.17 , installed 0.3.21 2017-08-24 07:15:06 stdout Adapter "tvspielfilm" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "unifi" : 0.3.1 , installed 0.3.1 2017-08-24 07:15:06 stdout Adapter "upnp" : 0.3.5 2017-08-24 07:15:06 stdout Adapter "vcard" : 0.0.8 2017-08-24 07:15:06 stdout Adapter "vis" : 0.15.5 , installed 0.15.5 2017-08-24 07:15:06 stdout Adapter "vis-bars" : 0.1.2 , installed 0.1.2 2017-08-24 07:15:06 stdout Adapter "vis-canvas-gauges": 0.1.5 , installed 0.1.5 2017-08-24 07:15:06 stdout Adapter "vis-colorpicker": 1.1.1 , installed 1.1.1 2017-08-24 07:15:06 stdout Adapter "vis-fancyswitch": 1.0.0 , installed 1.0.0 2017-08-24 07:15:06 stdout Adapter "vis-google-fonts": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "vis-history" : 0.2.4 , installed 0.2.4 2017-08-24 07:15:06 stdout Adapter "vis-hqwidgets" : 1.0.6 , installed 1.0.6 2017-08-24 07:15:06 stdout Adapter "vis-jqui-mfd" : 1.0.5 , installed 1.0.5 2017-08-24 07:15:06 stdout Adapter "vis-justgage" : 0.7.1 , installed 0.7.1 2017-08-24 07:15:06 stdout Adapter "vis-keyboard" : 0.0.2 , installed 0.0.2 2017-08-24 07:15:06 stdout Adapter "vis-lcars" : 1.0.1 2017-08-24 07:15:06 stdout Adapter "vis-map" : 0.1.4 , installed 0.1.4 2017-08-24 07:15:06 stdout Adapter "vis-metro" : 1.0.4 , installed 1.0.4 2017-08-24 07:15:06 stdout Adapter "vis-players" : 0.1.4 , installed 0.1.4 2017-08-24 07:15:06 stdout Adapter "vis-plumb" : 0.1.6 , installed 0.1.6 2017-08-24 07:15:06 stdout Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 2017-08-24 07:15:06 stdout Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7 2017-08-24 07:15:06 stdout Adapter "weatherunderground": 1.0.2 2017-08-24 07:15:06 stdout Adapter "web" : 2.1.3 , installed 2.0.6 [Updateable] 2017-08-24 07:15:06 stdout Adapter "wetty" : 0.1.1 2017-08-24 07:15:06 stdout Adapter "wifilight" : 0.1.4 2017-08-24 07:15:06 stdout Adapter "wm-bus" : 0.1.12 2017-08-24 07:15:06 stdout Adapter "wolf" : 0.9.2 2017-08-24 07:15:06 stdout Adapter "xs1" : 0.5.2 2017-08-24 07:15:06 stdout Adapter "yahka" : 0.5.4 2017-08-24 07:15:06 stdout Adapter "yamaha" : 0.3.14 2017-08-24 07:15:06 stdout Adapter "yr" : 1.0.5 , installed 1.0.5 2017-08-24 07:15:06 stdout Adapter "zwave" : 0.4.4 2017-08-24 07:15:06 stdout iobupdate done 2017-08-24 07:15:01 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker update 2017-08-24 07:14:58 stdout Exit code for "killall.sh": 127 2017-08-24 07:14:58 stdout iobroker updateiobroker controller daemon stopped. 2017-08-24 07:14:46 stdout Stopping iobroker controller daemon... 2017-08-24 07:14:45 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker stop 2017-08-24 07:14:32 stdout root@Tengelers-Cloud:/# cd opt/iobroker 2017-08-24 07:14:23 stdout root@Tengelers-Cloud:/# 2017-08-24 07:14:20 stdout bash: sudo: command not found 2017-08-24 07:14:20 stdout root@Tengelers-Cloud:/# sudo iobroker start 2017-08-24 07:14:08 stdout bash: sudo: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# sudo iobroker upgrade self 2017-08-24 07:14:08 stdout bash: sudo: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# sudo iobroker update 2017-08-24 07:14:08 stdout bash: sudo: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# sudo iobroker stop 2017-08-24 07:14:08 stdout bash: start: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# [Kroot@Tengelers-Cloud:/# start iobroker# cd /opt/iobroker [/code]` `~~[code]~~[0mroot@Tengelers-Cloud:/# 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m /npm-debug.log 2017-08-24 14:00:19 stdout [37;40mnpm[0m [0m[31;40mERR![0m[35m[0m Please include the following file with any support request: 2017-08-24 14:00:19 stdout [0m 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m tarball, folder, http url, or git url. 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m Note that you can also install from a 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m You should bug the author to publish it (or use the name yourself!) 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m 'js-controller' is not in the npm registry. 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m 2017-08-24 14:00:19 stdout [37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m Registry returned 404 for GET on https://registry.npmjs.org/js-controller 2017-08-24 14:00:19 stdout [0m 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mcode[0m E404 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mnpm [0m v3.10.10 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mnode[0m v6.11.0 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35margv[0m "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "js-controller" 2017-08-24 14:00:19 stdout [?25l[[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] \ normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [K[?25h[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m Linux 3.10.102 2017-08-24 14:00:17 stdout root@Tengelers-Cloud:/# npm install iobroker js-controller 2017-08-24 14:00:04 stdout at bootstrap_node.js:504:3 2017-08-24 14:00:04 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 14:00:04 stdout at run (bootstrap_node.js:389:7) 2017-08-24 14:00:04 stdout at Module.runMain (module.js:604:10) 2017-08-24 14:00:04 stdout at Function.Module._load (module.js:417:25) 2017-08-24 14:00:04 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 14:00:04 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 14:00:04 stdout 2017-08-24 14:00:04 stdout ^ 2017-08-24 14:00:04 stdout throw err; 2017-08-24 14:00:04 stdout module.js:471 2017-08-24 14:00:04 stdout [?25l[[90m..................[0m] \ : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] | : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] \ : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] \ : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] | : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] | : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [K[?25hroot@Tengelers-Cloud:/# iobroker stop 2017-08-24 13:59:47 stdout root@Tengelers-Cloud:/# [Kroot@Tengelers-Cloud:/# npm cache clean [/code]` vielleicht kannst du da auch sehen warum das nicht geklappt hat. Gruß Sven[/code]
-
Du musst im Terminal updaten ohne "sudo" davor.
Nur:
cd /opt/iobroker iobroker stop npm install iobroker.js-controller --production iobroker start
-
Hallo Andre,
ehrlich gesagt habe ich Angst das nochmal zu probieren. Ich habe das gestern versucht und das ist gründlich in die Hose gegangen.
Es ging nur über das wiederherstellen einer Sicherung wieder.
Nur nochmal für mein Verständnis, ich kann das aus dem Docker Terminal anstoßen oder?
Hier die Fehler von Gestern nochmal:
Mein erster Versuch:
`2017-08-24 07:23:25 stdout at bootstrap_node.js:504:3 2017-08-24 07:23:25 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:23:25 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:23:25 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:23:25 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:23:25 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:23:25 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:23:25 stdout 2017-08-24 07:23:25 stdout ^ 2017-08-24 07:23:25 stdout throw err; 2017-08-24 07:23:25 stdout module.js:471 2017-08-24 07:23:20 stdout [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:23:20 stdout [?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:23:20 stdout [....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemonProcess 40 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) 2017-08-24 07:23:00 stdout root@Tengelers-Cloud:/# 2017-08-24 07:22:04 stdout at bootstrap_node.js:504:3 2017-08-24 07:22:04 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:22:04 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:22:04 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:22:04 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:22:04 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:22:04 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:22:04 stdout 2017-08-24 07:22:04 stdout ^ 2017-08-24 07:22:04 stdout throw err; 2017-08-24 07:22:04 stdout module.js:471 2017-08-24 07:21:59 stdout [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:21:59 stdout [?25l7[1G[[32m ok [39;49m8[?12l[?25h. 2017-08-24 07:21:59 stdout [....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemonProcess 41 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) 2017-08-24 07:21:58 stdout root@Tengelers-Cloud:/opt/iobroker# 2017-08-24 07:21:22 stdout at bootstrap_node.js:504:3 2017-08-24 07:21:22 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:21:22 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:21:22 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:21:22 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:21:22 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:21:22 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:21:22 stdout 2017-08-24 07:21:22 stdout ^ 2017-08-24 07:21:22 stdout throw err; 2017-08-24 07:21:22 stdout module.js:471 2017-08-24 07:21:22 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker str art 2017-08-24 07:21:12 stdout bash: start: command not found 2017-08-24 07:21:12 stdout root@Tengelers-Cloud:/opt/iobroker# start iobroker 2017-08-24 07:21:03 stdout at bootstrap_node.js:504:3 2017-08-24 07:21:03 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:21:03 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:21:03 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:21:03 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:21:03 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:21:03 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:21:03 stdout 2017-08-24 07:21:03 stdout ^ 2017-08-24 07:21:03 stdout throw err; 2017-08-24 07:21:03 stdout module.js:471 2017-08-24 07:21:03 stdout root@Tengelers-Cloud:/opt/iobroker# st iobroker start 2017-08-24 07:20:41 stdout at bootstrap_node.js:504:3 2017-08-24 07:20:41 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 07:20:41 stdout at run (bootstrap_node.js:389:7) 2017-08-24 07:20:41 stdout at Module.runMain (module.js:604:10) 2017-08-24 07:20:41 stdout at Function.Module._load (module.js:417:25) 2017-08-24 07:20:41 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 07:20:41 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 07:20:41 stdout 2017-08-24 07:20:41 stdout ^ 2017-08-24 07:20:41 stdout throw err; 2017-08-24 07:20:41 stdout module.js:471 2017-08-24 07:20:41 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker start 2017-08-24 07:16:59 stdout Starting node restart.js 2017-08-24 07:16:59 stdout Chmod finished. Restart controller 2017-08-24 07:16:51 stdout Execute: chmod 777 -R /opt/iobroker 2017-08-24 07:16:51 stdout Host "Tengelers-Cloud" (linux) updated 2017-08-24 07:16:51 stdout npm ERR! /opt/iobroker/npm-debug.log 2017-08-24 07:16:51 stdout npm ERR! Please include the following file with any support request: 2017-08-24 07:16:51 stdout 2017-08-24 07:16:51 stdout npm ERR! Move it away, and try again. 2017-08-24 07:16:51 stdout npm ERR! File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/.bin/ncp 2017-08-24 07:16:51 stdout npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/.bin/ncp: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/ncp and not a link 2017-08-24 07:16:51 stdout 2017-08-24 07:16:51 stdout npm ERR! code EEXIST 2017-08-24 07:16:51 stdout npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/.bin/ncp 2017-08-24 07:16:51 stdout npm ERR! npm v3.10.10 2017-08-24 07:16:51 stdout npm ERR! node v6.11.0 2017-08-24 07:16:51 stdout npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller@1.1.2" "--production" "--prefix" "/opt/iobroker" 2017-08-24 07:16:51 stdout npm ERR! Linux 3.10.102 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/rsa-keygen-js 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/rsa-keygen-js: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat and not a link 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: rsa-compat@1.2.7 (node_modules/rsa-compat): 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/certpem 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/.bin/certpem: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/certpem and not a link 2017-08-24 07:16:51 stdout npm WARN optional SKIPPING OPTIONAL DEPENDENCY: certpem@1.0.1 (node_modules/certpem): 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/sql-client/node_modules/inote-util/node_modules/nconf/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/node_modules/kind-of/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/sql-client/node_modules/inote-util/node_modules/request/node_modules/http-signature/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/node_modules/request-promise/node_modules/request/node_modules/http-signature/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.hue/node_modules/node-hue-api/node_modules/request-util/node_modules/request/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/sql-client/node_modules/inote-util/node_modules/request/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/node_modules/request-promise/node_modules/request/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.simple-api/node_modules/letsencrypt/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.simple-api/node_modules/le-store-certbot/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.web/node_modules/iobroker.simple-api/node_modules/le-challenge-fs/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.hue/node_modules/node-hue-api/node_modules/request-util/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/node_modules/pgpass/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/node_modules/pg-types/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/node_modules/pg-pool/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/node_modules/tedious/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/node_modules/request-promise/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/pg/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sonos-web-controller/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sql/package.json' 2017-08-24 07:16:51 stdout npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.sonos/package.json' 2017-08-24 07:16:51 stdout iobroker startnpm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/cliui/package.json' 2017-08-24 07:15:18 stdout npm install iobroker.js-controller@1.1.2 --production --prefix "/opt/iobroker" (System call) 2017-08-24 07:15:15 stdout roeroot@Tengelers-Cloud:/opt/iobroker# iobroe ker upgrade self 2017-08-24 07:15:06 stdout Adapter "admin" : 2.0.2 , installed 1.7.6 [Updateable] 2017-08-24 07:15:06 stdout Adapter "amazon-dash" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "artnet" : 0.1.6 2017-08-24 07:15:06 stdout Adapter "b-control-em" : 0.2.1 2017-08-24 07:15:06 stdout Adapter "botvac" : 0.5.0 2017-08-24 07:15:06 stdout Adapter "broadlink" : 0.1.1 2017-08-24 07:15:06 stdout Adapter "chromecast" : 1.2.3 2017-08-24 07:15:06 stdout Adapter "cloud" : 1.0.7 , installed 1.0.8 2017-08-24 07:15:06 stdout Adapter "cul" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "daikin" : 0.2.3 2017-08-24 07:15:06 stdout Adapter "discovery" : 0.4.4 , installed 0.4.4 2017-08-24 07:15:06 stdout Adapter "dwd" : 2.1.1 , installed 2.1.1 2017-08-24 07:15:06 stdout Adapter "email" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "epson_stylus_px830": 0.0.2 2017-08-24 07:15:06 stdout Adapter "fakeroku" : 0.2.1 2017-08-24 07:15:06 stdout Adapter "feiertage" : 0.3.6 , installed 0.3.6 2017-08-24 07:15:06 stdout Adapter "fhem" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "find-my-iphone": 0.2.8 , installed 0.2.8 2017-08-24 07:15:06 stdout Adapter "firetv" : 0.0.27 2017-08-24 07:15:06 stdout Adapter "flot" : 1.6.1 , installed 1.6.1 2017-08-24 07:15:06 stdout Adapter "foobar2000" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "fritzbox" : 0.2.1 , installed 0.2.1 2017-08-24 07:15:06 stdout Adapter "fritzdect" : 0.0.7 2017-08-24 07:15:06 stdout Adapter "fronius" : 1.0.0 2017-08-24 07:15:06 stdout Adapter "geofency" : 0.1.6 , installed 0.1.6 2017-08-24 07:15:06 stdout Adapter "harmony" : 0.7.0 2017-08-24 07:15:06 stdout Adapter "hid" : 0.1.12 2017-08-24 07:15:06 stdout Adapter "history" : 1.6.2 , installed 1.6.2 2017-08-24 07:15:06 stdout Adapter "hm-rega" : 1.5.0 , installed 1.5.0 2017-08-24 07:15:06 stdout Adapter "hm-rpc" : 1.4.11 , installed 1.4.11 2017-08-24 07:15:06 stdout Adapter "hmm" : 1.0.1 2017-08-24 07:15:06 stdout Adapter "homekit2" : 0.1.6 2017-08-24 07:15:06 stdout Adapter "homepilot" : 0.2.6 2017-08-24 07:15:06 stdout Adapter "hue" : 0.6.0 , installed 0.6.9 2017-08-24 07:15:06 stdout Adapter "ical" : 1.3.2 , installed 1.3.2 2017-08-24 07:15:06 stdout Adapter "icons-addictive-flavour-png": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-fatcow-hosting": 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 2017-08-24 07:15:06 stdout Adapter "icons-material-png": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-material-svg": 0.1.0 2017-08-24 07:15:06 stdout Adapter "icons-mfd-png" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "icons-mfd-svg" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "icons-open-icon-library-png": 0.1.3 , installed 0.1.3 2017-08-24 07:15:06 stdout Adapter "icons-ultimate-png": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "influxdb" : 1.4.4 2017-08-24 07:15:06 stdout Adapter "innogy-smarthome": 0.1.17 2017-08-24 07:15:06 stdout Adapter "javascript" : 3.4.0 , installed 3.2.6 [Updateable] 2017-08-24 07:15:06 stdout Controller "js-controller" : 1.1.2 , installed 1.0.3 [Updateable] 2017-08-24 07:15:06 stdout Adapter "km200" : 0.4.3 2017-08-24 07:15:06 stdout Adapter "knx" : 0.8.3 2017-08-24 07:15:06 stdout Adapter "kodi" : 0.2.3 2017-08-24 07:15:06 stdout Adapter "landroid" : 1.0.0 2017-08-24 07:15:06 stdout Adapter "landroid-s" : 0.3.0 2017-08-24 07:15:06 stdout Adapter "lgtv" : 1.0.2 2017-08-24 07:15:06 stdout Adapter "lifx" : 0.0.3 2017-08-24 07:15:06 stdout Adapter "lightify" : 0.2.10 2017-08-24 07:15:06 stdout Adapter "maxcul" : 0.2.3 2017-08-24 07:15:06 stdout Adapter "megad" : 1.2.1 2017-08-24 07:15:06 stdout Adapter "megadd" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "megaesp" : 0.1.0 2017-08-24 07:15:06 stdout Adapter "miele" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "mihome" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "mihome-plug" : 0.1.1 2017-08-24 07:15:06 stdout Adapter "mihome-vacuum" : 0.5.6 , installed 0.5.5 [Updateable] 2017-08-24 07:15:06 stdout Adapter "milight" : 0.3.0 2017-08-24 07:15:06 stdout Adapter "mobile" : 0.4.10 , installed 0.4.10 2017-08-24 07:15:06 stdout Adapter "modbus" : 0.5.0 2017-08-24 07:15:06 stdout Adapter "mpd" : 0.2.4 2017-08-24 07:15:06 stdout Adapter "mqtt" : 1.3.2 2017-08-24 07:15:06 stdout Adapter "mqtt-client" : 0.3.0 2017-08-24 07:15:06 stdout Adapter "mysensors" : 1.0.7 2017-08-24 07:15:06 stdout Adapter "netatmo" : 1.1.5 2017-08-24 07:15:06 stdout Adapter "node-red" : 1.1.6 , installed 1.1.6 2017-08-24 07:15:06 stdout Adapter "noolite" : 0.0.1 2017-08-24 07:15:06 stdout Adapter "nut" : 1.1.1 2017-08-24 07:15:06 stdout Adapter "onkyo" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "openhab" : 0.1.4 2017-08-24 07:15:06 stdout Adapter "owfs" : 0.4.0 2017-08-24 07:15:06 stdout Adapter "owntracks" : 0.2.0 , installed 0.2.0 2017-08-24 07:15:06 stdout Adapter "parser" : 0.2.1 2017-08-24 07:15:06 stdout Adapter "paw" : 0.0.4 2017-08-24 07:15:06 stdout Adapter "phantomjs" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "piface" : 0.0.9 2017-08-24 07:15:06 stdout Adapter "pimatic" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "ping" : 1.2.0 , installed 1.2.0 2017-08-24 07:15:06 stdout Adapter "proxy" : 0.1.0 2017-08-24 07:15:06 stdout Adapter "pushbullet" : 0.0.11 2017-08-24 07:15:06 stdout Adapter "pushover" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "pushsafer" : 0.1.7 2017-08-24 07:15:06 stdout Adapter "radar" : 0.7.3 2017-08-24 07:15:06 stdout Adapter "rflink" : 1.1.2 2017-08-24 07:15:06 stdout Adapter "rickshaw" : 0.4.4 2017-08-24 07:15:06 stdout Adapter "rpi2" : 0.3.1 , installed 0.3.1 2017-08-24 07:15:06 stdout Adapter "rwe-smarthome" : 0.1.11 2017-08-24 07:15:06 stdout Adapter "s7" : 0.2.5 2017-08-24 07:15:06 stdout Adapter "samsung" : 0.2.4 , installed 0.2.4 2017-08-24 07:15:06 stdout Adapter "sayit" : 1.5.1 , installed 1.5.1 2017-08-24 07:15:06 stdout Adapter "scenes" : 0.2.6 , installed 0.2.6 2017-08-24 07:15:06 stdout Adapter "simple-api" : 1.3.0 , installed 1.3.0 2017-08-24 07:15:06 stdout Adapter "smartmeter" : 0.5.8 2017-08-24 07:15:06 stdout Adapter "socketio" : 1.8.0 , installed 1.7.4 [Updateable] 2017-08-24 07:15:06 stdout Adapter "solarwetter" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "sonos" : 1.6.0 2017-08-24 07:15:06 stdout Adapter "sql" : 1.5.4 2017-08-24 07:15:06 stdout Adapter "squeezebox" : 0.1.0 2017-08-24 07:15:06 stdout Adapter "starline" : 0.2.0 2017-08-24 07:15:06 stdout Adapter "tankerkoenig" : 1.0.0 , installed 1.0.1 2017-08-24 07:15:06 stdout Adapter "telegram" : 1.0.2 , installed 1.0.2 2017-08-24 07:15:06 stdout Adapter "terminal" : 0.1.2 2017-08-24 07:15:06 stdout Adapter "text2command" : 1.1.3 2017-08-24 07:15:06 stdout Adapter "tr-064" : 0.3.17 , installed 0.3.21 2017-08-24 07:15:06 stdout Adapter "tvspielfilm" : 0.2.2 2017-08-24 07:15:06 stdout Adapter "unifi" : 0.3.1 , installed 0.3.1 2017-08-24 07:15:06 stdout Adapter "upnp" : 0.3.5 2017-08-24 07:15:06 stdout Adapter "vcard" : 0.0.8 2017-08-24 07:15:06 stdout Adapter "vis" : 0.15.5 , installed 0.15.5 2017-08-24 07:15:06 stdout Adapter "vis-bars" : 0.1.2 , installed 0.1.2 2017-08-24 07:15:06 stdout Adapter "vis-canvas-gauges": 0.1.5 , installed 0.1.5 2017-08-24 07:15:06 stdout Adapter "vis-colorpicker": 1.1.1 , installed 1.1.1 2017-08-24 07:15:06 stdout Adapter "vis-fancyswitch": 1.0.0 , installed 1.0.0 2017-08-24 07:15:06 stdout Adapter "vis-google-fonts": 0.1.0 , installed 0.1.0 2017-08-24 07:15:06 stdout Adapter "vis-history" : 0.2.4 , installed 0.2.4 2017-08-24 07:15:06 stdout Adapter "vis-hqwidgets" : 1.0.6 , installed 1.0.6 2017-08-24 07:15:06 stdout Adapter "vis-jqui-mfd" : 1.0.5 , installed 1.0.5 2017-08-24 07:15:06 stdout Adapter "vis-justgage" : 0.7.1 , installed 0.7.1 2017-08-24 07:15:06 stdout Adapter "vis-keyboard" : 0.0.2 , installed 0.0.2 2017-08-24 07:15:06 stdout Adapter "vis-lcars" : 1.0.1 2017-08-24 07:15:06 stdout Adapter "vis-map" : 0.1.4 , installed 0.1.4 2017-08-24 07:15:06 stdout Adapter "vis-metro" : 1.0.4 , installed 1.0.4 2017-08-24 07:15:06 stdout Adapter "vis-players" : 0.1.4 , installed 0.1.4 2017-08-24 07:15:06 stdout Adapter "vis-plumb" : 0.1.6 , installed 0.1.6 2017-08-24 07:15:06 stdout Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 2017-08-24 07:15:06 stdout Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7 2017-08-24 07:15:06 stdout Adapter "weatherunderground": 1.0.2 2017-08-24 07:15:06 stdout Adapter "web" : 2.1.3 , installed 2.0.6 [Updateable] 2017-08-24 07:15:06 stdout Adapter "wetty" : 0.1.1 2017-08-24 07:15:06 stdout Adapter "wifilight" : 0.1.4 2017-08-24 07:15:06 stdout Adapter "wm-bus" : 0.1.12 2017-08-24 07:15:06 stdout Adapter "wolf" : 0.9.2 2017-08-24 07:15:06 stdout Adapter "xs1" : 0.5.2 2017-08-24 07:15:06 stdout Adapter "yahka" : 0.5.4 2017-08-24 07:15:06 stdout Adapter "yamaha" : 0.3.14 2017-08-24 07:15:06 stdout Adapter "yr" : 1.0.5 , installed 1.0.5 2017-08-24 07:15:06 stdout Adapter "zwave" : 0.4.4 2017-08-24 07:15:06 stdout iobupdate done 2017-08-24 07:15:01 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker update 2017-08-24 07:14:58 stdout Exit code for "killall.sh": 127 2017-08-24 07:14:58 stdout iobroker updateiobroker controller daemon stopped. 2017-08-24 07:14:46 stdout Stopping iobroker controller daemon... 2017-08-24 07:14:45 stdout root@Tengelers-Cloud:/opt/iobroker# iobroker stop 2017-08-24 07:14:32 stdout root@Tengelers-Cloud:/# cd opt/iobroker 2017-08-24 07:14:23 stdout root@Tengelers-Cloud:/# 2017-08-24 07:14:20 stdout bash: sudo: command not found 2017-08-24 07:14:20 stdout root@Tengelers-Cloud:/# sudo iobroker start 2017-08-24 07:14:08 stdout bash: sudo: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# sudo iobroker upgrade self 2017-08-24 07:14:08 stdout bash: sudo: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# sudo iobroker update 2017-08-24 07:14:08 stdout bash: sudo: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# sudo iobroker stop 2017-08-24 07:14:08 stdout bash: start: command not found 2017-08-24 07:14:08 stdout root@Tengelers-Cloud:/# [Kroot@Tengelers-Cloud:/# start iobroker# cd /opt/iobroker [/code]` `~~[code]~~[0mroot@Tengelers-Cloud:/# 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m /npm-debug.log 2017-08-24 14:00:19 stdout [37;40mnpm[0m [0m[31;40mERR![0m[35m[0m Please include the following file with any support request: 2017-08-24 14:00:19 stdout [0m 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m tarball, folder, http url, or git url. 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m Note that you can also install from a 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m You should bug the author to publish it (or use the name yourself!) 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m 'js-controller' is not in the npm registry. 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m 2017-08-24 14:00:19 stdout [37;40mnpm[0m [0m[31;40mERR![0m [0m[35m404[0m Registry returned 404 for GET on https://registry.npmjs.org/js-controller 2017-08-24 14:00:19 stdout [0m 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mcode[0m E404 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mnpm [0m v3.10.10 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mnode[0m v6.11.0 2017-08-24 14:00:19 stdout [0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35margv[0m "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "js-controller" 2017-08-24 14:00:19 stdout [?25l[[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] | normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] / normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] - normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [[90m..................[0m] \ normalizeTree: [7msill[0m [35minstall[0m loadCurrentTree[K [K[?25h[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m Linux 3.10.102 2017-08-24 14:00:17 stdout root@Tengelers-Cloud:/# npm install iobroker js-controller 2017-08-24 14:00:04 stdout at bootstrap_node.js:504:3 2017-08-24 14:00:04 stdout at startup (bootstrap_node.js:149:9) 2017-08-24 14:00:04 stdout at run (bootstrap_node.js:389:7) 2017-08-24 14:00:04 stdout at Module.runMain (module.js:604:10) 2017-08-24 14:00:04 stdout at Function.Module._load (module.js:417:25) 2017-08-24 14:00:04 stdout at Function.Module._resolveFilename (module.js:469:15) 2017-08-24 14:00:04 stdout Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' 2017-08-24 14:00:04 stdout 2017-08-24 14:00:04 stdout ^ 2017-08-24 14:00:04 stdout throw err; 2017-08-24 14:00:04 stdout module.js:471 2017-08-24 14:00:04 stdout [?25l[[90m..................[0m] \ : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] | : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] \ : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] \ : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] | : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] | : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] / : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [[90m..................[0m] - : [32minfo[0m [35musing[0m node@v6.11.0[K [K[?25hroot@Tengelers-Cloud:/# iobroker stop 2017-08-24 13:59:47 stdout root@Tengelers-Cloud:/# [Kroot@Tengelers-Cloud:/# npm cache clean [/code]` vielleicht kannst du da auch sehen warum das nicht geklappt hat. Gruß Sven Keine Panik. Mal der Reihe nach. Wie Superdad schon angemerkt hat, im Terminal des Containers benötigst du kein sudo (ist dort gar nicht vorhanden). Das hast du ja aber laut Log auch selbst raus gefunden ;) Dann hast du alles nach Vorschrift gemacht. Allerdings hat "iobroker upgrade self" nicht funktioniert. Danach war dein js-controller defekt und iobroker ist nicht mehr gestartet. genau dieses Phänomen hatte ich beim Update auch. Keine Ahnung woran das liegt, aber "iobroker upgrade self" funktioniert manchmal nicht. Bei mir hat dann allerdings immer ein "npm install iobroker.js-controller --production" geholfen. Das ist nämlich der Befehl mit dem du den js-controller neu installieren kannst. In deinem zweiten Versuch hast du es dann damit versucht, allerdings hast du zwischen iobroker und js-controller den Punkt vergessen... `~~[code]~~2017-08-24 14:00:17 stdout root@Tengelers-Cloud:/# npm install iobroker js-controller[/code]` Resultat: der paketmanager (npm) konnte das Paket nicht finden... Zum Thema Backup vor dem Update noch ein Tipp: Du kannst den Container über die Docker Oberfläche mit samt Inhalt auf deine DS exportieren. Dauert nur wenige Minuten. Wenn du das vor so einer Aktion tust, bist du safe falls was schief geht. Sollte es so kommen, den defekten Container löschen und den exportierten (Einstellungen und Inhalt!) wieder importieren. Funktioniert wunderbar. :) Versuche es gerne nochmal mit den beschriebenen Schritten. Im Zweifel auch gerne mal alle anderen Pakete des Containers aktualisieren: `~~[code]~~apt-get update apt-get upgrade[/code]` Dann bekommst du zum Beispiel auch die aktuelle Node Version mit samt npm... Falls das alles nicht klappt, Ausgabe posten, dann schau ich wo es noch klemmen könnte. MfG, André[/code] ``` `
-
ok habe folgenden workaround:
apt-get install -y locales locale-gen de_DE.UTF-8 export LANG=de_DE.UTF-8 iobroker stop iobroker start
jetzt passt es.
Wie kann ich das fest einstellen - damit die Einstellungen einen Neustart überleben ?
Habe das in /etc/profile einegragen - das hat aber nicht funktioniert.. `
Habe gerade einen Fix in das Image eingebaut. Locale stimmt jetzt.
MfG,
André
-
> Habe gerade einen Fix in das Image eingebaut. Locale stimmt jetzt
Jo, kann ich bestätigen - auch Library is drin !
Habe das neue Image geladen und nun komplett auf Docker umgestellt (+ 1 RP3 als "Slave-Instanz")
Danke für die sehr gute Arbeit !
-
Kann ich das neue Docker ioBroker image einfach installieren.? Also zum Beispiel meinen bisherigen Container löschen, einen neuen mit dem neuen Image erstellen!? Dann mein iobroker Verzeichniss ,was auf der DS liegt (dank dir) wieder neu mounten?
Versteh ich das soweit richtig?
Gruss Ralf
Gesendet von iPad mit Tapatalk
-
Moinsen,
heute habe ich mich angemeldet, da ich mich neuerdings mit dem Thema ioBroker auseinandersetze - ich in auf dem Pfade der Homeautomation mit Hue, Sonos, Alexa, Harmony, Tado, HomeKit und einigen anderen Spielsachen angelangt.
Dabei habe ich auch ioBroker entdeckt und da ich eine Synology mein eigen nenne (DS412+) und bereits den Unifi Docker verwende, bin ich also gleich an die Installation des ioBrokers angegangen - nur leider ohne Erfolg. Ich kann den buanet/iobroker nicht mal laden, der wird bei mir bis 263MB geladen, dann schaufelt er eine Weile weiter und dann verschwindet er von der Image Liste, Gleiches gilt, wenn ich z.B. den iobroker/iobroker versuche zu laden.
Andere Docker aber, kann ich anstandslos laden - nur nicht die ioBroker :shock: :shock:
Stimmt da was mit den Images nicht, oder mache ich etwas falsch ?
Danke für jeden Tipp!
Grüße aus Hamburg!
-
> Habe gerade einen Fix in das Image eingebaut. Locale stimmt jetzt
Jo, kann ich bestätigen - auch Library is drin !
Habe das neue Image geladen und nun komplett auf Docker umgestellt (+ 1 RP3 als "Slave-Instanz")
Danke für die sehr gute Arbeit ! `
Danke für die Rückmeldung!
Kann ich das neue Docker ioBroker image einfach installieren.? Also zum Beispiel meinen bisherigen Container löschen, einen neuen mit dem neuen Image erstellen!? Dann mein iobroker Verzeichniss ,was auf der DS liegt (dank dir) wieder neu mounten?
Versteh ich das soweit richtig?
Gruss Ralf `
Ja, so sollte es funktionieren.
Ich mache es immer so: Über die Docker Oberfläche die Einstellungen des Containers exportieren, den Container löschen, das Image löschen, Image neu laden, Container wieder importieren. Funktioniert natürlich nur wenn der ioBroker-Ordner auf der DS liegt.
Moinsen,
heute habe ich mich angemeldet, da ich mich neuerdings mit dem Thema ioBroker auseinandersetze - ich in auf dem Pfade der Homeautomation mit Hue, Sonos, Alexa, Harmony, Tado, HomeKit und einigen anderen Spielsachen angelangt.
Dabei habe ich auch ioBroker entdeckt und da ich eine Synology mein eigen nenne (DS412+) und bereits den Unifi Docker verwende, bin ich also gleich an die Installation des ioBrokers angegangen - nur leider ohne Erfolg. Ich kann den buanet/iobroker nicht mal laden, der wird bei mir bis 263MB geladen, dann schaufelt er eine Weile weiter und dann verschwindet er von der Image Liste, Gleiches gilt, wenn ich z.B. den iobroker/iobroker versuche zu laden.
Andere Docker aber, kann ich anstandslos laden - nur nicht die ioBroker :shock: :shock:
Stimmt da was mit den Images nicht, oder mache ich etwas falsch ?
Danke für jeden Tipp!
Grüße aus Hamburg! `
Da ich bisher nichts in der Richtung gehört habe, gehe ich nicht davon aus, dass die Images einen Fehler haben. Ich tippe eher auf ein Problem mit z.B. der Image Größe(?). Hast du dazu mal Google befragt? Hab da eben auf die Schnelle den Hinweis gefunden, das Image mal manuell zu laden. Also über die Kommandozeile der DS (http://www.synology-wiki.de/index.php/Die_Kommandozeile).
docker pull buanet/iobroker
Grüße aus Winsen an der Luhe
André
-
ok super.
Danke dir werde ich dann mal versuchen.
es ist immer das "buanet" Image, richtig?
wenn ich im iobroker die updates mache, reicht das nicht? was ist am image neuer?
gruss Ralf
-
ok super.
Danke dir werde ich dann mal versuchen.
es ist immer das "buanet" Image, richtig?
wenn ich im iobroker die updates mache, reicht das nicht? was ist am image neuer?
gruss Ralf `
Die Updates im iobroker (z.B. Adapter) musst du in jedem Fall selbst machen. Die finden im iobroker Ordner statt, und der wird ja mit dem Image nicht aktualisiert (sofern der Ordner auf der DS liegt).
Was mit dem Image kommt sind Updates der Pakete die iobroker als Umgebung benötigt. Zum Beispiel node.
Natürlich kannst du das auch über die Kommandozeile im Container erledigen indem du
apt-get update apt-get upgrade ````machst. Allerdings müsstest du dann auch alle fixe manuell erledigen. Wie zum Beispiel das Thema mit den locales (siehe vorherige Posts). Das Image hingegen wird jede Nacht aus den neusten Paketversionen erstellt und ist beim download daher immer top aktuell. Habe bereits ein Script auf dem zettel, dass in Zukunft das Image und den Container automatisch aktualisieren soll… Mal sehen wann ich dazu komme :) Was das Image angeht, meins läuft unter dem Namen buanet/iobroker. Gesendet von Unterwegs mit Tapatalk
-
Alles bestens geklappt. Danke dir!!!
-
Hallo!
Danke für die Anleitung.
Eine Frage habe ich hierzu. Meine Festplatten schalten sich nach einiger Zeit selbst ab. Wie verhält es sich da, wenn der ioBroker installiert ist. Bleiben dann die Festplatten an, weil der ioBroker hier aktiv ist?
Gruß
Stefan