Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation ioBroker auf Cubietruck

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installation ioBroker auf Cubietruck

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

      Hallo

      • habe jetzt die 0.4.2 neu installiert

      • nach installation läuft alles

      • im Adminbereich Update auf 0.5.4 ausgeführt

      • Adminbereich läst sich nicht mehr aufrufen

      • also Installation von Hand aufgerufen aus dem Verzeichnis opt/iobroker

      • folgende Meldungen kommen beim Update

      pi@raspberrypi /opt/iobroker $ sudo npm install iobroker.js-controller --production
      npm WARN package.json daemonize2@0.4.2 No repository field.
      npm WARN install Refusing to install iobroker.js-controller as a dependency of itself
      
      pi@raspberrypi /opt/iobroker $ sudo npm install iobroker.admin --production
      npm WARN package.json daemonize2@0.4.2 No repository field.
      npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
      npm ERR! cb() never called!
      npm ERR! not ok code 0
      pi@raspberrypi /opt/iobroker $
      
      

      Habe ich nun wieder was falsch gemacht?

      Gruß Norbert und allen einen schönen Abend

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

        Setzte doch den cubie neu auf.

        Dann:

        mkdir /opt/iobroker

        cd /opt/iobroker

        npm install iobroker

        Die Pfade haben sich mittlerweile geändert.

        Gesendet von meinem Cynus T7 mit Tapatalk

        1 Reply Last reply Reply Quote 0
        • E
          exv2 last edited by

          Danke für die gedult.

          Aber auch das geht nicht. Die installation bricht sofort ab.

          Failed at the iobroker@0.2.2 install script.

          This is most likely a problem with the iobroker package,

          not with npm itself.

          Da ich mit Linux nichts am Hut habe gebe ich an dieser Stelle auf. Muss ich mir wohl eine andere Visualisierung suchen.

          Wünsche euch ein schönes WE

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

            Nur falls du es nicht weißt:

            IoBroker ist noch lange nicht fertig. es befindet sich noch nicht einmal im beta Stadium.

            Also: aufgeben gilt nicht [emoji2]

            Hast du node.js installiert?

            Hast du auf Bluefox gehört und die Installation aus /opt/iobroker gestartet?

            EDIT:

            Bin davon ausgegangen dass du auf einem cubietruck installierst - das ist der cubie thread.

            Anscheinend willst du als user pi auf dem raspberry installieren. Das geht nicht!

            Du musst root sein!

            Gesendet von meinem Cynus T7 mit Tapatalk

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

              habe heute Raspbery PI 2 B bestellt: 4x900Mhz, 1 GB Ram. Ansonsten alte gute Raspbery PI B+ Platine.

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

                @Bluefox:

                habe heute Raspbery PI 2 B bestellt: 4x900Mhz, 1 GB Ram. Ansonsten alte gute Raspbery PI B+ Platine. `
                Wo?

                Und wie bist du mit dem odroid zufrieden

                Emmc oder SD-card

                Gesendet von meinem Cynus T7 mit Tapatalk

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

                  @Homoran:

                  @Bluefox:

                  habe heute Raspbery PI 2 B bestellt: 4x900Mhz, 1 GB Ram. Ansonsten alte gute Raspbery PI B+ Platine. `
                  Wo?

                  Und wie bist du mit dem odroid zufrieden

                  Emmc oder SD-card

                  Gesendet von meinem Cynus T7 mit Tapatalk `
                  http://www.reichelt.de/RASPBERRY-PI-2-B … rry+pi+2+b

                  Bin mit odroid sehr zufrieden. Aber ich will ioBroker auf rPI2 ausprobieren.

                  1 Reply Last reply Reply Quote 0
                  • S
                    starfish last edited by

                    @Bluefox:

                    Bin mit odroid sehr zufrieden. Aber ich will ioBroker auf rPI2 ausprobieren. `
                    welcher Typ Odroid? und welche Linux-Version (distr.) verwendest Du? Ich habe vor ein paar Tagen selbst Odroid C1 bestellt.

                    Gruss

                    starfish

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

                      @starfish:

                      @Bluefox:

                      Bin mit odroid sehr zufrieden. Aber ich will ioBroker auf rPI2 ausprobieren. `
                      welcher Typ Odroid? und welche Linux-Version (distr.) verwendest Du? Ich habe vor ein paar Tagen selbst Odroid C1 bestellt.

                      Gruss

                      starfish `
                      Ich habe vor einem Jahr aus Süd-Korea ODROID-U3 mit 8Gb eMMC bestellt und Ubuntu installiert (http://forum.odroid.com/viewtopic.php?f=29&t=5234)

                      Damals ältere. Ubuntu GUI habe ich irgendwie deaktiviert.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sprite01 last edited by

                        Erste Versuche mit ioBroker auf meinem Cubietruck mit HDD.

                        Nach 2 vergeblichen Anläufen ioBroker über npm install iobroker hatte ich nun mittels

                        wget http://download.iobroker.org/ioBroker-0.4.2.deb einen Teilerfolg.

                        Beim npm-Paket blieb irgendwann nach ein paar Minuten (habe über eine halbe Stunde gewartet) der Cubie hängen.

                        Es standen dann (für mich nicht zu deutende) Zeilen auf dem Bildschirm, welche meiner Meinung nach allerdings nichts mit ioBroker zu tun hatten.

                        Die Zeilen habe ich leider nicht mehr zur Verfügung.

                        Bei der Installation über das Debian-Paket ist zumindest die Seite IP:8081 aufrufbar.

                        Gemäß Anleitung die Lizenzbedingungen akzeptiert und HOSTS war grün.

                        Das Update lief dann durch.

                        Nun soll ich ja den hm-rega-Adapter installieren, dies funktioniert jedoch nicht und ein Fehlerlog erscheint.
                        > iobroker 2015-03-28 16:10:18 info error by reading iobroker.example: Error: Cannot find module 'npm'

                        Da ich Beginner bin, komme ich nun erst mal nicht weiter und hoffe auf Unterstützung durch euch.
                        137_log_dewe1.txt

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

                          Hallo Sprite,

                          ob das .deb-Paket noch funktioniert, weiß ich nicht. Es gab zwischendrin eine komplette Änderung. Bluefox ist leider gerade jetzt zwei Wochen nicht da.

                          Die npm installation läuft mittlerweile –silent. Es wird also sehr lange Zeit nichts angezeigt. Aber 1/2 Stunde wäre schon sehr lange.

                          Die Fehlermeldung beim Versuch rega zu installieren deutet auf das gleiche Problem wie zu Beginn hin.

                          Es gibt hier einen weiteten Thread bei dem es im Moment mit npm nicht klappt. Kann aber auch an verschiedenen Ursachen liegen, die sich ausgerechnet bei dir zu einem größeren Problem kumulierten.

                          • dem abgebrochenen ersten Versuch

                          • dem wahrscheinlich veralteten Paket.

                          Ich nehme an, du gehst nach dem aktuellen Manual im wiki vor.

                          Für mich wäre jetzt der sinnvollste weg:

                          Neue SD Karte mit Igors image. Einstecken und cubie hochfahren.

                          Mit putty als root einloggen.

                          Die Datei /root/hdinstall.sh ausführbar machen mit chmod +x hdinstall.sh

                          Es soll in neueren images nur noch eine datei für nand und HDD geben. Dann diese entsprechend ausführbar machen

                          Anschließend reboot

                          Dann nodejs gemäß Anleitung installieren

                          Zum Schluss Ordner /opt/iobroker anlegen, da hinein wechseln und npm install iobroker ausführen

                          Gesendet von meinem Cynus T7 mit Tapatalk

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sprite01 last edited by

                            Kurz gesagt: Platt machen und noch einmal die npm Installation versuchen. 🙂

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

                              So brutal wollte ich es nicht ausdrücken.

                              Hier ist es ähnlich auf einem bananapi

                              http://forum.iobroker.org/viewtopic.php?p=3920#p3920

                              Vielleicht ist dich im Moment irgendwo der Wurm drin

                              Gesendet von meinem Cynus T7 mit Tapatalk

                              1 Reply Last reply Reply Quote 0
                              • A
                                akamia last edited by

                                Neuaufsetzen ist anscheinend zur Zeit nicht möglich.

                                host.cubie _design/system missing - call node iobroker.js setup

                                Bei mir startet das Webinterface nicht

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

                                  Damit sind es drei.

                                  Hat einer von euch mal ein npm install iobroker.js-controller –production versucht?

                                  Gesendet von meinem Cynus T7 mit Tapatalk

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    akamia last edited by

                                    Hallo Homoran,

                                    Dir erst einmal gute Besserung.

                                    Bei mir bleibt die Fehlermeldung.

                                    `2015-03-28 19:44:25.852  - [31merror[39m: host.cubie _design/system missing - call node iobroker.js setup[/code]`
                                    
                                    LÄuft sauber außer einigen unwichtigen Warnings:
                                    
                                    `~~[code]~~npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})[/code]`
                                    
                                    Gruß
                                    
                                    akamia
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sprite01 last edited by

                                      Ich bin dann erst mal raus.

                                      Denke, mir fehlt zu viel um überhaupt wichtige Fehler melden zu können.

                                      Wenn jemand eine lauffähige Variante zur Verfügung hat, mein CT ist wieder bereit.

                                      Inklusive nodejs alles wieder fertig eingerichtet.

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

                                        Danke für die Wünsche.

                                        Hab jetzt mal mit juice SSH auf den cubietruck im Keller zugegriffen.

                                        Dadurch:

                                        • nicht neuestes image von Igor

                                        • keine neu aufgesetzte Installation

                                        • auf HDD installiert

                                        • node js bereits vorinstalliert.

                                        Nach Aufruf von npm install iobroker erst ein paar zeilen, dann etwa 8 Minuten Ruhe.

                                        Schlussendlich ist die webui nicht aufzurufen.

                                         root@cubie:/opt/iobroker# npm install iobroker
                                        npm http GET https://registry.npmjs.org/iobroker
                                        npm http 200 https://registry.npmjs.org/iobroker
                                        npm http GET https://registry.npmjs.org/iobroker/-/iobroker-0.5.1.tgz
                                        npm http 200 https://registry.npmjs.org/iobroker/-/iobroker-0.5.1.tgz
                                        npm http GET https://registry.npmjs.org/yargs
                                        npm http 200 https://registry.npmjs.org/yargs
                                        npm http GET https://registry.npmjs.org/yargs/-/yargs-1.2.6.tgz
                                        npm http 200 https://registry.npmjs.org/yargs/-/yargs-1.2.6.tgz
                                        npm http GET https://registry.npmjs.org/minimist
                                        npm http 200 https://registry.npmjs.org/minimist
                                        npm http GET https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz
                                        npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz
                                        
                                        > iobroker@0.5.1 install /opt/iobroker/node_modules/iobroker
                                        > node lib/setup.js
                                        
                                        npm install iobroker.js-controller --production --silent --prefix "/opt/iobroker/node_modules/iobroker/lib/../../../"
                                        
                                        /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:452
                                            if (adapter.substring(0, 'iobroker.'.length) == 'iobroker.') adapter = ada
                                                        ^
                                        TypeError: Cannot call method 'substring' of undefined
                                            at Object.getAdapterDir (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:452:17)
                                            at uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1615:28)
                                            at installAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2054:9)
                                            at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2080:13
                                            at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/objectsInMemServer.js:337:21)
                                            at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
                                        
                                        npm install iobroker.admin --production --silent --prefix "/opt/iobroker/node_modules/iobroker/lib/../../../"
                                        Write "./iobroker start" to start the ioBroker
                                        Non-critical error: ENOENT, no such file or directory '/opt/iobroker/node_modules/iobroker/lib/../../iobroker.js-controller/iobroker'
                                        iobroker@0.5.1 node_modules/iobroker
                                        └── yargs@1.2.6 (minimist@0.1.0)
                                        root@cubie:/opt/iobroker#
                                        

                                        Was mir auffällt ist, dass der controller 0.5.1 installiert wird, obwohl inzwischen v. 0.6.0 dran ist.

                                        Ggf. Liegt da der Hund begraben.

                                        @smiling-jack: kannst du da was zu sagen, oder müssen wir auf Bluefox warten?

                                        Gruß

                                        Rainer

                                        Gesendet von meinem Cynus T7 mit Tapatalk

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

                                          Ist anscheinend ein Fehler drin. Hier gibt es ein workaround:

                                          http://forum.iobroker.org/viewtopic.php?p=3930#p3930

                                          Gesendet von meinem Cynus T7 mit Tapatalk

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sprite01 last edited by

                                            Schreibt hier jemand wenn es für Otto-Normal-Anwender wie für mich wieder eine funktionierende Installation für den CT gibt ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            400
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            19
                                            176
                                            39456
                                            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