NEWS
Bitte um Test js-controller 0.13.0
-
Bitte 0.13.1 testen. Ich will die Version releasen.
-
Hi,
ich hab das jetzt mehrfach versucht auf meinem test host. Aber ich bekomme beim versuch den js-controller zu installieren immer eine Fehlermeldung.
! ````
root@iobroker-test:/opt/iobroker# npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
|
ursa@0.9.4 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa
node-gyp rebuild
! gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:16)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Linux 4.4.0-45-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional dep failed, continuing ursa@0.9.4
! > iobroker.js-controller@0.13.1 install /opt/iobroker/node_modules/iobroker.js-controller
node lib/setup.js setup first
! fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
! Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.writeFileSync (fs.js:1156:15)
at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:88:24)
at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:552:23
at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:573:11)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
npm ERR! Linux 4.4.0-45-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/ioBroker/ioBroker.js-controller/tarball/master" "--production"
npm ERR! node v4.6.1
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
! npm ERR! iobroker.js-controller@0.13.1 install:node lib/setup.js setup first
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker.js-controller@0.13.1 install script 'node lib/setup.js setup first'.
npm ERR! This is most likely a problem with the iobroker.js-controller package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/setup.js setup first
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs iobroker.js-controller
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls iobroker.js-controller
npm ERR! There is likely additional logging output above.
! npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log</anonymous>Versuche ich die version 0.12.2 zu installieren bekomme ich die gleich Fehlermeldung. Es scheint also ein Problem mit dem test host zu geben. Ich versteh nur nicht warum die Installation direkt davor Reibunglos läuft.
-
Kannst du bitte folgendes machen.
cd /opt/iobroker sudo iobroker stop sudo chmod 777 * -R sudo apt-get install build-essential sudo npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production sudo chmod 777 * -R sudo iobroker start
-
Danke jetzt hat es funktioniert.
Nur eins es muss "sudo apt-get install build-essentials" heissen, nicht "sudo npm install build-essentials".
Auf den ersten Blick sieht mal alles gut aus.
Ich hab gesehen du hast meinen Adapter in die Hauptliste aufgenommen. Da er aber noch nicht in npm gelistet ist kann er nicht installiert werden.
Erledigt: Gibt es irgendwo einen crash-kurs wie man den in npm Veröffentlicht?
Edit: Ich hab den Adapter jetzt auf npm veröffentlicht und er lässt sich auch installieren. Aber es wird ein Fehler im Reiter Admin angezeigt. Siehe Bild.
-
Bekomme die version leider nicht installiert:
! ` > root@Raspi31:/opt/iobroker# npm install https://github.com/ioBroker/ioBroker.js … all/master --production
npm WARN peerDependencies The peer dependency iobroker.admin@>=1.6.4 included from iobroker.js-controller will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
\
ursa@0.9.4 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa
node-gyp rebuild
make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa/build'
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
SOLINK_MODULE(target) Release/obj.target/ursaNative.node
COPY Release/ursaNative.node
make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa/build'
iobroker.js-controller@0.13.1 install /opt/iobroker/node_modules/iobroker.js-controller
node lib/setup.js setup first
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-babel/node_modules/gulp-util requires object-assign@'^3.0.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-babel/node_modules/object-assign,
npm WARN unmet dependency which is version 4.1.0
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-concat/node_modules/gulp-util requires through2@'^2.0.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-concat/node_modules/through2,
npm WARN unmet dependency which is version 0.6.5
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-less/node_modules/accord requires lodash@'4.11.2' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/lodash,
npm WARN unmet dependency which is version 4.16.5
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-less/node_modules/gulp-util requires object-assign@'^3.0.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-less/node_modules/object-assign,
npm WARN unmet dependency which is version 4.1.0
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-minify-html/node_modules/gulp-util requires through2@'^2.0.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-minify-html/node_modules/through2,
npm WARN unmet dependency which is version 0.6.5
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-watch/node_modules/chokidar requires glob-parent@'^2.0.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-watch/node_modules/glob-parent,
npm WARN unmet dependency which is version 3.0.1
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-watch/node_modules/gulp-util requires object-assign@'^3.0.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-watch/node_modules/object-assign,
npm WARN unmet dependency which is version 4.1.0
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-watch/node_modules/gulp-util requires vinyl@'^0.5.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/javascript-build-essentials/node_modules/gulp-watch/node_modules/vinyl,
npm WARN unmet dependency which is version 1.2.0
npm ERR! Linux 4.4.27-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/ioBroker/ioBroker.js ... all/master" "--production"
npm ERR! node v4.6.1
npm ERR! npm v2.15.9
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package iobroker.admin@0.8.3 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer iobroker.js-controller@0.13.1 wants iobroker.admin@>=1.6.4
npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log `
Admin ist aber version 1.6.5:! ` > update done
Adapter "zwave" : 0.2.5
Adapter "yr" : 1.0.5
Adapter "yamaha" : 0.2.1
Adapter "wolf" : 0.1.0
Adapter "web" : 1.7.2 , installed 1.7.2
Adapter "weatherunderground": 1.0.2
Adapter "vis-timeandweather": 1.1.4 , installed 1.1.4
Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2
Adapter "vis-plumb" : 0.1.6 , installed 0.1.6
Adapter "vis-metro" : 1.0.4 , installed 1.0.4
Adapter "vis-map" : 0.1.3 , installed 0.1.3
Adapter "vis-lcars" : 1.0.1 , installed 1.0.1
Adapter "vis-keyboard" : 0.0.2 , installed 0.0.2
Adapter "vis-justgage" : 0.6.0 , installed 0.6.0
Adapter "vis-jqui-mfd" : 1.0.5 , installed 1.0.5
Adapter "vis-hqwidgets" : 1.0.6 , installed 1.0.6
Adapter "vis-history" : 0.2.4 , installed 0.2.4
Adapter "vis-google-fonts": 0.1.0 , installed 0.1.0
Adapter "vis-fancyswitch": 1.0.0 , installed 1.0.0
Adapter "vis-colorpicker": 1.1.0 , installed 1.1.0
Adapter "vis-canvas-gauges": 0.1.3
Adapter "vis-bars" : 0.1.2 , installed 0.1.2
Adapter "vis" : 0.10.14 , installed 0.10.14
Adapter "vcard" : 0.0.8
Adapter "upnp" : npm error
Adapter "tvspielfilm" : 0.2.2
Adapter "text2command" : 1.1.3 , installed 1.1.3
Adapter "terminal" : 0.1.2 , installed 0.1.2
Adapter "telegram" : 0.4.4 , installed 0.4.4
Adapter "tankerkoenig" : 1.0.0
Adapter "starline" : 0.1.7
Adapter "sonos" : 0.2.2
Adapter "solarwetter" : 0.1.2
Adapter "socketio" : 1.7.1
Adapter "squeezebox" : 0.1.0
Adapter "sql" : 1.2.1
Adapter "simple-api" : 1.3.0
Adapter "scenes" : 0.2.6 , installed 0.2.6
Adapter "sayit" : 1.1.2
Adapter "samsung" : 0.0.11
Adapter "s7" : 0.2.4
Adapter "rwe-smarthome" : 0.1.9
Adapter "rpi2" : 0.2.1
Adapter "rickshaw" : 0.4.4
Adapter "rflink" : 1.0.2
Adapter "pushover" : 1.0.2
Adapter "pushsafer" : 0.1.7
Adapter "pushbullet" : 0.0.11
Adapter "ping" : 1.1.1 , installed 1.1.1
Adapter "piface" : 0.0.50
Adapter "phantomjs" : 0.1.2
Adapter "owntracks" : 0.1.1
Adapter "owfs" : 0.3.4
Adapter "onkyo" : 0.2.0
Adapter "occ" : 0.2.4
Adapter "nut" : 0.3.1
Adapter "noolite" : 0.0.1
Adapter "node-red" : 1.1.2
Adapter "netatmo" : 0.4.0
Adapter "mysensors" : 1.0.4
Adapter "mqtt-client" : 0.3.0
Adapter "mqtt" : 1.1.2
Adapter "modbus" : 0.3.11
Adapter "mobile" : 0.4.9
Adapter "miele" : 0.0.16
Adapter "megad" : 1.2.1
Adapter "lgtv" : 1.0.0
Adapter "kodi" : 0.1.4
Adapter "knx" : 0.7.0
Controller "js-controller" : 0.12.2 , installed 0.12.2
Adapter "javascript" : 3.0.10 , installed 3.0.10
Adapter "influxdb" : 1.1.0 , installed 1.1.0
Adapter "icons-ultimate-png": 0.1.0
Adapter "icons-open-icon-library-png": 0.1.3
Adapter "icons-mfd-svg" : 1.0.0
Adapter "icons-mfd-png" : 1.0.0 , installed 1.0.0
Adapter "icons-material-svg": 0.1.0
Adapter "icons-material-png": 0.1.0
Adapter "icons-icons8" : 0.0.1
Adapter "icons-addictive-flavour-png": 0.1.0
Adapter "ical" : 1.2.0 , installed 1.2.0
Adapter "hmm" : 1.0.1
Adapter "homepilot" : 0.0.7
Adapter "homekit2" : 0.1.6
Adapter "hue" : 0.5.9 , installed 0.5.9
Adapter "hm-rpc" : 1.3.3 , installed 1.3.3
Adapter "hm-rega" : 1.3.0 , installed 1.3.0
Adapter "history" : 1.3.1 , installed 1.3.1
Adapter "harmony" : 0.5.6
Adapter "geofency" : 0.1.5 , installed 0.1.5
Adapter "fritzbox" : 0.2.1
Adapter "foobar2000" : 0.1.2
Adapter "feiertage" : 0.3.2
Adapter "flot" : 1.5.5 , installed 1.5.5
Adapter "fhem" : 0.2.2
Adapter "epson_stylus_px830": 0.0.2
Adapter "email" : 1.0.0
Adapter "dwd" : 2.1.1
Adapter "cul" : 0.0.4
Adapter "cloud" : 0.1.1 , installed 0.1.1
Adapter "chromecast" : 1.1.0
Adapter "botvac" : 0.5.0
Adapter "b-control-em" : 0.1.1
Adapter "artnet" : 0.1.4
Adapter "amazon-dash" : 0.1.0
Adapter "admin" : 1.6.4 , installed 1.6.5
Was bedeuted eigentlich das hier:
> npm ERR! peerinvalid The package iobroker.admin@0.8.3 does not satisfy its siblings' peerDependencies requirements! `
build-essential ist installiert.Was kann ich tun?
Lg
-
npm findet irgendwo: iobroker.admin@0.8.3
Kannst du mal in
/opt/iobroker/node_modules/iobroker.admin/package.json
und
/opt/iobroker/node_modules/iobroker.js-controller/node_modules/iobroker.admin/package.json
checken?
Welche Versionen sind dadrin?
-
` > Kannst du mal in
/opt/iobroker/node_modules/iobroker.admin/package.json
und
/opt/iobroker/node_modules/iobroker.js-controller/node_modules/iobroker.admin/package.json
checken?
Welche Versionen sind dadrin? `
Im ersten package.json stand in der Tat bei admin noch eine 0.8.3 drin. Warum auch immer?Das zweite package.json gibts bei mir nicht.
Ich habe das jetzt im ersten file händisch auf 1.6.5 geändert und jetzt läuft die Installation durch.:
! ` > root@Raspi31:/opt/iobroker# npm install https://github.com/ioBroker/ioBroker.js … all/master --production
ursa@0.9.4 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa
node-gyp rebuild
make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa/build'
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
SOLINK_MODULE(target) Release/obj.target/ursaNative.node
COPY Release/ursaNative.node
make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/letsencrypt/node_modules/rsa-compat/node_modules/ursa/build'
iobroker.js-controller@0.13.1 install /opt/iobroker/node_modules/iobroker.js-controller
node lib/setup.js setup first
iobroker.js-controller@0.13.1 node_modules/iobroker.js-controller
├── safe-replace@1.0.2
├── le-sni-auto@2.1.0
├── le-challenge-fs@2.0.8
├── pyconf@1.1.2
├── semver@5.3.0
├── winston-daily-rotate-file@1.3.1
├── mime@1.3.4
├── daemonize2@0.4.2
├── ncp@2.0.0
├── node.extend@1.1.6 (is@3.2.0)
├── redis@2.6.3 (double-ended-queue@2.1.0-0, redis-parser@2.1.1, redis-commands@1.3.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── node-schedule@1.1.1 (long-timeout@0.0.2, cron-parser@1.1.0)
├── bluebird@3.4.6
├── winston@2.2.0 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, isstream@0.1.2, async@1.0.0, pkginfo@0.3.1, colors@1.0.3)
├── socket.io-client@1.5.1 (to-array@0.1.4, indexof@0.0.1, component-bind@1.0.0, component-emitter@1.2.0, backo2@1.0.2, object-component@0.0.3, has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.3.1, parseuri@0.0.4, engine.io-client@1.7.2)
├── yargs@6.3.0 (get-caller-file@1.0.2, decamelize@1.2.0, camelcase@3.0.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, window-size@0.2.0, yargs-parser@4.0.2, require-main-filename@1.0.1, require-directory@2.1.1, os-locale@1.4.0, string-width@1.0.2, cliui@3.2.0, read-pkg-up@1.0.1)
├── prompt@1.0.0 (revalidator@0.1.8, pkginfo@0.4.0, colors@1.1.2, read@1.0.7, winston@2.1.1, utile@0.3.0)
├── tar.gz@1.0.5 (commander@2.9.0, tar@2.2.1, bluebird@2.11.0, fstream@1.0.10, mout@0.11.1)
├── letsencrypt@2.1.8 (le-store-certbot@2.0.3, homedir@0.6.0, asn1js@1.2.12, le-acme-core@2.0.7, localhost.daplie.com-certificates@1.2.3, certpem@1.0.1, pkijs@1.3.27, le-challenge-sni@2.0.1, rsa-compat@1.2.7)
├── jszip@3.1.3 (es6-promise@3.0.2, lie@3.1.0, pako@1.0.3, readable-stream@2.0.6, core-js@2.3.0)
└── npm@2.15.11
Allerdings scheint das Update nicht geklappt zu haben, er zeigt mir im web interface immer noch die 0.12.2 an (auch nach einem reboot)?
> host.Raspi31 2016-11-01 00:46:27.478 info Copyright 2014-2016 bluefox, hobbyquakerhost.Raspi31 2016-11-01 00:46:27.464 info iobroker.js-controller version 0.12.2 js-controller starting `
-
Ok, jetzt hat es nach mehreren Versuchen endlich geklappt: js-controller 0.13.1 installiert .
Läuft bisher ohne Probleme.
Lg,
-
Hallo
Kann mir bitte jemand die Befehle für das Update für Win10 angeben.
Grüße
-
Installation in c:\iobroker
-
CMD aufrufen
-
Ins Verzeichnis gehen
-
iobroker stop
-
npm install https://github.com/ioBroker/ioBroker.js … all/master
-
iobroker start
-
-
Bisher keine Auffälligkeiten
+Admin 1.6.5
+js-controller 0.13.1
Keine Fehlermeldungen im Log.
-
Bisher keine Auffälligkeiten
+Admin 1.6.5
+js-controller 0.13.1
Keine Fehlermeldungen im Log. `
Bei mir, mit gleicher Konstellation, auch bisher keine Fehler.Gruß,
Eric
-
-
Habs unter Windows 10 64bit installiert und funktioniert bis jetzt alles.
-
-
-
controller 0.13.0 läuft seit vorgestern ohne Auffälligkeiten.
-
@akamia Herzlichen Dank. Hat ohne Probleme geklappt.
@Bluefox Meine "SendTo-Bausteine" sind immer noch weg
Grüße
Ich befürchte, du bist der einzigste.
Das befürchte ich mittlerweile auch
Irgend eine Idee wie ich mich wieder der Allgemeinheit anschließen kann?
Grüße `
Irgendwelche Fehler in der Browser Konsole? -
Dies wird angezeigt.
Grüße
-
Hallo,
Update ist durchgelaufen. Eine Meldung in der Console (OS X El Capitan) http://forum.iobroker.net/viewtopic.php?f=20&t=3958
! ````
node-gyp rebuild
! CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
SOLINK_MODULE(target) Release/ursaNative.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
! > iobroker.js-controller@0.13.1 install /Users/pix/Documents/iobroker/node_modules/iobroker.js-controller
node lib/setup.js setup firstNeustart ioBroker (Admin 1.6.5) läuft glatt. Danke! Pix