Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Hallo Tester.

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Hallo Tester.

    This topic has been deleted. Only users with topic management privileges can see it.
    • derAuge
      derAuge last edited by

      Beim versuch nun über WebUI den SQL-Adapter zu installieren:

      2016-05-04 12:52:45.851  - info: iobroker add sql
      2016-05-04 12:52:48.846  - info: iobroker host.RPi2-1 install adapter sql
      2016-05-04 12:52:48.852  - info: iobroker npm install --production --prefix "/opt/iobroker/node_modules/iobroker.sql" (System call)
      2016-05-04 12:55:42.666  - info: iobroker npm
      2016-05-04 12:55:42.677  - info: iobroker  ERR! Linux 4.1.19-v7+
      2016-05-04 12:55:42.697  - info: iobroker npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.sql"npm ERR! node v4.4.3
      npm ERR! npm  v3.8.8
      npm ERR! path /opt/iobroker/node_modules/iobroker.sql/node_modules/.staging/iobroker.sql-15764de6
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall rename
      
      2016-05-04 12:55:42.715  - info: iobroker
      2016-05-04 12:55:42.729  - info: iobroker npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/iobroker.sql/node_modules/.staging/iobroker.sql-15764de6' -> '/opt/iobroker/node_modules/iobroker.sql'
      2016-05-04 12:55:42.739  - info: iobroker npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/iobroker.sql/node_modules/.staging/iobroker.sql-15764de6' -> '/opt/iobroker/node_modules/iobroker.sql'npm ERR! enoent This is most likely not a problem with npm itself
      npm ERR! enoent and is related to npm not being able to find a file.
      npm ERR! enoent
      
      2016-05-04 12:55:43.345  - info: iobroker
      2016-05-04 12:55:43.349  - info: iobroker npm
      2016-05-04 12:55:43.357  - info: iobroker ERR! Please include the following file with any support request:npm ERR!     /opt/npm-debug.log
      
      2016-05-04 12:55:43.445  - info: iobroker Cannot install iobroker.sql: 254
      2016-05-04 12:55:43.478  - info: iobroker exit 25
      
      
      1 Reply Last reply Reply Quote 0
      • eric2905
        eric2905 last edited by

        Da mein Pine64 (mit 2 GB RAM) auch da ist und mittlerweile läuft, werde ich das auch mit ausprobieren (auf Ubuntu).

        Wird spannend 😄

        Gruß,

        Eric

        1 Reply Last reply Reply Quote 0
        • R
          RS_Tobi last edited by

          Hi,

          bin gerade am Installieren, soll ich mal eine bestimmte NODE version ausprobieren?

          mfg

          Tobi

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            Hallo zusammen,

            um noch einen Exoten vorzustellen: Ich habe eben meinen BananaPi M3 mit Raspbian Lite for BPi beglückt, node js nach der Schnellanleitung für RasPi installiert:

            curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
            sudo apt-get install -y build-essential python-rpi.gpio nodejs
            

            und anschließend ioBroker nach Bluefox' code im ersten Post.

            Lief wunderbar durch bis auf die Warnuung der veralteten Versionen von Jade und graceful-fs.

            Ich werde mal einige andere Adapter hinzuladen und dann sehen wir mal weiter.

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • ruhr70
              ruhr70 last edited by

              Müsste nicht die nächste Stufe der Tests ein Update laufender Systeme sein?

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Da sind ja die richtigen zusammen 😉

                Habe die neue Version natürlich direkt nutzen wollen um ruhr70s Buetoothscanner unter Raspbian for BPi zu testen.

                Der javascript Adapter scheint Probleme zu machen. Leider bin ich da wohl nicht der Richtige um das näher einzugrenzen.

                Zuerst hatte sich unter Objekte der Ordner javascript.0 zweimal angelegt.

                im ersten die Ordner bluetooth und scriptEnabled; im zweiten zweimal der Ordner SkriptEnabled.

                Nach einem iobroker stop und iobroker start das jedoch in der "Langschreibweise eingegeben werden musste:

                root@BPi-M3:/opt/iobroker# node node_modules/iobroker.js-controller/iobroker.js stop
                Stopping iobroker controller daemon...
                iobroker controller daemon stopped.
                Exit code for "killall.sh": 0
                root@BPi-M3:/opt/iobroker# node node_modules/iobroker.js-controller/iobroker.js start
                Starting iobroker controller daemon...
                iobroker controller daemon started. PID: 2601
                
                

                sah es erst mal gut aus - Inzwischen scaltet sich der js-Adapter immer nur kurz grün und lange rot.

                Das log zeigt folgendes:

                ! ````
                host-BPi-M3 04 20:39:59.503 info Restart adapter system.adapter.javascript.0 because enabled
                host-BPi-M3 04 20:39:59.503 error instance system.adapter.javascript.0 terminated with code 0 (OK)
                TypeError: 04 20:39:59.454 error at Timer.listOnTimeout (timers.js:92:15)
                TypeError: 04 20:39:59.454 error at [object Object].ontimeout [as _onTimeout] (timers.js:209:34)
                TypeError: 04 20:39:59.454 error at [object Object]. (/opt/iobroker/node_modules/iobroker.javascript/javascript.js:1720:44)
                TypeError: 04 20:39:59.454 error at Object.main (script.js.Bluetoothscanner:1840:63)
                TypeError: 04 20:39:59.454 error at datum (script.js.Bluetoothscanner:909:12)
                TypeError: 04 20:39:59.454 error at sandbox.formatDate (/opt/iobroker/node_modules/iobroker.javascript/javascript.js:1759:32)
                TypeError: 04 20:39:59.454 error at Adapter.formatDate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:1661:28)
                TypeError: 04 20:39:59.454 error isDuration.toLowerCase is not a function
                uncaught 04 20:39:59.437 error exception: isDuration.toLowerCase is not a function
                javascript-0 04 20:39:58.427 info script.js.Bluetoothscanner: registered 0 subscriptions and 0 schedules
                javascript-0 04 20:39:58.421 info script.js.Bluetoothscanner: debug2: dpAnlegen() - Datenpunkte angelegt (createState) in javascript.0.Bluetooth.
                javascript-0 04 20:39:58.404 info script.js.Bluetoothscanner: Liste bluetoothBlacklistMac auf gültige Werte geprüft. Anzahl Einträge: 2
                javascript-0 04 20:39:58.404 info script.js.Bluetoothscanner: Liste bluetoothBlacklistManufacturerData auf gültige Werte geprüft. Anzahl Einträge: 3
                javascript-0 04 20:39:58.400 info script.js.Bluetoothscanner: debug2: Vars, Loglevel und Scriptname gesetzt
                javascript-0 04 20:39:58.399 info script.js.Bluetoothscanner: --== script.js.Bluetoothscanner ==-- gestartet. Instanz: "javascript.0.", Loglevel: debug2
                javascript-0 04 20:39:58.212 info Start javascript script.js.Bluetoothscanner
                javascript-0 04 20:39:58.123 info received all objects
                javascript-0 04 20:39:57.992 info received all states
                javascript-0 04 20:39:57.730 info requesting all objects
                javascript-0 04 20:39:57.725 info requesting all states
                javascript-0 04 20:39:57.697 info starting. Version 2.0.6 in /opt/iobroker/node_modules/iobroker.javascript
                host-BPi-M3 04 20:39:52.899 info instance system.adapter.javascript.0 started with pid 3052
                host-BPi-M3 04 20:39:22.861 info Restart adapter system.adapter.javascript.0 because enabled

                
                in der browserkonsole erschien:
                
                >! ````
                Error: Fancytree assertion failed: scrollIntoView node is invisible
                Stack-Trace:
                .error@http://192.168.138.49:8081/lib/js/jquery-1.11.1.min.js:2:1809
                e@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:67
                q.prototype.scrollIntoView@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:15146
                q.prototype.makeVisible/<@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:11524
                m.Callbacks/j@http://192.168.138.49:8081/lib/js/jquery-1.11.1.min.js:2:27239
                m.Callbacks/k.add@http://192.168.138.49:8081/lib/js/jquery-1.11.1.min.js:2:27553
                q.prototype.makeVisible@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:11488
                showActive/<@http://192.168.138.49:8081/js/selectID.js:392:25
                q.prototype.visit@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:17234
                q.prototype.visit@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:17303
                q.prototype.visit@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:17303
                r.prototype.visit@http://192.168.138.49:8081/lib/js/jquery.fancytree-all.min.js:12:22898
                showActive@http://192.168.138.49:8081/js/selectID.js:388:13
                methods.show@http://192.168.138.49:8081/js/selectID.js:2078:21
                $.fn.selectId@http://192.168.138.49:8081/js/selectID.js:2360:20
                Scripts/this.init@http://192.168.138.49:8081/adapter/javascript/tab.js:717:1
                getObjects/
                

                Weitere Info gerne

                Rainer

                1 Reply Last reply Reply Quote 0
                • eric2905
                  eric2905 last edited by

                  <u>SQL-Adapter</u>

                  Host: Raspberry Pi2 B+

                  Image: von "unserer" Webseite

                  Konfig :

                  DB-Type: SQLite3

                  Datei für sqlite: sqlite.db

                  Entprellzeit: 10000

                  Vorhaltezei:t 1 Jahr

                  sql-0	05 05:56:33.043	error	Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(2, 1462427781018, 49.98, 1, 1, 0);: Error: SQLITE_BUSY: database is locked
                  sql-0	05 05:55:54.056	error	Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(2, 1462427743028, 49.98, 1, 1, 0);: Error: SQLITE_BUSY: database is locked
                  sql-0	05 05:54:41.047	error	Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(1, 1462427679960, 231.1, 1, 1, 0);: Error: SQLITE_BUSY: database is locked
                  sql-0	05 05:54:26.093	error	Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(2, 1462427662018, 49.99, 1, 1, 0);: Error: SQLITE_BUSY: database is locked
                  .......
                  sql-0	05 05:53:15.425	error	Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(2, 1462427590980, 49.98, 1, 1, 0);: Error: SQLITE_BUSY: database is locked
                  ......
                  
                  1 Reply Last reply Reply Quote 0
                  • ruhr70
                    ruhr70 last edited by

                    Auf Ubuntu 16.04. Server installiert.

                    node v4.4.3

                    npm 2.15.1

                    SQL-Adpater mit der mitinstallierten sqlite.

                    Alle neuen Adapter plus dem Javascript Adapter. Derzeit nichts auffälliges.

                    Nur die beiden Warnungen am Anfang:````
                    npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
                    npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

                    
                    Ich spiele dann mal ein paar Szenarien durch.
                    1 Reply Last reply Reply Quote 0
                    • Bluefox
                      Bluefox last edited by

                      Ok.
                      > Alle neuen Adapter plus dem Javascript Adapter. Derzeit nichts auffälliges.
                      Danke. So muss es auch sein. Laufen. 8-)

                      Achte bitte auf die Charts.

                      1 Reply Last reply Reply Quote 0
                      • ruhr70
                        ruhr70 last edited by

                        die Meldung habe ich auch:

                        sql-0	05 15:12:26.167	error	Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(2, 1462453935160, 56.14, 1, 1, 0);: Error: SQLITE_BUSY: database is locked
                        
                        1 Reply Last reply Reply Quote 0
                        • eric2905
                          eric2905 last edited by

                          Ich mache nachher den Raspi komplett platt, installiere ein nackiges Image und installiere alles neu/manuell.

                          Mal sehen, ob der SQL-Adapter dann ohne Meldung läuft.

                          1 Reply Last reply Reply Quote 0
                          • ruhr70
                            ruhr70 last edited by

                            @ruhr70:

                            Auf Ubuntu 16.04. Server installiert.

                            node v4.4.3

                            npm 2.15.1

                            SQL-Adpater mit der mitinstallierten sqlite.

                            Alle neuen Adapter plus dem Javascript Adapter. Derzeit nichts auffälliges.

                            Nur die beiden Warnungen am Anfang:````
                            npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
                            npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

                            
                            Ich spiele dann mal ein paar Szenarien durch. `  
                            

                            Gerade den Host mit der VM neu gestartet. Danach lief ioBroker nicht. Ich wollte es dann manuell starten, aber "iobroker" fehlt :?: :shock:

                            root@ubuntu-1604-dev:/opt/iobroker# ls
                            etc  iobroker-data  killall.sh  log  node_modules  reinstall.sh
                            
                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              @ruhr70:

                              Ich wollte es dann manuell starten, aber "iobroker" fehlt :?: :shock: `

                              Wie denn?

                              so?

                              node node_modules/iobroker.js-controller/iobroker.js start
                              

                              aus /opt/iobroker klappt es nicht!

                              siehe auch:

                              http://forum.iobroker.net/viewtopic.php … 789#p25195

                              Gruß

                              Rainer

                              1 Reply Last reply Reply Quote 0
                              • ruhr70
                                ruhr70 last edited by

                                @Homoran:

                                node node_modules/iobroker.js-controller/iobroker.js start
                                

                                aus /opt/iobroker klappt es nicht!

                                siehe auch:

                                http://forum.iobroker.net/viewtopic.php … 789#p25195 `

                                OK. Das war etwas voreilig 😄

                                node node_modules/iobroker.js-controller/iobroker.js start
                                ````funktioniert.
                                
                                Die Datei ****iobroker**** wurde nur nicht angelegt.
                                
                                Ich hab jetzt das erste Mal reingeschaut, was da überhaupt drin steht :oops: :
                                
                                

                                node node_modules/iobroker.js-controller/iobroker.js $1 $2 $3 $4 $5

                                
                                Und Autostart ist mit der Testinstallation nicht aktiv.
                                1 Reply Last reply Reply Quote 0
                                • R
                                  RS_Tobi last edited by

                                  Hi Leute,

                                  mal ein Lob und großes DANKESCHÖN an alle mitwirkenden und Bluefox.

                                  Ich habe auch getestet und zwar mit meiner "alten" Himbeere.

                                  FAZIT: Läuft besser, schneller und meines Erachtens auch wesentlicher Stabiler als das was ich vor 4 Wochen

                                  neu aufgesetzt habe.

                                  Früher musste ich meinen Admin oft 2 bis 3 mal aktualliesiern bis er mir alle Icons geladen hat und die Adapter in den

                                  Unterordner richtig hinterlegt hat.

                                  Nun habe ich damit keinerlei Probleme mehr. Funktioniert aufs erste mal.

                                  Davor hat ich auch dieses Problem beim Adapter installieren. http://forum.iobroker.net/viewtopic.php?f=22&t=1544

                                  Dieser ist bisher noch nicht aufgetaucht! (derzeit 3 Adapter installiert)

                                  Meine HARDWARE:

                                  Raspberry Pi 1 B+

                                  Jessie Lite image

                                  Vorgehensweise und alle Infos zum System und zur Installation hier im Spoiler.

                                  ! sudo raspi-config
                                  ! sudo nano /etc/ssh/sshd_config
                                  ! sudo /etc/init.d/ssh restart
                                  ! sudo su
                                  ! passwd
                                  ! sudo apt-get update && sudo apt-get upgrade
                                  ! reboot
                                  ! apt-get install npm
                                  ! apt-get install git
                                  ! sudo apt-get update && sudo apt-get upgrade
                                  ! reboot
                                  ! wget https://nodejs.org/dist/v4.4.3/node-v4. … v6l.tar.xz
                                  ! sudo tar -xvf node-v4.4.3-linux-armv6l.tar.xz
                                  ! cd node-v4.4.3-linux-armv6l
                                  ! sudo cp -R * /usr/local/
                                  ! sudo apt-get install build-essential python-rpi.gpio nodejs
                                  ! root@raspberrypi:~# uname -a && node -v && nodejs -v && npm -v
                                  ! Linux raspberrypi 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux
                                  ! v4.4.3
                                  ! v0.10.29
                                  ! 2.15.1
                                  ! Reboot
                                  ! mkdir /opt/iobroker
                                  ! cd /opt/iobroker
                                  ! sudo chmod 777 .
                                  ! sudo npm install https://github.com/ioBroker/ioBroker.js ... all/master --production
                                  ! iobroker.js-controller@0.8.10 node_modules/iobroker.js-controller
                                  ! ├── mime@1.3.4
                                  ! ├── daemonize2@0.4.2
                                  ! ├── adm-zip@0.4.7
                                  ! ├── ncp@2.0.0
                                  ! ├── semver@4.3.6
                                  ! ├── node.extend@1.1.5 (is@3.1.0)
                                  ! ├── node-schedule@1.0.0 (long-timeout@0.0.2, cron-parser@1.1.0)
                                  ! ├── winston@2.2.0 (cycle@1.0.3, stack-trace@0.0.9, isstream@0.1.2, eyes@0.1.8, async@1.0.0, pkginfo@0.3.1, colors@1.0.3)
                                  ! ├── yargs@3.32.0 (decamelize@1.2.0, camelcase@2.1.1, y18n@3.2.1, window-size@0.1.4, cliui@3.2.0, os-locale@1.4.0, string-width@1.0.1)
                                  ! ├── winston-daily-rotate-file@1.0.1 (winston@2.1.1)
                                  ! ├── socket.io@1.4.6 (has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, socket.io-adapter@0.4.0, engine.io@1.6.9)
                                  ! ├── socket.io-client@1.4.6 (to-array@0.1.4, component-emitter@1.2.0, indexof@0.0.1, object-component@0.0.3, component-bind@1.0.0, backo2@1.0.2, has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, parseuri@0.0.4, engine.io-client@1.6.9)
                                  ! ├── 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)
                                  ! ├── request@2.72.0 (tunnel-agent@0.4.3, aws-sign2@0.6.0, forever-agent@0.6.1, oauth-sign@0.8.2, is-typedarray@1.0.0, caseless@0.11.0, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.2.2, node-uuid@1.4.7, qs@6.1.0, combined-stream@1.0.5, mime-types@2.1.11, form-data@1.0.0-rc4, aws4@1.3.2, hawk@3.1.3, bl@1.1.2, http-signature@1.1.1, har-validator@2.0.6)
                                  ! ├── iobroker.admin@1.0.3 (connect-flash@0.1.1, xtend@4.0.1, cookie-parser@1.4.1, passport-local@1.0.0, passport@0.2.2, express-session@1.13.0, body-parser@1.15.1, express@4.13.4)
                                  ! ├── tar.gz@1.0.3 (commander@2.9.0, bluebird@2.10.2, tar@2.2.1, chai@3.5.0, fstream@1.0.8, mocha@2.4.5, mout@0.11.1)
                                  ! └── npm@2.15.5
                                  ! sudo npm install https://github.com/ioBroker/ioBroker.ad ... all/master --production
                                  ! iobroker.admin@1.1.1 node_modules/iobroker.admin
                                  ! ├── connect-flash@0.1.1
                                  ! ├── xtend@4.0.1
                                  ! ├── cookie-parser@1.4.1 (cookie-signature@1.0.6, cookie@0.2.3)
                                  ! ├── passport-local@1.0.0 (passport-strategy@1.0.0)
                                  ! ├── passport@0.2.2 (pause@0.0.1, passport-strategy@1.0.0)
                                  ! ├── express-session@1.13.0 (cookie-signature@1.0.6, utils-merge@1.0.0, on-headers@1.0.1, parseurl@1.3.1, cookie@0.2.3, depd@1.1.0, crc@3.4.0, uid-safe@2.0.0, debug@2.2.0)
                                  ! ├── body-parser@1.15.1 (content-type@1.0.1, bytes@2.3.0, depd@1.1.0, raw-body@2.1.6, http-errors@1.4.0, qs@6.1.0, on-finished@2.3.0, debug@2.2.0, iconv-lite@0.4.13, type-is@1.6.12)
                                  ! ├── express@4.13.4 (escape-html@1.0.3, utils-merge@1.0.0, cookie-signature@1.0.6, content-type@1.0.1, merge-descriptors@1.0.1, methods@1.1.2, vary@1.0.1, content-disposition@0.5.1, cookie@0.1.5, fresh@0.3.0, parseurl@1.3.1, range-parser@1.0.3, serve-static@1.10.2, etag@1.7.0, array-flatten@1.1.1, path-to-regexp@0.1.7, depd@1.1.0, qs@4.0.0, finalhandler@0.4.1, on-finished@2.3.0, debug@2.2.0, proxy-addr@1.0.10, send@0.13.1, accepts@1.2.13, type-is@1.6.12)
                                  ! ├── socket.io@1.4.6 (has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, socket.io-adapter@0.4.0, engine.io@1.6.9, socket.io-client@1.4.6)
                                  ! └── request@2.72.0 (aws-sign2@0.6.0, tunnel-agent@0.4.3, forever-agent@0.6.1, oauth-sign@0.8.2, is-typedarray@1.0.0, caseless@0.11.0, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, tough-cookie@2.2.2, node-uuid@1.4.7, qs@6.1.0, combined-stream@1.0.5, mime-types@2.1.11, form-data@1.0.0-rc4, aws4@1.3.2, bl@1.1.2, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)
                                  ! sudo npm install https://github.com/ioBroker/ioBroker.sql/tarball/master --production
                                  !
                                  ! > sqlite3@3.1.3 install /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3
                                  ! > node-pre-gyp install --fallback-to-build
                                  ! make: Entering directory '/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/build'
                                  ! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
                                  ! TOUCH Release/obj.target/deps/action_before_build.stamp
                                  ! CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
                                  ! AR(target) Release/obj.target/deps/sqlite3.a
                                  ! COPY Release/sqlite3.a
                                  ! CXX(target) Release/obj.target/node_sqlite3/src/database.o
                                  ! ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
                                  ! ../src/database.cc:143:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
                                  ! ../src/database.cc:227:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
                                  ! ../src/database.cc:505:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
                                  ! ../src/database.cc:605:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
                                  ! CXX(target) Release/obj.target/node_sqlite3/src/statement.o
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)’:
                                  ! ../src/statement.cc:118:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! In file included from ../src/statement.cc:6:0:
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginBind(node_sqlite3::Statement::Baton*)’:
                                  ! ../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/statement.cc:322:5: note: in expansion of macro ‘STATEMENT_BEGIN’
                                  ! STATEMENT_BEGIN(Bind);
                                  ! ^
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginGet(node_sqlite3::Statement::Baton*)’:
                                  ! ../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/statement.cc:370:5: note: in expansion of macro ‘STATEMENT_BEGIN’
                                  ! STATEMENT_BEGIN(Get);
                                  ! ^
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginRun(node_sqlite3::Statement::Baton*)’:
                                  ! ../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/statement.cc:438:5: note: in expansion of macro ‘STATEMENT_BEGIN’
                                  ! STATEMENT_BEGIN(Run);
                                  ! ^
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginAll(node_sqlite3::Statement::Baton*)’:
                                  ! ../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/statement.cc:504:5: note: in expansion of macro ‘STATEMENT_BEGIN’
                                  ! STATEMENT_BEGIN(All);
                                  ! ^
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginEach(node_sqlite3::Statement::Baton*)’:
                                  ! ../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/statement.cc:601:5: note: in expansion of macro ‘STATEMENT_BEGIN’
                                  ! STATEMENT_BEGIN(Each);
                                  ! ^
                                  ! ../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)’:
                                  ! ../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
                                  ! int status = uv_queue_work(uv_default_loop(),
                                  ! ^
                                  ! ../src/statement.cc:724:5: note: in expansion of macro ‘STATEMENT_BEGIN’
                                  ! STATEMENT_BEGIN(Reset);
                                  ! ^
                                  ! SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
                                  ! COPY Release/node_sqlite3.node
                                  ! COPY /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node
                                  ! TOUCH Release/obj.target/action_after_build.stamp
                                  ! make: Leaving directory '/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/build'
                                  ! iobroker.sql@0.2.0 node_modules/iobroker.sql
                                  ! ├── mysql@2.10.2 (bignumber.js@2.1.4, readable-stream@1.1.14)
                                  ! ├── pg@4.5.5 (packet-reader@0.2.0, pg-connection-string@0.1.3, generic-pool@2.1.1, buffer-writer@1.0.1, semver@4.3.6, pg-types@1.11.0, pgpass@0.0.3)
                                  ! ├── sql-client@0.7.0 (argf@0.0.1, optimist@0.6.1, inote-util@0.8.1)
                                  ! ├── mssql@3.2.1 (generic-pool@2.4.2, promise@7.1.1, tedious@1.14.0)
                                  ! └── sqlite3@3.1.3 (nan@2.2.1)
                                  ! sudo npm install https://github.com/ioBroker/ioBroker.hi … all/master --production
                                  ! iobroker.history@0.4.0 node_modules/iobroker.history
                                  ! sudo npm install https://github.com/ioBroker/ioBroker.fl ... all/master --production
                                  ! iobroker.flot@1.2.0 node_modules/iobroker.flot
                                  ! sudo npm install https://github.com/ioBroker/ioBroker.ri ... all/master --production
                                  ! iobroker.rickshaw@0.4.0 node_modules/iobroker.rickshaw
                                  ! sudo chmod 777 * -R
                                  ! node node_modules/iobroker.js-controller/iobroker.js start
                                  ! Starting iobroker controller daemon...
                                  ! iobroker controller daemon started. PID: 961

                                  1 Reply Last reply Reply Quote 0
                                  • Bluefox
                                    Bluefox last edited by

                                    @ruhr70:

                                    @Homoran:

                                    node node_modules/iobroker.js-controller/iobroker.js start
                                    

                                    aus /opt/iobroker klappt es nicht!

                                    siehe auch:

                                    http://forum.iobroker.net/viewtopic.php … 789#p25195 `

                                    OK. Das war etwas voreilig 😄

                                    node node_modules/iobroker.js-controller/iobroker.js start
                                    ````funktioniert.
                                    
                                    Die Datei ****iobroker**** wurde nur nicht angelegt.
                                    
                                    Ich hab jetzt das erste Mal reingeschaut, was da überhaupt drin steht :oops: :
                                    
                                    

                                    node node_modules/iobroker.js-controller/iobroker.js $1 $2 $3 $4 $5

                                    
                                    Und Autostart ist mit der Testinstallation nicht aktiv. `  
                                    

                                    Autostart und die Datei "iobroker" wird nur wenn man mit "npm install iobroker" installiert.

                                    Diese Installation nimmt aber die Versionen von NPM. Und ich will, dass ihr GITHUB testet. 8-)

                                    1 Reply Last reply Reply Quote 0
                                    • derAuge
                                      derAuge last edited by

                                      HAbe nochmal neu installiert.

                                      nun funktioniert die installation

                                      
                                      root@RPi2-1:/opt/iobroker#  uname -a && node -v && nodejs -v && npm -v
                                      Linux RPi2-1 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
                                      v4.4.3
                                      v0.10.29
                                      2.15.1
                                      
                                      

                                      Ein Adapter zickt noch ein wenig:

                                      2016-05-06 16:30:12.045 - info: host.RPi2-1 Restart adapter system.adapter.history.0 because enabled

                                      2016-05-06 16:30:42.074 - info: host.RPi2-1 instance system.adapter.history.0 started with pid 930

                                      2016-05-06 16:30:42.768 - error: host.RPi2-1 instance system.adapter.history.0 terminated with code 1 ()

                                      2016-05-06 16:30:42.769 - info: host.RPi2-1 Restart adapter system.adapter.history.0 because enabled

                                      2016-05-06 16:31:12.802 - info: host.RPi2-1 instance system.adapter.history.0 started with pid 935

                                      2016-05-06 16:31:13.543 - error: host.RPi2-1 instance system.adapter.history.0 terminated with code 1 ()

                                      2016-05-06 16:31:13.545 - info: host.RPi2-1 Restart adapter system.adapter.history.0 because enabled

                                      habe ihn schon mal gelöscht und wieder neu installiert. keine änderung

                                      Gruß

                                      Jürgen

                                      1 Reply Last reply Reply Quote 0
                                      • Bluefox
                                        Bluefox last edited by

                                        @derAuge:

                                        HAbe nochmal neu installiert.

                                        nun funktioniert die installation

                                        
                                        root@RPi2-1:/opt/iobroker#  uname -a && node -v && nodejs -v && npm -v
                                        Linux RPi2-1 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
                                        v4.4.3
                                        v0.10.29
                                        2.15.1
                                        
                                        

                                        Ein Adapter zickt noch ein wenig:

                                        2016-05-06 16:30:12.045 - info: host.RPi2-1 Restart adapter system.adapter.history.0 because enabled

                                        2016-05-06 16:30:42.074 - info: host.RPi2-1 instance system.adapter.history.0 started with pid 930

                                        2016-05-06 16:30:42.768 - error: host.RPi2-1 instance system.adapter.history.0 terminated with code 1 ()

                                        2016-05-06 16:30:42.769 - info: host.RPi2-1 Restart adapter system.adapter.history.0 because enabled

                                        2016-05-06 16:31:12.802 - info: host.RPi2-1 instance system.adapter.history.0 started with pid 935

                                        2016-05-06 16:31:13.543 - error: host.RPi2-1 instance system.adapter.history.0 terminated with code 1 ()

                                        2016-05-06 16:31:13.545 - info: host.RPi2-1 Restart adapter system.adapter.history.0 because enabled

                                        habe ihn schon mal gelöscht und wieder neu installiert. keine änderung

                                        Gruß

                                        Jürgen `
                                        Ich habe history gefixt. Bitte updaten

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          Heinzelmaennchen last edited by

                                          Hallo BF,

                                          ich habe an dem Testszenario mal heimlich still und leise teilgenommen und die neuen Versionen auf einer Backupmaschine installiert.

                                          nun habe ich das alles ein paar Tage beobachtet bevor ich hier schreibe.

                                          1. Die Installation selbst ging glatt über die Bühne.

                                          Meine Konfiguration ist wie folgt:

                                          Linux castor 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) i686 GNU/Linux

                                          v0.12.14

                                          2.15.1

                                          1. Ich verwende für die Historisierung der Daten den sql Adapter, der die Daten auf eine getrennte Synology mit mysql schreibt. Auch hier nach der Installation, zumindest glaube ich das, keine Auffälligkeiten.

                                          2. Ich habe nun das logging von Verbrauchsdaten des B-Control Adapters aktiviert, der im 500ms Rhythmus alle Sensoren ausliest.

                                          In der Konfiguration des Logging eines Datenpunktes ->"Table" kann man das auch verfolgen.

                                          1. ABER: Unter "CHART" gibt es leider absolut nichts zu sehen. Auch der Versuch die Datenpunkte über rickcharts oder flot anzuzeigen geht nicht. Es ist, als würden die Daten zwar in die DB geloggt werden, aber der Rückweg zum Anzeigen der Daten nicht funktionieren.

                                          Ich weiss nicht ob das nun ein Bug ist, oder ich einfach etwas übersehen habe zu aktivieren. Bräuchte da mal etwas unterstützung.

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            Heinzelmaennchen last edited by

                                            Und noch ein Nachsatz:

                                            Ich habe mal den sql Adapter auf debug Level gestellt. Der Wirft Nachrichten raus, von denen ich mal glaube, dass er damit absolut nichts am hut haben dürfte:

                                            Kurzer Ausschnitt:

                                            ! sql.0 11 10:44:32.036 debug inMem message * b-control-em.1.Backofen_0001201210250699
                                            ! sql.0 11 10:44:32.011 debug sql.0 INSERT INTO iobroker.ts_number (id, ts, val, ack, _from, q) VALUES(5, 1462956262006, 28.7, 0, 5, 0);
                                            ! sql.0 11 10:44:31.923 debug sql.0 INSERT INTO iobroker.ts_number (id, ts, val, ack, _from, q) VALUES(51, 1462956269764, 7.7, 0, 1, 0);
                                            ! sql.0 11 10:44:31.900 debug inMem message * b-control-em.2.Till_0001201210230069
                                            ! sql.0 11 10:44:31.419 debug inMem message * system.adapter.javascript.0.uptime
                                            ! sql.0 11 10:44:31.419 debug inMem message * system.adapter.javascript.0.memHeapUsed
                                            ! sql.0 11 10:44:31.419 debug inMem message * system.adapter.javascript.0.memHeapTotal
                                            ! sql.0 11 10:44:31.419 debug inMem message * system.adapter.javascript.0.memRss
                                            ! sql.0 11 10:44:31.414 debug inMem message * system.adapter.javascript.0.connected
                                            ! sql.0 11 10:44:31.414 debug inMem message * system.adapter.javascript.0.alive
                                            ! sql.0 11 10:44:31.307 debug inMem message * node-red.0.consumption.geschirrspueler
                                            ! sql.0 11 10:44:31.306 debug inMem message * b-control-em.1.Geschirrspueler_0001201210250681
                                            ! sql.0 11 10:44:31.167 debug inMem message * node-red.0.consumption.waschmaschine
                                            ! sql.0 11 10:44:31.164 debug inMem message * b-control-em.2.Waeschetrockner_0001201210230072
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.level
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.b
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.g
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.r
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.reachable
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.colormode
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.alert
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.ct
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.xy
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.effect
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.sat
                                            ! sql.0 11 10:44:31.059 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.hue
                                            ! sql.0 11 10:44:31.044 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.bri
                                            ! sql.0 11 10:44:31.044 debug inMem message * hue.0.HeinzelHue.Till_Decke_2/2.on
                                            ! sql.0 11 10:44:30.999 debug inMem message * hue.0.HeinzelHue.Till_Decke_1/2.level
                                            ! sql.0 11 10:44:30.999 debug inMem message * hue.0.HeinzelHue.Till_Decke_1/2.b
                                            Die b-control-Messages sind korrekt, aber ich weiss nicht woher der sql.0 die Nchrichten von hue oder anderen nimmt. Da hab ich kein Logging aktiviert.

                                            Bin etwas ratlos.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            783
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            45
                                            6483
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo