NEWS
Beta Test js-controller 3.0.x auf GitHub
-
@ilovegym warum wieder rebuild? Das kapier ich net. Wenn du frisch installiert hast sollte das doch das mit behandeln. Hast du mal die install logs?
-
@msauer die buttons im Admin sind schon immer nur dann aktiv wenn man auch etwas geändert hat. Also ändere ein Feld (im Zweifel Klick, Buchstabe löschen, wieder gleichen hinschreiben. Und schwups sind die Buttons aktiv hat mit dem Controller nix zu tun.
-
@apollon77 sagte in Beta Test js-controller 3.0.x auf GitHub:
@ilovegym warum wieder rebuild? Das kapier ich net. Wenn du frisch installiert hast sollte das doch das mit behandeln. Hast du mal die install logs?
Wie der Herr befiehlt
ilovegym@iobroker /opt/iobroker/log $ cat iobroker.2020-04-18.log | grep iot 2020-04-18 02:20:15.054 - error: iot.0 (4080) Error by device connection: "read ECONNRESET" 2020-04-18 10:05:53.276 - info: host.iobroker iobroker upgrade iot 2020-04-18 10:05:55.118 - info: host.iobroker iobroker Update iot from @1.4.4 to @1.4.6 2020-04-18 10:05:55.149 - info: host.iobroker iobroker host.iobroker Adapter "system.adapter.iot.0" is stopped. 2020-04-18 10:05:55.176 - info: host.iobroker "system.adapter.iot.0" disabled 2020-04-18 10:05:55.177 - info: host.iobroker stopInstance system.adapter.iot.0 (force=false, process=true) 2020-04-18 10:05:55.178 - info: host.iobroker stopInstance system.adapter.iot.0 send kill signal 2020-04-18 10:05:55.412 - info: host.iobroker iobroker npm install iobroker.iot@1.4.6 --loglevel error --prefix "/opt/iobroker" (System call) 2020-04-18 10:05:55.715 - info: host.iobroker instance system.adapter.iot.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-04-18 10:06:32.156 - info: host.iobroker iobroker Update "system.adapter.iot.0" 2020-04-18 10:06:32.314 - info: host.iobroker iobroker upload [20] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.8b3eca34.js.map static/js/runtime-main.8b3eca34.js.map application/json 2020-04-18 10:06:32.373 - info: host.iobroker iobroker upload [19] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.8b3eca34.js static/js/runtime-main.8b3eca34.js application/javascript 2020-04-18 10:06:32.438 - info: host.iobroker iobroker upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.44a24180.chunk.js.map static/js/main.44a24180.chunk.js.map application/json 2020-04-18 10:06:32.496 - info: host.iobroker iobroker upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.44a24180.chunk.js static/js/main.44a24180.chunk.js application/javascript 2020-04-18 10:06:32.556 - info: host.iobroker iobroker upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.3144159a.chunk.js.map static/js/2.3144159a.chunk.js.map application/json 2020-04-18 10:06:33.227 - info: host.iobroker iobroker upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.3144159a.chunk.js.LICENSE.txt static/js/2.3144159a.chunk.js.LICENSE.txt text/plain 2020-04-18 10:06:33.296 - info: host.iobroker iobroker upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.3144159a.chunk.js static/js/2.3144159a.chunk.js application/javascript 2020-04-18 10:06:33.457 - info: host.iobroker iobroker upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.d4bed9c6.chunk.css.map static/css/main.d4bed9c6.chunk.css.map application/json 2020-04-18 10:06:33.514 - info: host.iobroker iobroker upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.d4bed9c6.chunk.css static/css/main.d4bed9c6.chunk.css text/css 2020-04-18 10:06:33.595 - info: host.iobroker iobroker upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.0302007b.chunk.css.map static/css/2.0302007b.chunk.css.map application/json 2020-04-18 10:06:33.658 - info: host.iobroker iobroker upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.0302007b.chunk.css static/css/2.0302007b.chunk.css text/css 2020-04-18 10:06:33.716 - info: host.iobroker iobroker upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/service-worker.js service-worker.js application/javascript 2020-04-18 10:06:33.770 - info: host.iobroker iobroker upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/precache-manifest.722328941d33037d9541d5581c66eb93.js precache-manifest.722328941d33037d9541d5581c66eb93.js application/javascript 2020-04-18 10:06:33.827 - info: host.iobroker iobroker upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json 2020-04-18 10:06:33.882 - info: host.iobroker iobroker upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png 2020-04-18 10:06:33.938 - info: host.iobroker iobroker upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html 2020-04-18 10:06:33.992 - info: host.iobroker iobroker upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon 2020-04-18 10:06:34.047 - info: host.iobroker iobroker upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript 2020-04-18 10:06:34.101 - info: host.iobroker iobroker upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json 2020-04-18 10:06:34.156 - info: host.iobroker iobroker upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png 2020-04-18 10:06:34.212 - info: host.iobroker iobroker upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript 2020-04-18 10:06:34.267 - info: host.iobroker iobroker Adapter "iot" updated 2020-04-18 10:06:34.270 - info: host.iobroker iobroker host.iobroker Adapter "system.adapter.iot.0" is started 2020-04-18 10:06:34.302 - info: host.iobroker "system.adapter.iot.0" enabled 2020-04-18 10:06:34.343 - info: host.iobroker instance system.adapter.iot.0 started with pid 5756 2020-04-18 10:06:36.747 - warn: iot.0 (5756) Cannot initialize getImage: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.no
-
@ilovegym schau mal bitte besser zeitlich. Das Grep iot lässt bei installs wegen npm und so zuuu viel weg.
-
@apollon77 In Anlehnung an deinen Eröffnungspost das Ihr informiert werden wolltet. Habe noch einen zweiten Slave und Master. Soll ich etwas besonderes testen?
Gerade einen meiner Slaves von 2.2.9 auf 3.0.13 upgedated.
Erster Versuch schlug fehlt wegen fehlender Zugriffsrechte:
pi@pi-iobroker:/opt/iobroker $ sudo npm install ioBroker/ioBroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.0.13 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker.js-controller@3.0.13 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat' Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat' Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../iob.bat' fs.js:114 throw err; ^ Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../tmp' at Object.mkdirSync (fs.js:757:3) at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:692:16) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:258:23) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2583:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.js-controller@3.0.13 install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.js-controller@3.0.13 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-20T14_39_28_903Z-debug.log
So sieht es allerdings im Ordner aus:
pi@pi-iobroker:/opt/iobroker $ ls -la insgesamt 84 drwxrwxrwx+ 7 iobroker iobroker 4096 Feb 25 09:42 . drwxr-xr-x 4 root root 4096 Feb 1 2018 .. drwxrwxrwx+ 2 iobroker iobroker 4096 Apr 20 16:16 backups drwxrwxrwx+ 2 iobroker iobroker 4096 Feb 15 2017 etc -rwxrwxrwx+ 1 iobroker iobroker 104 Mär 4 2019 INSTALLER_INFO.txt -rwxrwxrwx+ 1 iobroker iobroker 297 Feb 15 2017 install.sh lrwxrwxrwx 1 iobroker iobroker 22 Mär 4 2019 iob -> /opt/iobroker/iobroker -rwxrwxrwx+ 1 iobroker iobroker 226 Mär 4 2019 iobroker drwxrwxrwx+ 4 iobroker iobroker 4096 Mai 14 2018 iobroker-data -rwxrwxrwx+ 1 iobroker iobroker 92 Mär 4 2019 killall.sh drwxrwxrwx+ 2 iobroker iobroker 4096 Apr 20 16:33 log drwxrwxrwx+ 486 iobroker iobroker 20480 Apr 20 16:39 node_modules -rwxrwxrwx+ 1 iobroker iobroker 19 Mär 7 2019 .npmrc -rwxrwxrwx+ 1 iobroker iobroker 302 Feb 25 09:42 package.json -rwxrwxrwx+ 1 iobroker iobroker 5728 Apr 20 16:39 reinstall.js -rwxrwxrwx+ 1 iobroker iobroker 709 Mär 4 2019 reinstall.sh
Das sagt der Fixer:
pi@pi-iobroker:/opt/iobroker $ sudo 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...
Das dann mit festgelegtem User:
pi@pi-iobroker:/opt/iobroker $ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.0.13 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker.js-controller@3.0.13 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object system.certificates updated npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@3.0.13 added 69 packages from 61 contributors and audited 1552 packages in 150.66s 6 packages are looking for funding run `npm fund` for details found 61 vulnerabilities (23 low, 13 moderate, 25 high) run `npm audit fix` to fix them, or `npm audit` for details ╭────────────────────────────────────────────────────────────────╮ │ │ │ New patch version of npm available! 6.13.4 → 6.13.7 │ │ Changelog: https://github.com/npm/cli/releases/tag/v6.13.7 │ │ Run npm install -g npm to update! │ │ │ ╰────────────────────────────────────────────────────────────────╯ pi@pi-iobroker:/opt/iobroker $ ^V
Noch etwas, von woher bekommt Ihr die Info wegen NPM Patch?
Wenn ich das NPM Update mache habe ich danach die Version "6.14.4" installiert:
sudo npm install -g npm /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js + npm@6.14.4 updated 1 package in 40.604s pi@pi-iobroker:/opt/iobroker $ node -v v10.20.1 pi@pi-iobroker:/opt/iobroker $ npm -v 6.14.4 pi@pi-iobroker:/opt/iobroker $
-
Ich konnte nicht warten
Beim zweiten meiner Slaves diesmal den Fixer zuerst laufen lassen:
pi@iobroker-garage-gross:/opt/iobroker $ iobroker stop pi@iobroker-garage-gross:/opt/iobroker $ sudo curl -sL https://iobroker.net/fix.sh | bash - library: loaded Library version=2020-04-12 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-04-12 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== OK http://archive.raspberrypi.org jessie InRelease OK http://mirrordirector.raspbian.org jessie InRelease OK https://deb.nodesource.com jessie InRelease OK http://archive.raspberrypi.org jessie/main armhf Packages OK http://archive.raspberrypi.org jessie/ui armhf Packages OK http://mirrordirector.raspbian.org jessie/main armhf Packages OK http://mirrordirector.raspbian.org jessie/contrib armhf Packages OK https://deb.nodesource.com jessie/main Sources OK https://deb.nodesource.com jessie/main armhf Packages OK http://mirrordirector.raspbian.org jessie/non-free armhf Packages OK http://mirrordirector.raspbian.org jessie/rpi armhf Packages Holen: 1 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign http://archive.raspberrypi.org jessie/main Translation-de_DE Ign http://archive.raspberrypi.org jessie/main Translation-de Holen: 2 https://deb.nodesource.com jessie/main Translation-de [162 B] Ign http://archive.raspberrypi.org jessie/main Translation-en Holen: 3 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign http://archive.raspberrypi.org jessie/ui Translation-de_DE Ign http://archive.raspberrypi.org jessie/ui Translation-de Holen: 4 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign http://archive.raspberrypi.org jessie/ui Translation-en Holen: 5 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 6 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 7 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 8 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 9 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 10 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Holen: 11 https://deb.nodesource.com jessie/main Translation-de [162 B] Holen: 12 https://deb.nodesource.com jessie/main Translation-en [162 B] Holen: 13 https://deb.nodesource.com jessie/main Translation-de_DE [162 B] Ign https://deb.nodesource.com jessie/main Translation-de_DE Holen: 14 https://deb.nodesource.com jessie/main Translation-de [162 B] Ign https://deb.nodesource.com jessie/main Translation-de Holen: 15 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign https://deb.nodesource.com jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/main Translation-de Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de_DE Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Paketlisten werden gelesen... Fertig Installed gcc-c++ Installed python-dev ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@iobroker-garage-gross:/opt/iobroker $ iobroker start pi@iobroker-garage-gross:/opt/iobroker $ node -v v10.20.1 pi@iobroker-garage-gross:/opt/iobroker $ npm -v 6.14.4
Dann versucht JS Controller zu installieren:
pi@iobroker-garage-gross:/opt/iobroker $ iobroker stop pi@iobroker-garage-gross:/opt/iobroker $ sudo npm install ioBroker/ioBroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.0.13 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker.js-controller@3.0.13 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat' Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat' Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../iob.bat' fs.js:114 throw err; ^ Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../tmp' at Object.mkdirSync (fs.js:757:3) at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:692:16) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:258:23) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2583:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.js-controller@3.0.13 install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.js-controller@3.0.13 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-20T15_24_19_570Z-debug.log pi@iobroker-garage-gross:/opt/iobroker $
Erfolgreich installiert wieder mit festgelegtem User:
pi@iobroker-garage-gross:/opt/iobroker $ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.0.13 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker.js-controller@3.0.13 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object system.certificates updated npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@3.0.13 added 67 packages from 84 contributors in 152.394s 7 packages are looking for funding run `npm fund` for details pi@iobroker-garage-gross:/opt/iobroker $
-
Ich kann machen was ich will, der tr064-Adapter spielt nicht mit:
tr-064.0 2020-04-20 17:55:23.460 error (2058) Password error: Please re-enter the password in Admin. Stopping tr-064.0 2020-04-20 17:55:23.425 info (2058) starting. Version 4.0.0 in /opt/iobroker/node_modules/iobroker.tr-064, node: v10.20.1, js-controller: 3.0.13
Ich habe 2 Adapter, wo ich das Fritzbox-Passwort eingeben muss, einmal den TR064 und FB-Presence.
Beim Ersten kann ich machen was ich will, er nimmt das neue Passwort nicht.
FB-Presence nimmt das selbe Passwort ohne Murren.
JS 3.0.13
Admin 4.0.9
TR064 4.0.0Auch diverse Adapter geben mir folgendes im Log aus:
2020-04-20 16:42:54.438 - warn: maxcul.0 (9240) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer! 2020-04-20 16:42:54.464 - warn: maxcul.0 (9240) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
2020-04-20 16:37:14.377 - warn: upnp.0 (11152) State value to set is invalid for upnp.0.FRITZ!Box_7590_(UI).fritzbox.Alive: The state property "expire" has the wrong type "string" (should be "number")! 2020-04-20 16:37:14.377 - warn: upnp.0 (11152) This value will not be set in future versions. Please report this to the developer.
2020-04-20 16:27:05.260 - warn: upnp.0 (11152) State value to set is invalid for upnp.0.Repeater310.fritzbox.Alive: The state property "expire" has the wrong type "string" (should be "number")! 2020-04-20 16:27:05.261 - warn: upnp.0 (11152) This value will not be set in future versions. Please report this to the developer.
-
@guergen sagte in Beta Test js-controller 3.0.x auf GitHub:
TR064 4.0.0
Tipp mal was "falsches" ein, speichern und schließen und dann das richtige.
-
@wendy2702 Ich habe mir schon die Finger wund getippt.
Bin grade schon auf Admin 4.0.5 runter nix... -
Versuche grade ein Rollback auf die 2.2.9 oder 2.2.10....
Wie heisst denn der korrekte Befehl?
npm install iobroker.js-controller@version
Was muss ich anstelle von "@Version" eingeben?
2.2.9, 2.2.10, 2.2.x.... alles schon versucht -
Logfile?
So gemacht!?
npm install iobroker.js-controller@2.2.9
-
@wendy2702
Hier mit 2.2.9:npm install ioBroker.js-controller@2.2.9 npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller - Not found npm ERR! 404 npm ERR! 404 'ioBroker.js-controller@2.2.9' is not in the npm registry. npm ERR! 404 Your package name is not valid, because npm ERR! 404 1. name can no longer contain capital letters npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
Das Selbe mit 2.2.10:
iobroker@iobroker:/opt/iobroker$ npm install ioBroker.js-controller@2.2.10 npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller - Not found npm ERR! 404 npm ERR! 404 'ioBroker.js-controller@2.2.10' is not in the npm registry. npm ERR! 404 Your package name is not valid, because npm ERR! 404 1. name can no longer contain capital letters npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
Hier ein Log:
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli 'ioBroker.js-controller@2.2.9' ] 2 info using npm@6.14.4 3 info using node@v10.20.1 4 verbose npm-session b1d2b8998bed8472 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 404 https://registry.npmjs.org/ioBroker.js-controller 1058ms 8 http fetch GET 404 https://registry.npmjs.org/ioBroker.js-controller 778ms 9 silly fetchPackageMetaData error for ioBroker.js-controller@2.2.9 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller - Not found 10 timing stage:rollbackFailedOptional Completed in 1ms 11 timing stage:runTopLevelLifecycles Completed in 4482ms 12 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller - Not found 12 verbose stack at res.buffer.catch.then.body (/usr/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:104:15) 12 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7) 13 verbose statusCode 404 14 verbose pkgid ioBroker.js-controller@2.2.9 15 verbose cwd /opt/iobroker 16 verbose Linux 4.19.0-6-amd64 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "ioBroker.js-controller@2.2.9" 18 verbose node v10.20.1 19 verbose npm v6.14.4 20 error code E404 21 error 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller - Not found 22 error 404 23 error 404 'ioBroker.js-controller@2.2.9' is not in the npm registry. 24 error 404 Your package name is not valid, because 25 error 404 1. name can no longer contain capital letters 26 error 404 Note that you can also install from a 27 error 404 tarball, folder, http url, or git url. 28 verbose exit [ 1, true ]
-
Ich schreibe das:
npm install iobroker.js-controller@2.2.9
du machst das:
npm install ioBroker.js-controller@2.2.9
man beachte das "B" in iobroker
-
@wendy2702 Wo kommt das denn her.... ich habe copy/paste gemacht.... aber von der ersten Seite ganz oben...
egal....
Der Fehler sitzt je meistend VOR dem Bildschirm... -
Hallo, hab auf meinem Raspberry Pi 3 Testsystem die 3.0.13 unter Node.js 10.20.0 am Laufen. Installation lief reibungslos. Im Betrieb bis jetzt keine Auffälligkeiten. Bei der Adapter-Entwicklung hat das sofort einen Benefit gebracht, da sich ein Fehler bei der Objektbezeichnung sofort im Log angezeigt wurde.
Danke an die Entwickler für die Super Arbeit
-
@guergen sagte in Beta Test js-controller 3.0.x auf GitHub:
Der Fehler sitzt je meistend VOR dem Bildschirm...
Kenne ich.... hier auch
-
@wendy2702 Bin jetzt komplett wieder zurück, läuft...
-
@guergen und du hast nach einem Admin Update auch im Browser einen richtigen harten reload gemacht? Sonst Hast du nämlich noch
Den alten Admin JavaScript Code im Browser und das neue greift nicht! -
@wendy2702 Also am Ende hast Du dir einiges davon scheinbar selbst eingebrockt Ganz oben steht das Du "sudo" genutzt hast für den install. Steht so aber nicht in der Anleitung!! Damit sind alle die Fehler und ggf andere Probleme die dich zu der Fixing-Arie geführt haben wohl darauf basierend! Tja, was so 4 blöde Buchstaben so ausmachen
ABer hast es ja dann über 5 Ecken hinbekommen.
Und die NPM patch-Info gibt NPM selbst aus, kommt nicht von uns
-
@wendy2702 AUch hier wieder ... wo hast Du das sudo her? Wenn Du mit einem System Arbeitest welches mit dem Installer bzw Fixer erstellt ist das Bitte FINGER WEG VON SUDO! ... BÖÖÖÖÖÖSE
Am besten jetzt den Fixer nochmal auf beiden Systemen hinterher um ggf komisches nochmal final geradezubiegen