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.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Da ist nur noch ein Ordner drin:

      root@cubie:/opt/iobroker/node_modules/iobroker.js-controller# dir

      node_modules

      Und darin ist npm

      Gesendet von meinem Cynus T7 mit Tapatalk

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

        @Homoran:

        Da ist nur noch ein Ordner drin:

        root@cubie:/opt/iobroker/node_modules/iobroker.js-controller# dir

        node_modules

        Und darin ist npm

        Gesendet von meinem Cynus T7 mit Tapatalk `
        Schreib in "/opt/iobroker":

        npm install iobroker.js-controller --production
        npm install iobroker.admin --production
        
        

        Es ist was schiff gelaufen mit 0.5.1.

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

          Guten Abend

          das ist für mich hier alles neuland

          ich habe jetzt mit viel Mühe eine 0.4.2 zum laufen bekommen

          mir wurde im Adminbereich erst ein Update auf 0.5.0 angezeit

          nach Update war der adminbereich nicht mehr zu erreichen also wieder die 0.4.2 installiert und alles lief wieder

          das gleiche ist jetzt mit dem Update auf 0.5.1

          was mache ich falsch und wo kann ich nach fehlermeldungen schauen ?

          noch einen schönen Abend

          Nobse

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

            Probier mal der Reihenfolge nach - wie BlueFox geschrieben hat:

            npm install iobroker.js-controller –production

            npm install iobroker.admin --production

            Bei mir wird jetzt die 0.5.4 angezeigt. Die Logs gehen auch wieder.

            akamia

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

              @akamia:

              Probier mal der Reihenfolge nach - wie BlueFox geschrieben hat:

              npm install iobroker.js-controller –production

              npm install iobroker.admin --production

              Bei mir wird jetzt die 0.5.4 angezeigt. Die Logs gehen auch wieder.

              akamia `

              Danke akamie

              habe es jetzt mal so gemacht. Und bekomme dabei folgende Meldungen

              sudo npm install iobroker.js-controller –production

              npm WARN package.json daemonize2@0.4.2 No repository field.
              
              > ws@0.5.0 install /node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws
              > (node-gyp rebuild 2> builderror.log) || (exit 0)
              
              npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.35","npm":"1.4.28"})
              npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.35","npm":"1.4.28"})
              npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.35","npm":"1.4.28"})
              npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.35","npm":"1.4.28"})
              npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.35","npm":"1.4.28"})
              
              > ws@0.4.31 install /node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
              > (node-gyp rebuild 2> builderror.log) || (exit 0)
              
              > iobroker.js-controller@0.5.4 install /node_modules/iobroker.js-controller
              > node lib/setup.js setup first
              
              creating conf/iobroker.json
              
              fs.js:654
                return binding.mkdir(pathModule._makeLong(path),
                               ^
              Error: EACCES, permission denied '/node_modules/iobroker.js-controller/lib/../../../iobroker-data/'
                  at Object.fs.mkdirSync (fs.js:654:18)
                  at mkpathSync (/node_modules/iobroker.js-controller/lib/setup.js:746:20)
                  at setup (/node_modules/iobroker.js-controller/lib/setup.js:828:9)
                  at Object. <anonymous>(/node_modules/iobroker.js-controller/lib/setup.js:236:13)
                  at Module._compile (module.js:456:26)
                  at Object.Module._extensions..js (module.js:474:10)
                  at Module.load (module.js:356:32)
                  at Function.Module._load (module.js:312:12)
                  at Function.Module.runMain (module.js:497:10)
                  at startup (node.js:119:16)
              
              npm ERR! iobroker.js-controller@0.5.4 install: `node lib/setup.js setup first`
              npm ERR! Exit status 8
              npm ERR!
              npm ERR! Failed at the iobroker.js-controller@0.5.4 install script.
              npm ERR! This is most likely a problem with the iobroker.js-controller package,
              npm ERR! not with npm itself.
              npm ERR! Tell the author that this fails on your system:
              npm ERR!     node lib/setup.js setup first
              npm ERR! You can get their info via:
              npm ERR!     npm owner ls iobroker.js-controller
              npm ERR! There is likely additional logging output above.
              npm ERR! System Linux 3.12.35+
              npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.js-controller" "--production"
              npm ERR! cwd /
              npm ERR! node -v v0.10.35
              npm ERR! npm -v 1.4.28
              npm ERR! code ELIFECYCLE
              npm ERR! not ok code 0</anonymous>
              

              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
              
              > ws@0.4.31 install /node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws
              > (node-gyp rebuild 2> builderror.log) || (exit 0)
              
              make: Entering directory '/node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
                CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                SOLINK_MODULE(target) Release/obj.target/bufferutil.node
                SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
                COPY Release/bufferutil.node
                CXX(target) Release/obj.target/validation/src/validation.o
                SOLINK_MODULE(target) Release/obj.target/validation.node
                SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
                COPY Release/validation.node
              make: Leaving directory '/node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
              
              > ws@0.4.31 install /node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
              > (node-gyp rebuild 2> builderror.log) || (exit 0)
              
              make: Entering directory '/node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
                CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                SOLINK_MODULE(target) Release/obj.target/bufferutil.node
                SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
                COPY Release/bufferutil.node
                CXX(target) Release/obj.target/validation/src/validation.o
                SOLINK_MODULE(target) Release/obj.target/validation.node
                SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
                COPY Release/validation.node
              make: Leaving directory '/node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
              iobroker.admin@0.3.14 node_modules/iobroker.admin
              +-- connect-flash@0.1.1
              +-- cookie-parser@1.3.3 (cookie@0.1.2, cookie-signature@1.0.5)
              +-- passport-local@1.0.0 (passport-strategy@1.0.0)
              +-- passport@0.2.1 (pause@0.0.1, passport-strategy@1.0.0)
              +-- xtend@2.0.6 (is-object@0.1.2, object-keys@0.2.0)
              +-- express-session@1.7.6 (utils-merge@1.0.0, cookie@0.1.2, cookie-signature@1.0.4, on-headers@1.0.0, parseurl@1.3.0, buffer-crc32@0.2.3, depd@0.4.4, debug@1.0.4, uid-safe@1.0.1)
              +-- body-parser@1.5.2 (qs@0.6.6, media-typer@0.2.0, bytes@1.0.0, raw-body@1.3.0, depd@0.4.4, type-is@1.3.2, iconv-lite@0.4.4)
              +-- express@4.4.5 (parseurl@1.0.1, utils-merge@1.0.0, merge-descriptors@0.0.2, cookie@0.1.2, escape-html@1.0.1, cookie-signature@1.0.4, range-parser@1.0.0, fresh@0.2.2, vary@0.1.0, qs@0.6.6, methods@1.0.1, serve-static@1.2.3, buffer-crc32@0.2.3, path-to-regexp@0.1.2, debug@1.0.2, proxy-addr@1.0.1, send@0.4.3, type-is@1.2.1, accepts@1.0.7)
              +-- request@2.38.0 (json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.5.2, qs@0.6.6, oauth-sign@0.3.0, stringstream@0.0.4, tunnel-agent@0.4.0, node-uuid@1.4.2, mime-types@1.0.2, form-data@0.1.4, http-signature@0.10.1, tough-cookie@0.12.1, hawk@1.1.1)
              +-- socket.io@1.0.6 (debug@0.7.4, has-binary-data@0.1.1, socket.io-parser@2.2.0, socket.io-adapter@0.2.0, engine.io@1.3.1, socket.io-client@1.0.6)
              

              Der Adminbereich läst sich danach aufrufen aber unter Hosts werden keine Versionsnummern mehr angezeigt.

              Auch unter Apapters ist alles leer.

              Jemand eine Idee.

              Vielen Dank Nobse

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

                Ich hatte auch einige Probleme. Zumal ich gerade eine multihost-installation teste. Gestern hat es dann doch wieder geklappt.

                Ich habe einfach immer wieder diese beiden befehle probiert. Es gab ja immer wieder updates zwischendrin.

                Und zwischendurch auch mal einen reboot des cubie gemacht.

                Gesendet von meinem Cynus T7 mit Tapatalk

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

                  @exv2:

                  sudo npm install iobroker.js-controller –production

                  <code>npm WARN package.json daemonize2@0.4.2 No repository field.
                  
                  > ws@0.5.0 install /node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws
                  Vielen Dank Nobse
                  Du solltest natürlich die beide Befehle immer in einem Verzeichnis ausführen, wo ioBroker steht. z.B. /opt/iobroker
                  Es sieht so aus, als ob du in root Verzeichnis das ausgeführt hast.</code>
                  ``` ` 
                  1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            393
                                            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