NEWS
[Gelöst] Flot installations Probleme
-
Guten Tag,
mein Flot funktioniert nicht,
ich bekomme bei der installation eine reihe an fehlern, eventuell kann jemand von euch ja damit was anfangen.
$ ./iobroker add flot
npm install iobroker.flot –production --prefix "/mnt/iobroker" (System call)
node-pre-gyp ERR! Tried to download(404): https://github.com/tessel/node-usb/rele ... x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for usb@1.3.1 and node@8.8.0 (node-v57 ABI) (falling back to source compile with node-gyp)
../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: Datei oder Verzeichnis nicht gefundencompilation terminated.
make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Fehler 1
gyp
ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/mnt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-104-generic
gyp ERR! command "/usr/local/bin/node" "/mnt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "–fallback-to-build" "--module=/mnt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/mnt/iobroker/node_modules/usb/src/binding"
gyp ERR! cwd /mnt/iobroker/node_modules/usb
gyp ERR! node -v v8.8.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /mnt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/mnt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/mnt/iobroker/node_modules/usb/src/binding' (1)
node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/mnt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:125:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:213:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:927:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 4.4.0-104-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/mnt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /mnt/iobroker/node_modules/usb
node-pre-gyp ERR! node -v v8.8.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
npm
WARN
optional
SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):
npm
WARN
notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):npm WARN notsup
SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.3.1 (node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.3.1 install:
node-pre-gyp install --fallback-to-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
host.homeserver install adapter flot
npm install --production (System call) in "/mnt/iobroker/node_modules/iobroker.flot"
got /mnt/iobroker/node_modules/iobroker.flot/admin
upload [0] flot.admin /mnt/iobroker/node_modules/iobroker.flot/admin/flot.png flot.png image/png
got /mnt/iobroker/node_modules/iobroker.flot/www
upload [30] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/js/jquery.flot.hiddengraphs.js lib/js/jquery.flot.hiddengraphs.js application/javascript
upload [20] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/preview-opacity.png lib/css/images/preview-opacity.png image/png
upload [19] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/map.png lib/css/images/map.png image/png
upload [18] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/map-pointer.png lib/css/images/map-pointer.png image/png
upload [17] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/map-opacity.png lib/css/images/map-opacity.png image/png
upload [16] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/bar.png lib/css/images/bar.png image/png
upload [15] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/bar-pointer.png lib/css/images/bar-pointer.png image/png
upload [14] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/bar-opacity.png lib/css/images/bar-opacity.png image/png
upload [13] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/bar-alpha.png lib/css/images/bar-alpha.png image/png
upload [12] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/128/map.png lib/css/images/128/map.png image/png
upload [11] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/128/bar.png lib/css/images/128/bar.png image/png
upload [10] flot /mnt/iobroker/node_modules/iobroker.flot/www/lib/css/images/128/bar-alpha.png lib/css/images/128/bar-alpha.png image/png
upload [9] flot /mnt/iobroker/node_modules/iobroker.flot/www/js/words.js js/words.js application/javascript
upload [8] flot /mnt/iobroker/node_modules/iobroker.flot/www/js/settings.js js/settings.js application/javascript
upload [7] flot /mnt/iobroker/node_modules/iobroker.flot/www/js/edit.js js/edit.js application/javascript
upload [6] flot /mnt/iobroker/node_modules/iobroker.flot/www/js/data.js js/data.js application/javascript
upload [5] flot /mnt/iobroker/node_modules/iobroker.flot/www/js/chart.js js/chart.js application/javascript
upload [4] flot /mnt/iobroker/node_modules/iobroker.flot/www/index.html index.html text/html
upload [3] flot /mnt/iobroker/node_modules/iobroker.flot/www/img/resetZoom.png img/resetZoom.png image/png
upload [2] flot /mnt/iobroker/node_modules/iobroker.flot/www/img/favicon.png img/favicon.png image/png
upload [1] flot /mnt/iobroker/node_modules/iobroker.flot/www/img/edit.svg img/edit.svg image/svg+xml
upload [0] flot /mnt/iobroker/node_modules/iobroker.flot/www/edit.html edit.html text/html
host.homeserver object system.adapter.flot created
host.homeserver object _design/chart created
host.homeserver create instance flot
host.homeserver object system.adapter.flot.upload created
host.homeserver object system.adapter.flot.0 created
process exited with code 0</anonymous>
-
Die Fehler von gyp sind normal und nicht schlimm, desweiteren sehe ich das die mit upload endet also erfolgreich war.
Hat du mal unter Instanzen geschaut ob er jetzt dabei steht?
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community
-
Die Fehler von gyp sind normal und nicht schlimm, desweiteren sehe ich das die mit upload endet also erfolgreich war.
Hat du mal unter Instanzen geschaut ob er jetzt dabei steht?
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community `
ja die Instanz ist da aber wie schon beschrieben funktioniert da nichts ich sehe unten ein dauerhaften ladebalken und objekte auswählen kann ich auch nicht.
-
Die Fehler von gyp sind normal und nicht schlimm, desweiteren sehe ich das die mit upload endet also erfolgreich war.
Hat du mal unter Instanzen geschaut ob er jetzt dabei steht?
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community `
ich sehe aber das er versucht usb bindings zu installieren das aber nicht geht weil die angegebene adresse nicht mehr existiert.
-
Das hat aber mal nichts mit den Fehlern zu tun. Starte mal die Web Instanz neu
-
Das hat aber mal nichts mit den Fehlern zu tun. Starte mal die Web Instanz neu `
erledigt, aber keine veränderung.
die browser konsole zeigt mir dort aber auch nix an
-
~~![](</s><URL url=)https://www2.pic-upload.de/img/34602628/Unbenannt-1.png" />
![](</s><URL url=)https://www2.pic-upload.de/img/34602625/Unbenannt-2.png" />~~ -
Hat du überhaupt history oder einen anderen datenlogger (zB MySQL Adapter) installiert und zeichnest Daten auf ?
Die selber geht ja wie ich aus dem Screenshot erkenne sehr nur keine Datenpunkte
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community
-
Hat du überhaupt history oder einen anderen datenlogger (zB MySQL Adapter) installiert und zeichnest Daten auf ?
Die selber geht ja wie ich aus dem Screenshot erkenne sehr nur keine Datenpunkte
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community `
ja ich habe history installiert
-
Hat du überhaupt history oder einen anderen datenlogger (zB MySQL Adapter) installiert und zeichnest Daten auf ?
Die selber geht ja wie ich aus dem Screenshot erkenne sehr nur keine Datenpunkte
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community `
richtig weil mir flot keine Datenpunkte anzeigt warum auch immer
-
Und auch logging für Datenpunkte aktiviert?
Schau Mal bei den objecten ob überhaupt was aufgezeichnet ist.
Zudem in flot links anstatt Default Mal history selektieren
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community
-
geht jetzt danke habe im admin_beta nicht gesehen das man den harken noch setzen muss im alten admin war er zu sehen und hatte anschließend auch datenpunkte.
Dankeschön