NEWS
[gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot
-
Hallo zusammen,
da ich das oben beschriebene Problem alleine nicht lösen kann, habe ich mich hier im Forum angemeldet.
Ich hoffe es kann mir jemand helfen - die Hausautomation läuft leider nicht mehr.
Nach dem js-controller Upgrade startet das System nicht mehr.Folgendes habe ich in der Konsole ausgeführt:
iobroker stop iobroker update iobroker upgrade self iobroker startDer js-controller hat jetzt die neue Version.
iobroker info liefert folgendes Ergebnis:(node:32704) UnhandledPromiseRejectionWarning: ReferenceError: allback is not defined at _0x411ccb._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:115051) at process._tickCallback (internal/process/next_tick.js:68:7) (node:32704) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:32704) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.Environment:
Rpi4
node 10.17.0
mpm 6.14.4Vielen Dank im Voraus.
LG Wolfgang
Guck mal hier
https://forum.iobroker.net/topic/32731/js-controller-upgrade-fehler-iobroker-tot
@Negalein
führe die Threads mal bitte zusammen :)
https://forum.iobroker.net/topic/32731/js-controller-upgrade-fehler-iobroker-tot -
@haselchen Habe den Controller auf 3.0.20 upgedated, läuft.
Super, danke.
LG Wolfgang -
Hallo zusammen,
da ich das oben beschriebene Problem alleine nicht lösen kann, habe ich mich hier im Forum angemeldet.
Ich hoffe es kann mir jemand helfen - die Hausautomation läuft leider nicht mehr.
Nach dem js-controller Upgrade startet das System nicht mehr.Folgendes habe ich in der Konsole ausgeführt:
iobroker stop iobroker update iobroker upgrade self iobroker startDer js-controller hat jetzt die neue Version.
iobroker info liefert folgendes Ergebnis:(node:32704) UnhandledPromiseRejectionWarning: ReferenceError: allback is not defined at _0x411ccb._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:115051) at process._tickCallback (internal/process/next_tick.js:68:7) (node:32704) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:32704) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.Environment:
Rpi4
node 10.17.0
mpm 6.14.4Vielen Dank im Voraus.
LG Wolfgang
@Schuchty sagte in Problem nach js-controller Upgrade von 3.0.18 auf 3.0.19:
(node:32704) UnhandledPromiseRejectionWarning: ReferenceError: allback is not defined
allback
und genau da lag der Fehler. Es fehlte ein C :smirk:
-
@apollon77
Ich hatte das gleiche Problem und habe mitgelesen :-)
Nach "npm install iobroker.js-controller@3.0.20" funktioniert bei mir wieder alles.Vielen Dank!
-
Bei mir funktioniert es leider nicht:
pi@ioBroker-RasPi4:/opt/iobroker $ npm install iobroker.js-controller@3.0.20
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated fsevents@1.2.12: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/chokidar/node_modules/fsevents
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/chokidar/node_modules/fsevents/node_modules
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents/node_modules
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/iobroker.js-controller/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fsevents/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.loxone/node_modules/fsevents/package.json'
npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.npm ERR! path /opt/iobroker/node_modules/chokidar/node_modules/fsevents
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents'
npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/opt/iobroker/node_modules/chokidar/node_modules/fsevents' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-04-28T10_11_11_846Z-debug.log
pi@ioBroker-RasPi4:/opt/iobroker $und jetzt hab ich glaube ich noch ein größeres Problem:
pi@ioBroker-RasPi4:/opt/iobroker $ sudo iobroker update
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob roker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) -
Bei mir funktioniert es leider nicht:
pi@ioBroker-RasPi4:/opt/iobroker $ npm install iobroker.js-controller@3.0.20
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated fsevents@1.2.12: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/chokidar/node_modules/fsevents
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/chokidar/node_modules/fsevents/node_modules
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents/node_modules
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/iobroker.js-controller/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fsevents/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.loxone/node_modules/fsevents/package.json'
npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.npm ERR! path /opt/iobroker/node_modules/chokidar/node_modules/fsevents
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents'
npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/opt/iobroker/node_modules/chokidar/node_modules/fsevents' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-04-28T10_11_11_846Z-debug.log
pi@ioBroker-RasPi4:/opt/iobroker $und jetzt hab ich glaube ich noch ein größeres Problem:
pi@ioBroker-RasPi4:/opt/iobroker $ sudo iobroker update
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob roker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) -
pi@ioBroker-RasPi4:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
library: loaded
Library version=2020-04-12
ioBroker is not installed in /opt/iobroker! Cannot fix anything...
pi@ioBroker-RasPi4:/opt/iobroker $ -
pi@ioBroker-RasPi4:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
library: loaded
Library version=2020-04-12
ioBroker is not installed in /opt/iobroker! Cannot fix anything...
pi@ioBroker-RasPi4:/opt/iobroker $ -
@smart-home
dann Brechstange
sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller@arteck in /opt/iobroker Verzeichnis oder ohne Verzeichnis?
-
@arteck in /opt/iobroker Verzeichnis oder ohne Verzeichnis?
-
Brechstange war erfolgreich!!! Vielen Dank!
IoBroker wieder online .... kein Datenverlust... und auf Version 3.0.20.Vielen Dank! Ich hatte mich schon auf einen langen Nachmittag der Neuinstallation und Wiederherstellung gefreut:face_with_rolling_eyes:
-
Brechstange war erfolgreich!!! Vielen Dank!
IoBroker wieder online .... kein Datenverlust... und auf Version 3.0.20.Vielen Dank! Ich hatte mich schon auf einen langen Nachmittag der Neuinstallation und Wiederherstellung gefreut:face_with_rolling_eyes:
-
Jupp mache ich. Hab extra auf den Server geschaut :eyes: letztes Backup 26.04 wäre also alles ok....
Bin trozdem FROH
-
3.0.20 ist auf npm und kommt jetzt bald ins latest. Imzweifel bitte IM ioBroker VERZEICHNIS !!!! per "npm install iobroker.js-controller@3.0.20" installieren
@apollon77 Prima, läuft wieder, vielen dank!
-
Brechstange hat es auch bei mir gelöst. Zumindest kommen keine Fehlermeldungen mehr und die Slaves sind auch wieder dauerhaft anwesend und nicht in Form einer ON-OFF-Beziehung :grin:
@Berchemer sagte in [gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot:
Brechstange hat es auch bei mir gelöst. Zumindest kommen keine Fehlermeldungen mehr und die Slaves sind auch wieder dauerhaft anwesend und nicht in Form einer ON-OFF-Beziehung :grin:
Btw... Auf dem Master mit Mint 19.3 hat es der Brechstange nicht bedurft. Da hat die v3.0.20 einfach funktioniert und konnte ordentlich installiert werden.
Probleme - und den dadurch notwendigen Brechstangeneinsatz - hatte ich nur mit den RaspBerry-Buster-Slaves! -
Guck mal hier
https://forum.iobroker.net/topic/32731/js-controller-upgrade-fehler-iobroker-tot
@Negalein
führe die Threads mal bitte zusammen :)
https://forum.iobroker.net/topic/32731/js-controller-upgrade-fehler-iobroker-tot@haselchen sagte in [gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot:
@Negalein
führe die Threads mal bitte zusammenErledigt :)
-
@Berchemer sagte in [gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot:
Brechstange hat es auch bei mir gelöst. Zumindest kommen keine Fehlermeldungen mehr und die Slaves sind auch wieder dauerhaft anwesend und nicht in Form einer ON-OFF-Beziehung :grin:
Btw... Auf dem Master mit Mint 19.3 hat es der Brechstange nicht bedurft. Da hat die v3.0.20 einfach funktioniert und konnte ordentlich installiert werden.
Probleme - und den dadurch notwendigen Brechstangeneinsatz - hatte ich nur mit den RaspBerry-Buster-Slaves!@Berchemer sagte in [gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot:
Auf dem Master mit Mint 19.3 hat es der Brechstange nicht bedurft
Dann hast du dir da wohl die Berechtigungen nicht zerschossen :)
EACCES-Fehler kommen zu 99% durch unbedarfte Nutzung vonsudo(siehe auch meine Signatur). Lass einfach im ioBroker-Umfeldsudoweg und es sollte nicht mehr passieren.