Navigation

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

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • 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.
    • eric2905
      eric2905 last edited by

      Hi Bluefox,

      dann probiere ich das doch einfach heute Abend mal aus 😄

      Der Raspi ist komplett neu installiert (aus einem fertigen Image von der Webseite), Updates alle durch, usw.

      Dann kann ich das Gesamtsystem mit den neuen Adaptern, usw. testen.

      Gruß,

      Eric

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

        HI,

        mal eine generelle Frage, soll Hardware besonders getestet werden?

        Ich meine damit, ich hätte einen RPiB+ zum testen, aber ich finde der hat jetzt schon ziemlich schnell seine Max. Leistung

        erreicht.

        Ist das überhaupt noch gewollt den zu Testen?

        Evtl sollte man genau sagen was man noch testen sollte (welche OS/Hardware Konfigurationen)

        Und was soll das Ziel sein? nur testen ob die Installation funktioniert oder Fehler auftreten (u.a. auch im Log)

        Sollen irgendwelche Adapter dazu getestet werden?

        Ihr habt mich als DAU 😉 Ich würde auch gerne Helfen aber weis nicht so recht wie ich es kann und welche Infos Ihr von mir wollt.

        Mfg

        Tobi

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

          Da ich meinen TestPi neu aufsetzen muss , bin ich dabei

          Gruß

          Jürgen

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

            Hallo nochmal.

            Die Neuinstallation ist nun geschafft.

            Folgende Schritte wurden durchgeführt:

            ! 1. Download Raspbian Jessie Lite # Minimal image based on Debian Jessie (2016-03-18-raspbian-jessie-lite)
            ! https://downloads.raspberrypi.org/raspbian_lite_latest
            ! 2. Image auf SD-Karte bringen
            ! a.) die SD-Karte formatieren # Option = FORMAT SIZE AD JUSTMENT ON
            ! https://www.sdcard.org/downloads/format … tterv4.zip
            ! b.) auf SD-Karte kopieren
            ! https://sourceforge.net/projects/win32diskimager/
            ! 3. Karte einlegen und RPi starten
            ! 4. mit Putty per ssh am RPi anmelden
            ! 5. alle Konfigurationen durchführen
            ! #
            ! sudo raspi-config
            ! #
            ! 1 Expand Filesystem
            ! 2 Change User Password
            ! 3 Boot Options
            ! B1 Console Text console, requiring user to logi
            ! 4 Wait for Network at Boot
            ! Fast Boot without waiting for network connection
            ! 5 Internationalisation Options Set up language and regional settings to match your location │
            ! I1 Change Locale
            ! * de_DE.UTF-8 UTF-8

            Default locale for the system environment: de_DE.UTF-8
            
            I2 Change Timezone Set up timezone to match your location
            
            Geographic area: Europe
            
            Time zone: Berlin
            
            I3 Change Keyboard Layout Set the keyboard layout to match your keyboard
            
            Keyboard model: Generic 105-key (Intl) PC
            
            Keyboard layout: Other
            
            Country of origin for the keyboard: German
            
            Keyboard layout: German - German (qwerty)
            
            Key to function as AltGr: Right Alt (AltGr)
            
            Compose key: Left Logo key
            
            I4 Change Wi-fi Country Set the legal channels used in your country
            
            DE Germany
            
            6 Enable Camera # Enable support for Raspberry Pi camera? <disable>7 Add to Rastrack
            
            8 Overclock
            
            9 Advanced Options
            
            A1 Overscan You may need to configure overscan if black bars are present on display
            
            A2 Hostname Set the visible name for this Pi on a network
            
            RPi3-1
            
            A3 Memory Split Change the amount of memory made available to the GPU
            
            A4 SSH Enable/Disable remote command line access to your Pi using SSH
            
             <enable>A5 Device Tree Enable/Disable the use of Device Tree
            
            A6 SPI Enable/Disable automatic loading of SPI kernel module (needed for e.g. PiFace)
            
            A7 I2C Enable/Disable automatic loading of I2C kernel module
            
            A8 Serial Enable/Disable shell and kernel messages on the serial connection
            
            A9 Audio Force audio out through HDMI or 3.5mm jack
            
            AA GL Driver Enable/Disable experimental desktop GL driver
            
            A0 Update Update this tool to the latest version
            
            0 About raspi-config Information about this configuration tool
            
             <finish>6\. dem Nutzer Root ein Passwort vergeben
            
            #
            
            sudo passwd root
            
            Enter new UNIX password:
            
            Retype new UNIX password:
            
            passwd: password updated successfully
            
            #
            
            7\. System neu starten
            
            #
            
            sudo reboot
            
            Broadcast message from pi@raspberrypi on pts/0 (Sat 2016-03-19 15:00:53 CET):
            
            The system is going down for reboot NOW!
            
            a.) mit Putty per ssh am RPi anmelden
            
            #
            
            su
            
            Passwort:
            
            root@RPi2-1:/home/pi#
            
            nun sind wir als Root im System
            
            ##### System Update: (als Root angemeldet)
            
            apt-get update && apt-get upgrade -y
            
            ##### Installing Node.js via package manager #####
            
            #
            
            curl -sL [https://deb.nodesource.com/setup_4.x](https://deb.nodesource.com/setup_4.x) | sudo -E bash -
            
            apt-get install -y nodejs
            
            ##### nodejs (4.4.3-1nodesource1~jessie1) wird eingerichtet …
            
            npm install npm -g
            
            #
            
            uname -a && node -v && npm -v
            
            Folgendes System steht nun bereit:
             *   uname -a && node -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
            
                3.8.8 
            
            Dann die installation laut Vorgabe im erstern Post:
            
            Siehe Log-File  ![315_rpi2-1_20160504_110438_install_test_millisekunden.log](/assets/uploads/files/315_rpi2-1_20160504_110438_install_test_millisekunden.log) 
            Dort gibt es einige Warnungen
            
            Im AdminWebGui ist nun "nur" admin installiert
            
            wie soll es nun weiter gehen?
            
            Gruß
            
            Jürgen</finish></enable></disable>
            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            848
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            45
                                            6716
                                            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