NEWS
ioBroker.js-controller 1.5.6
-
@Bluefox said in ioBroker.js-controller 1.5.4:
Besonders beachten auf:
Wo war noch mal dein Beitrag was ich beachten muss beim Upgrade des controllers auf die neue Version ? Ich finde den Beitrag grad nicht mehr
-
@Segway Aktuell gibt es nur ein Beitrag diesbezüglich: https://forum.iobroker.net/topic/19834/iobroker-js-controller-1-5-4/1
-
mhhhh ... dann vertausche ich das wohl mit einem anderen Adapter, der auch als Testphase gepostet wurde und wo man gewisse Dinge beachten musste......vielleicht habe ich aber auch einfach nur zu viel Bier getrunken
-
-
@sigi234 Schade
-
@Bluefox said in ioBroker.js-controller 1.5.4:
@sigi234 Schade
ich gehe wieder auf 1.4.2 zurück....
Funktioniert wieder, keine Empty ID
-
Ich konnte Empty ID error lokalisieren und bei mir beheben.
Bitte noch mal ausprobieren:
cd /optOderHomeVerzeichnis/iobroker npm i iobroker.js-controller@1.5.5 iobroker restart
-
@Bluefox kann ich bestätigen ist bei mir auch behoben
TOP Danke dir -
@Bluefox said in ioBroker.js-controller 1.5.4:
Ich konnte Empty ID error lokalisieren und bei mir beheben.
Bitte noch mal ausprobieren:
cd /optOderHomeVerzeichnis/iobroker npm i iobroker.js-controller@1.5.5 iobroker restart
Yes........ Fehler weg!
-
Auf einen ioBroker Slave mit 1.5.5 habe ich den Javascript Adapter nicht auf grün bekommen.
Nach einem downgrade auf 1.4.2 wurde dieser sofort weider grün. -
Hab es mal versucht, sieht nicht so gut aus.
root@ioBroker-OPi2E:~# iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. Exit code for "killall.sh": 0 root@ioBroker-OPi2E:~# cd .. root@ioBroker-OPi2E:/# cd opt root@ioBroker-OPi2E:/opt# cd iobroker root@ioBroker-OPi2E:/opt/iobroker# npm i iobroker.js-controller@1.5.5 npm WARN lifecycle iobroker.js-controller@1.5.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.js-controller@1.5.5 node lib/preinstallCheck.js /opt/iobroker/node_modules/.staging/iobroker.js-controller-a76002ca > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/authenticate-pam/build' CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: No such file or directory compilation terminated. authenticate_pam.target.mk:92: recipe for target 'Release/obj.target/authenticate_pam/authenticate_pam.o' failed make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/authenticate-pam/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.14.70-sunxi gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam gyp ERR! node -v v6.14.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional > node rebuild.js > diskusage@0.2.6 install /opt/iobroker/node_modules/diskusage > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/diskusage/build' CXX(target) Release/obj.target/diskusage/src/main.o CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o SOLINK_MODULE(target) Release/obj.target/diskusage.node COPY Release/diskusage.node make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' > iobroker.js-controller@1.5.5 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first > rsa-compat@1.9.2 postinstall /opt/iobroker/node_modules/acme-v2/node_modules/rsa-compat > node lib/telemetry.js event:install > rsa-compat@1.9.2 postinstall /opt/iobroker/node_modules/greenlock/node_modules/rsa-compat > node lib/telemetry.js event:install - asn1js@1.2.12 node_modules/asn1js - buffer-v6-polyfill@1.0.5 node_modules/buffer-v6-polyfill - node.extend@1.1.6 node_modules/certpem/node_modules/node.extend cliui@4.1.0 node_modules/iobroker.js-controller/node_modules/cliui -> node_modules/cliui - node.extend@1.1.6 node_modules/greenlock/node_modules/node.extend - arraybuffer.slice@0.0.7 node_modules/iobroker.js-controller/node_modules/arraybuffer.slice - camelcase@4.1.0 node_modules/iobroker.js-controller/node_modules/camelcase - component-emitter@1.2.1 node_modules/iobroker.js-controller/node_modules/component-emitter - debug@3.1.0 node_modules/iobroker.js-controller/node_modules/debug - engine.io-parser@2.1.2 node_modules/iobroker.js-controller/node_modules/engine.io-parser - isarray@2.0.1 node_modules/iobroker.js-controller/node_modules/isarray - socket.io-adapter@1.1.1 node_modules/iobroker.js-controller/node_modules/socket.io-adapter - socket.io-parser@3.2.0 node_modules/iobroker.js-controller/node_modules/socket.io-parser - ultron@1.1.1 node_modules/iobroker.js-controller/node_modules/ultron - ws@3.3.3 node_modules/iobroker.js-controller/node_modules/ws - engine.io@3.2.0 node_modules/iobroker.js-controller/node_modules/engine.io - xmlhttprequest-ssl@1.5.5 node_modules/iobroker.js-controller/node_modules/xmlhttprequest-ssl - engine.io-client@3.2.1 node_modules/iobroker.js-controller/node_modules/engine.io-client - socket.io-client@2.1.1 node_modules/iobroker.js-controller/node_modules/socket.io-client - socket.io@2.1.1 node_modules/iobroker.js-controller/node_modules/socket.io - yargs-parser@9.0.2 node_modules/iobroker.js-controller/node_modules/yargs/node_modules/yargs-parser - pkijs@1.3.33 node_modules/pkijs - certpem@1.0.1 node_modules/certpem - glob@7.1.2 node_modules/rimraf/node_modules/glob - bindings@1.1.1 node_modules/unix-dgram/node_modules/bindings - yargs-parser@4.2.1 node_modules/iobroker.js-controller/node_modules/yargs-parser yargs@11.1.0 node_modules/iobroker.js-controller/node_modules/yargs -> node_modules/yargs iobroker@1.0.0 /opt/iobroker └─┬ iobroker.js-controller@1.5.5 ├─┬ diskusage@0.2.6 │ └── nan@2.12.1 ├─┬ greenlock@2.6.7 │ ├── acme@1.2.0 │ ├─┬ acme-v2@1.5.2 │ │ └─┬ rsa-compat@1.9.2 │ │ └── node-forge@0.7.6 │ ├── cert-info@1.5.0 │ ├── le-store-certbot@2.2.1 │ └─┬ rsa-compat@1.9.2 │ ├── node-forge@0.7.6 │ └─┬ ursa-optional@0.9.10 │ ├─┬ bindings@1.4.0 │ │ └── file-uri-to-path@1.0.0 │ └── nan@2.12.1 ├─┬ jsonwebtoken@8.4.0 │ └─┬ jws@3.2.1 │ └── jwa@1.2.0 ├─┬ jszip@3.1.5 │ └── pako@1.0.8 ├── le-acme-core@2.1.4 ├── le-sni-auto@2.1.6 ├─┬ loadavg-windows@1.0.2 │ └── weak-daemon@1.0.3 ├─┬ node-schedule@1.3.1 │ └─┬ cron-parser@2.7.3 │ └── moment-timezone@0.5.23 ├─┬ node.extend@2.0.2 │ ├── has@1.0.3 │ └── is@3.3.0 ├─┬ pidusage@2.0.17 │ └── safe-buffer@5.1.2 ├─┬ prompt@1.0.0 │ └─┬ utile@0.3.0 │ └─┬ rimraf@2.6.3 │ └── glob@7.1.3 ├── pyconf@1.1.6 ├─┬ redis@2.8.0 │ └── redis-commands@1.4.0 ├── safe-replace@1.1.0 ├─┬ tar@4.4.8 │ ├── chownr@1.1.1 │ ├── minipass@2.3.5 │ ├── minizlib@1.2.1 │ └── yallist@3.0.3 └── winston@2.4.4 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/node_modules/mymodule/package.json' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
-
Zu meinem Erstaunen konnte ich iobroker starten und das UI und auch VIS scheint zu funktionieren.
-
@Marty56 said in ioBroker.js-controller 1.5.4:
Hab es mal versucht, sieht nicht so gut aus.
root@ioBroker-OPi2E:~# iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. Exit code for "killall.sh": 0 root@ioBroker-OPi2E:~# cd .. root@ioBroker-OPi2E:/# cd opt root@ioBroker-OPi2E:/opt# cd iobroker root@ioBroker-OPi2E:/opt/iobroker# npm i iobroker.js-controller@1.5.5 npm WARN lifecycle iobroker.js-controller@1.5.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.js-controller@1.5.5 node lib/preinstallCheck.js /opt/iobroker/node_modules/.staging/iobroker.js-controller-a76002ca > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/authenticate-pam/build' CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: No such file or directory compilation terminated. authenticate_pam.target.mk:92: recipe for target 'Release/obj.target/authenticate_pam/authenticate_pam.o' failed make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/authenticate-pam/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.14.70-sunxi gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam gyp ERR! node -v v6.14.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional > node rebuild.js > diskusage@0.2.6 install /opt/iobroker/node_modules/diskusage > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/diskusage/build' CXX(target) Release/obj.target/diskusage/src/main.o CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o SOLINK_MODULE(target) Release/obj.target/diskusage.node COPY Release/diskusage.node make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' > iobroker.js-controller@1.5.5 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first > rsa-compat@1.9.2 postinstall /opt/iobroker/node_modules/acme-v2/node_modules/rsa-compat > node lib/telemetry.js event:install > rsa-compat@1.9.2 postinstall /opt/iobroker/node_modules/greenlock/node_modules/rsa-compat > node lib/telemetry.js event:install - asn1js@1.2.12 node_modules/asn1js - buffer-v6-polyfill@1.0.5 node_modules/buffer-v6-polyfill - node.extend@1.1.6 node_modules/certpem/node_modules/node.extend cliui@4.1.0 node_modules/iobroker.js-controller/node_modules/cliui -> node_modules/cliui - node.extend@1.1.6 node_modules/greenlock/node_modules/node.extend - arraybuffer.slice@0.0.7 node_modules/iobroker.js-controller/node_modules/arraybuffer.slice - camelcase@4.1.0 node_modules/iobroker.js-controller/node_modules/camelcase - component-emitter@1.2.1 node_modules/iobroker.js-controller/node_modules/component-emitter - debug@3.1.0 node_modules/iobroker.js-controller/node_modules/debug - engine.io-parser@2.1.2 node_modules/iobroker.js-controller/node_modules/engine.io-parser - isarray@2.0.1 node_modules/iobroker.js-controller/node_modules/isarray - socket.io-adapter@1.1.1 node_modules/iobroker.js-controller/node_modules/socket.io-adapter - socket.io-parser@3.2.0 node_modules/iobroker.js-controller/node_modules/socket.io-parser - ultron@1.1.1 node_modules/iobroker.js-controller/node_modules/ultron - ws@3.3.3 node_modules/iobroker.js-controller/node_modules/ws - engine.io@3.2.0 node_modules/iobroker.js-controller/node_modules/engine.io - xmlhttprequest-ssl@1.5.5 node_modules/iobroker.js-controller/node_modules/xmlhttprequest-ssl - engine.io-client@3.2.1 node_modules/iobroker.js-controller/node_modules/engine.io-client - socket.io-client@2.1.1 node_modules/iobroker.js-controller/node_modules/socket.io-client - socket.io@2.1.1 node_modules/iobroker.js-controller/node_modules/socket.io - yargs-parser@9.0.2 node_modules/iobroker.js-controller/node_modules/yargs/node_modules/yargs-parser - pkijs@1.3.33 node_modules/pkijs - certpem@1.0.1 node_modules/certpem - glob@7.1.2 node_modules/rimraf/node_modules/glob - bindings@1.1.1 node_modules/unix-dgram/node_modules/bindings - yargs-parser@4.2.1 node_modules/iobroker.js-controller/node_modules/yargs-parser yargs@11.1.0 node_modules/iobroker.js-controller/node_modules/yargs -> node_modules/yargs iobroker@1.0.0 /opt/iobroker └─┬ iobroker.js-controller@1.5.5 ├─┬ diskusage@0.2.6 │ └── nan@2.12.1 ├─┬ greenlock@2.6.7 │ ├── acme@1.2.0 │ ├─┬ acme-v2@1.5.2 │ │ └─┬ rsa-compat@1.9.2 │ │ └── node-forge@0.7.6 │ ├── cert-info@1.5.0 │ ├── le-store-certbot@2.2.1 │ └─┬ rsa-compat@1.9.2 │ ├── node-forge@0.7.6 │ └─┬ ursa-optional@0.9.10 │ ├─┬ bindings@1.4.0 │ │ └── file-uri-to-path@1.0.0 │ └── nan@2.12.1 ├─┬ jsonwebtoken@8.4.0 │ └─┬ jws@3.2.1 │ └── jwa@1.2.0 ├─┬ jszip@3.1.5 │ └── pako@1.0.8 ├── le-acme-core@2.1.4 ├── le-sni-auto@2.1.6 ├─┬ loadavg-windows@1.0.2 │ └── weak-daemon@1.0.3 ├─┬ node-schedule@1.3.1 │ └─┬ cron-parser@2.7.3 │ └── moment-timezone@0.5.23 ├─┬ node.extend@2.0.2 │ ├── has@1.0.3 │ └── is@3.3.0 ├─┬ pidusage@2.0.17 │ └── safe-buffer@5.1.2 ├─┬ prompt@1.0.0 │ └─┬ utile@0.3.0 │ └─┬ rimraf@2.6.3 │ └── glob@7.1.3 ├── pyconf@1.1.6 ├─┬ redis@2.8.0 │ └── redis-commands@1.4.0 ├── safe-replace@1.1.0 ├─┬ tar@4.4.8 │ ├── chownr@1.1.1 │ ├── minipass@2.3.5 │ ├── minizlib@1.2.1 │ └── yallist@3.0.3 └── winston@2.4.4 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/node_modules/mymodule/package.json' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
Es sind nur Warnungen.
-
@e-i-k-e said in ioBroker.js-controller 1.5.4:
Auf einen ioBroker Slave mit 1.5.5 habe ich den Javascript Adapter nicht auf grün bekommen.
Nach einem downgrade auf 1.4.2 wurde dieser sofort weider grün.Ich brauche logs, so kann ich nicht mal vermuten, was nicht ging
-
Es scheint alles zu laufen.
Scheinbar habe ich noch irgendwo einen undefinierten State, der vorher aber nicht bemerkt wurde.
Jetzt bekomme ich eine minütliche Fehlermeldungjavascript.0 2019-02-13 07:48:00.596 error Error in callback: TypeError: Cannot read property 'common' of undefined
Ich habe schon alle Scripts durchgesucht, ob ich irgendwo einen Minuten Timer habe. Aber ich habe leider nach 30 Minuten Suche nichts gefunden.
-
Ich konnte es jetzt einkreisen.
javascript.0 2019-02-13 07:56:00.209 error Error in callback: TypeError: Cannot read property 'common' of undefined javascript.0 2019-02-13 07:55:38.422 error Error in callback: TypeError: Cannot read property 'common' of undefined javascript.0 2019-02-13 07:55:38.248 error TypeError: Cannot read property 'common' of undefined javascript.0 2019-02-13 07:55:38.248 error ^ javascript.0 2019-02-13 07:55:38.247 error if (!language || !dayOfWeeksFull[language]) language = objects['system.config'].common.language; javascript.0 2019-02-13 07:55:38.247 error script.js.common.Tagescharacteristik: /opt/iobroker/node_modules/iobroker.javascript/javascript.js:2712
Es ist das Kommando formatDate(new Date(), "W hh:mm").
Liegt nicht an meinen Scripts sondern wohl an der neuen js-controller Version
Was funktioniert ist: formatDate(new Date(), "hh:mm")
update:- WW, НН(cyrillic) - full week day as text
- W, Н(cyrillic) - short week day as text
funktionieren alle nicht mehr
-
@Marty56 was für JS Version hast du?
-
@Bluefox javascript 3.6.4
Ich habe alles sonst auf default als repro.
Also die Versionen, die unter http://download.iobroker.net/sources-dist.json liegen -
@Marty56 Hier wäre (rechtebedingt) noch ein --unsafe-perm anzuhängen, aber das preinstall script ist bei nem update nicht so nötig, also alles ok ie BF schon gesagt hat
-
@Marty56 said in ioBroker.js-controller 1.5.4/1.5.5:
formatDate(new Date(), "hh:mm")
Ich kann diesen Fehler nicht erklären. Reproduzieren kann ich auch nicht, aber ich habe js-controller@1.5.6 und javascript@3.6.5 gemacht.
Kannst du ausprobieren? Erst javascript updaten und dann js-controller.cd /optOderHomeVerzeichnis/iobroker iobroker stop npm i iobroker.javascript@3.6.5 --production npm i iobroker.js-controller@1.5.6 --production iobroker u javascript iobroker start