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

      @ Eisbaeeer

      ich glaube denen sind die Finger an der Tastatur bereits angewachsen 😉

      alle paar Stunden gibt's was neues.

      @HQ und BF: aktueller Status (Antwort nicht nötig, außer ich soll was testen!):

      So habe ich gerade wieder ein neuen git pull gemacht.

      nach reboot kam dann nur noch eine Fehlermeldung:

      root@cubie:/opt/iobroker# ./iobroker start
      Starting ioBroker controller daemon...
      ioBroker controller daemon started. PID: 2374
      root@cubie:/opt/iobroker# tail -f log/iobroker.log
      2014-08-17 14:37:26.740  - info: controller instance system.adapter.hm-rega.0 started with pid 2450
      2014-08-17 14:37:30.017  - info: admin.0 starting
      2014-08-17 14:37:30.176  - error: admin.0 port missing
      2014-08-17 14:37:30.207  - error: controller instance system.adapter.admin.0 terminated with code 1
      2014-08-17 14:37:30.728  - info: controller instance system.adapter.hm-rega.1 started with pid 2461
      2014-08-17 14:37:30.487  - info: hm-rega.0 starting
      2014-08-17 14:37:30.504  - info: hm-rega.0 subscribe hm-rpc.0.BidCoS-RF:50.PRESS_SHORT
      2014-08-17 14:37:32.562  - info: hm-rega.0 ReGaHSS 192.168.xxx.yyy up
      2014-08-17 14:37:32.637  - info: hm-rega.0 time difference local-ccu 1s
      2014-08-17 14:37:32.807  - info: hm-rega.0 added/updated 5 favorites to enum.favorites
      2014-08-17 14:37:33.603  - info: hm-rega.0 added/updated 11 functions to enum.functions
      2014-08-17 14:37:34.502  - info: hm-rega.0 added/updated 15 rooms to enum.rooms
      2014-08-17 14:37:34.756  - info: controller instance system.adapter.hm-rega.2 started with pid 2464
      2014-08-17 14:37:35.699  - info: hm-rega.0 extend hm-rpc.0.KEQ0120652 {"common":{"name":"3_fach_01"}}
      2014-08-17 14:37:36.172  - info: hm-rega.1 starting
      2014-08-17 14:37:36.223  - info: hm-rega.1 subscribe hm-rpc.0.BidCoS-RF:50.PRESS_SHORT
      2014-08-17 14:37:39.247  - info: hm-rega.1 ReGaHSS 192.168.xxx.zzz up
      2014-08-17 14:37:39.379  - info: hm-rega.1 time difference local-ccu 0s
      2014-08-17 14:37:39.583  - info: hm-rega.1 added/updated 0 favorites to enum.favorites
      2014-08-17 14:37:35.711  - info: hm-rega.0 extend hm-rpc.0.KEQ0120652:0 {"common":{"name":"3_fach_01:0"}}
      ...
      

      Leider hängt sich dann nach dem download (oder wie das auch immer funktioniert) der Programme und Variablen von rega.o und rega1 anscheinend die gesamte iobroker weg.

      Aus dem log (tail…..) komme ich nicht mehr mit CTRL-C heraus. ich muss die Verbindung von putty beenden und neu aufbauen.

      ohne Port natürlich nach wie vor keine Möglichkeit auf das WebUI zu kommen 😞

      Gruß

      Rainer

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

        Nach dem heutigen git pull war immer noch die Fehlermeldung "admin.0 port missing und der damit verbundene Versuch alle 20-30sec. den Adapter neu zu starten da.

        Auch eine Rücksetzung des Ports auf 8080 half nicht.

        ich habe daraufhin versucht den adapter mit ./iobroker del admin.0 zu löschen - was anscheinend auch geklappt hat.

        Der Versuch den Adapter mit ./iobroker add admin –enabled neu zu installieren endete mit der Meldung:

        root@cubie:/opt/iobroker# ./iobroker add admin --enabled
        
        module.js:340
            throw err;
                  ^
        Error: Cannot find module 'mime'
            at Function.Module._resolveFilename (module.js:338:15)
            at Function.Module._load (module.js:280:25)
            at Module.require (module.js:364:17)
            at require (module.js:380:17)
            at Object. <anonymous>(/opt/iobroker/setup.js:96:25)
            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 Module.require (module.js:364:17)</anonymous> 
        

        auch ein Versuch mit ./iobroker del admin (ohne.0) zu löschen ergab zwar die Löschung von weiteren 4 objects von admin, die Fehlermeldung mein Versuch der neuinstallation war jedoch die gleiche.

        Gruß

        Rainer

        PS ich denke ich werde mal eine neue Komplettinstallation machen - oder?

        EDIT:

        neue Komplettinstallation - sieht ja ganz anders aus; Da kommt man ja mit dem Testen gar nicht nach - was ihr da ständig neu einbaut;

        Bei der Installation nur die Warnhinweise wegen der Versionsnummern von node;

        bei iobroker update gab es eine Fehlermeldung, dass ein Ordner nicht existiert, war leider aus dem Zwischenspeicher weg;

        Habe jetzt admin, 2x rega und 2x rpc.

        Habe alle (?) Datenpunkte auch die live-Punkte

        Habe dann noch den legacy adapter installiert - immer mit code 8 beendet - und hat das gesamte ioBroker abgeschossen - wieder deinstalliert

        SPITZE!!

        1 Reply Last reply Reply Quote 0
        • T
          Trident last edited by

          Hallo zusammen,

          habe mir heute meinen neuen Cubietruck bestellt. Bin mir aber noch nicht sicher, welche Debian Distribution ich am besten installiere.

          Welche habt Ihr im Einsatz?

          Danke vorab und ich freu mich aufs testen! 😉

          Viele Grüße

          Trident

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

            Hallo,

            ich benutze http://www.igorpecovnik.com/2013/12/24/ … ard-image/

            die ist jedoch "headless" = keine grafische Oberfläche, dafür sauschnell!

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • T
              Trident last edited by

              Hi,

              so mein Cubietruck ist installiert (gleiche Distribution wie Homoran).

              Bin auch schon soweit, dass ich Adapter installieren konnte und ioBroker ist über das Webinterface erreichbar. Leider stürzen die Adapter bei mir direkt wieder ab!

              014-08-20 18:43:28.768  - info: controller instance system.adapter.hm-rpc.0 started with pid 3841
              2014-08-20 18:43:31.333  - error: controller instance system.adapter.hm-rega.0 terminated with code 8
              2014-08-20 18:43:32.058  - warn: controller instance system.adapter.hm-rpc.0 already running with pid 3841
              2014-08-20 18:43:32.381  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
              2014-08-20 18:43:38.201  - info: controller instance system.adapter.hm-rpc.0 started with pid 3847
              2014-08-20 18:43:41.203  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
              2014-08-20 18:43:42.752  - info: controller instance system.adapter.hm-rega.0 started with pid 3849
              2014-08-20 18:43:43.270  - info: controller instance system.adapter.hm-rpc.0 started with pid 3851
              2014-08-20 18:43:46.880  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
              2014-08-20 18:43:46.925  - error: controller instance system.adapter.hm-rega.0 terminated with code 8
              

              geht immer so weiter … werde jetzt ioBroker nochmal stoppen 😉

              Jemand eine Idee?

              Viele Grüße

              Trident

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

                hatte ich auch schon nach reboot lief es wieder;

                alleine iobroker stop - couchdb restart - iobroker start hatte nicht geholfen

                Viel Glück

                Rainer

                1 Reply Last reply Reply Quote 0
                • T
                  Trident last edited by

                  Hi,

                  kurz zur Info: Neustart des Cubietruck brachte keine Verbesserung…

                  Viele Grüße

                  Trident

                  1 Reply Last reply Reply Quote 0
                  • T
                    Trident last edited by

                    Ich bin es nochmal:

                    Nach ein bisschen Lesen im Nachbar-Thema "Installation auf Raspi" habe ich versucht das installations shell-file zu starten.

                    Dabei kamen diesmal leider ein paar Fehlermeldungen:

                    gyp ERR! build error 
                    gyp ERR! stack Error: not found: make
                    gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
                    gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
                    gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
                    gyp ERR! stack     at Object.oncomplete (fs.js:107:15)
                    gyp ERR! System Linux 3.4.101-sun7i+
                    gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                    gyp ERR! node -v v0.10.22
                    gyp ERR! node-gyp -v v0.11.0
                    gyp ERR! not ok 
                    npm WARN optional dep failed, continuing hiredis@0.1.17
                    object system.group.user created
                    object system.group.administrator created
                    object _design/system created
                    object system.user.admin created
                    database setup done. you can add adapters and start iobroker now
                    loading system.adapter.*
                    loading conf/sources.json
                    loading conf/sources-dist.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.yr/master/io-package.json
                    http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.yr/master/io-package.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.mobile/master/io-package.json
                    http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.mobile/master/io-package.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.legacy/master/io-package.json
                    http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.legacy/master/io-package.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.hue/master/io-package.json
                    http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.hue/master/io-package.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rpc/master/io-package.json
                    http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rpc/master/io-package.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rega/master/io-package.json
                    http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rega/master/io-package.json
                    http GET https://raw.githubusercontent.com/ioBroker/ioBroker.dwd/master/io-package.json
                    http 404 https://raw.githubusercontent.com/ioBroker/ioBroker.dwd/master/io-package.json
                    http GET https://raw.githubusercontent.com/hobbyquaker/ioBroker.cul/master/io-package.json
                    http 200 https://raw.githubusercontent.com/hobbyquaker/ioBroker.cul/master/io-package.json
                    update done
                    
                    

                    Der "Code 8"-Fehler besteht leider weiterhin … Wenn ihr weitere Infos braucht --> Einfach melden 😉

                    Viele Grüße

                    Trident

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

                      Habe jetzt auf einem BananaPi versucht ioBroker zu installieren.

                      Wenn's mehr wird mache ich dafür eine extra thread auf 😉

                      OS: Bananian mit Kernel 3.90

                      geht eigentlich ganz gut, lediglich bei npm install –production gibt es bösen Ärger:

                      root@bananapi /opt/iobroker (git)-[master] # npm install --production
                      npm WARN package.json daemonize2@0.4.2 No repository field.
                      npm http GET https://registry.npmjs.org/node-windows
                      npm http GET https://registry.npmjs.org/hiredis
                      npm http GET https://github.com/hobbyquaker/node-schedule/tarball/master
                      npm http 304 https://registry.npmjs.org/hiredis
                      npm http 304 https://registry.npmjs.org/node-windows
                      npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/master
                      npm WARN optional dep failed, continuing node-windows@0.1.5
                      npm http GET https://registry.npmjs.org/nan
                      npm http GET https://registry.npmjs.org/bindings
                      npm http 304 https://registry.npmjs.org/nan
                      npm http 304 https://registry.npmjs.org/bindings
                      
                      > hiredis@0.1.17 install /opt/iobroker/node_modules/hiredis
                      > node-gyp rebuild
                      
                      make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
                        CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
                      make: cc: Command not found
                      make: *** [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 127
                      make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
                      gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
                      gyp ERR! System Linux 3.4.90
                      gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                      gyp ERR! node -v v0.10.22
                      gyp ERR! node-gyp -v v0.11.0
                      gyp ERR! not ok
                      npm WARN optional dep failed, continuing hiredis@0.1.17
                      npm install --production  15.78s user 2.17s system 87% cpu 20.571 total
                      
                      

                      Anschließend auch hier terminating system.adapter.admin.0 with code 8

                      keine anderen Adapter installiert

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • Eisbaeeer
                        Eisbaeeer Developer last edited by

                        Sorry Leute. Meint ihr es macht im Moment schon Sinn, zu testen?

                        Lasst doch HQ und Bluefox noch Zeit, das in die Alpha Version zu bringen. Dann geht die Testerei erst los. Warum meint Ihr, dass sich keiner der zwei meldet? Es ist noch zu früh.

                        Gruß Eisbaeeer

                        Gesendet von meinem Z30 mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • T
                          Trident last edited by

                          Hi Eisbaeeer,

                          ich erwarte zur jetzigen Zeit auch keine Reaktion der zwei … Stört doch auch niemanden, wenn wir hier testen. Vielleicht freut es die beiden ja auch, dass es schon erste begeisterte Tester gibt 😉

                          Vielleicht helfen unsere Hinweise - und falls nicht bekommen die beiden das bestimmt ausgeblendet.

                          Viele Grüße und noch einen schönen Abend

                          Trident

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

                            @Eisbaeeer:

                            Sorry Leute. Meint ihr es macht im Moment schon Sinn, zu testen?

                            Lasst doch HQ und Bluefox noch Zeit, das in die Alpha Version zu bringen. Dann geht die Testerei erst los. Warum meint Ihr, dass sich keiner der zwei meldet? Es ist noch zu früh.

                            Gruß Eisbaeeer

                            Gesendet von meinem Z30 mit Tapatalk `

                            das ist mir schon klar, ich denke nur, dass die zwei sich über input "freuen" um nicht alleine nach Fehlern suchen zu müssen.

                            Immerhin wird hier mit verschiedenster Hardware und OS "getestet".

                            Aber vielleicht sollten sich die zwei dazu äußern. Wenn unsere Inputs nerven sollten habe ich kein Problem damit erst einmal aufzuhören

                            Gruß

                            Rainer

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

                              @Homoran:

                              @Eisbaeeer:

                              Sorry Leute. Meint ihr es macht im Moment schon Sinn, zu testen?

                              Lasst doch HQ und Bluefox noch Zeit, das in die Alpha Version zu bringen. Dann geht die Testerei erst los. Warum meint Ihr, dass sich keiner der zwei meldet? Es ist noch zu früh.

                              Gruß Eisbaeeer

                              Gesendet von meinem Z30 mit Tapatalk `

                              das ist mir schon klar, ich denke nur, dass die zwei sich über input "freuen" um nicht alleine nach Fehlern suchen zu müssen.

                              Immerhin wird hier mit verschiedenster Hardware und OS "getestet".

                              Aber vielleicht sollten sich die zwei dazu äußern. Wenn unsere Inputs nerven sollten habe ich kein Problem damit erst einmal aufzuhören

                              Gruß

                              Rainer `
                              Also Eisbaeeer hat Recht und Trident hat recht. Man darf jetzt nicht erwarten, dass es laufen wird. Obwohl die Fehlermeldungen, die hier gepostet waren haben schon uns geholfen die Probleme zu erkennen und zu beseitigen.

                              Fazit: es ist toll, dass jemand schon auf so einem frühen Stadium die Software testet, man darf aber nicht auf sofortige Reaktion warten. Wir müssen noch sehr viel machen, bis wir 0.1.0 erreichen 🙂

                              Frage, gibt es Sinn ein LXC Container oder sogar http://docker.io/ Container vorbereiten, damit man eine Umgebung hat, wo mindestens irgendwas läuft? Kennt jemand überhaupt LXC und Docker?

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

                                Hallo bluefox - mal die Finger von der Tastatur genommen?

                                -ach nein, dann hättest du den post nicht tippen können 😉

                                @Bluefox:

                                man darf aber nicht auf sofortige Reaktion warten. `
                                Ich denke das ist der Kernpunkt!

                                @Bluefox:

                                Kennt jemand überhaupt LXC und Docker? `
                                mit ersterem läuft bei mir die LXCCU (auf zwei rechnern), die auch wunderbar vom hm-rega und hm-rpc adapter erkannt werden.

                                benötigt aber lxc-fähigen Kernel (hat RasPi und bei Cubie ist es in Igor Pecovniks Image enthalten, bei BananaPi lief es in RaspBian 3.0, in 3.1.1 hab ich noch Probleme damit)

                                letzteres ist mir nicht bekannt, heisst aber nichts, da ich erst seit 1/2 Jahr mich in Linux einarbeite.

                                Aber vielleicht nimmst du diesbezüglich mal mit bullshit im HM-Forum kontakt auf, der hat mit PaulG4H die LXCCU gebastelt

                                Gruß

                                Rainer
                                48_img_007.png

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

                                  aktueller Stand nach update und git pull:

                                  system.adapter.admin.0 steigt weiter mit Code 8 aus, der Rest (hm-Rega.0 und .1 und hm-rpc.0 und.1 laufen) anscheinend.

                                  neue adapter sind eingespielt, nur ohne admin kann ich es nicht überprüfen 😞

                                  Habe nochmals npm install –production durchlaufen lassen, diesmal mit folgender Fehlermeldung:

                                  root@cubie:/opt/iobroker# npm install --production
                                  npm WARN package.json daemonize2@0.4.2 No repository field.
                                  npm http GET https://registry.npmjs.org/node-windows
                                  npm http GET https://registry.npmjs.org/hiredis
                                  npm http GET https://github.com/hobbyquaker/node-schedule/tarball/master
                                  npm http 304 https://registry.npmjs.org/node-windows
                                  npm http 304 https://registry.npmjs.org/hiredis
                                  npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/master
                                  npm WARN optional dep failed, continuing node-windows@0.1.5
                                  npm http GET https://registry.npmjs.org/nan
                                  npm http GET https://registry.npmjs.org/bindings
                                  npm http 304 https://registry.npmjs.org/nan
                                  npm http 304 https://registry.npmjs.org/bindings
                                  
                                  > hiredis@0.1.17 install /opt/iobroker/node_modules/hiredis
                                  > node-gyp rebuild
                                  
                                  make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
                                    CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
                                  make: cc: Command not found
                                  make: *** [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 127
                                  make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
                                  gyp ERR! build error
                                  gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
                                  gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
                                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
                                  gyp ERR! System Linux 3.4.101-sun7i+
                                  gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                                  gyp ERR! node -v v0.10.22
                                  gyp ERR! node-gyp -v v0.11.0
                                  gyp ERR! not ok
                                  npm WARN optional dep failed, continuing hiredis@0.1.17
                                  
                                  

                                  Viel Glück

                                  Rainer

                                  EDIT:

                                  Habe den admin-Adapter gelöscht mit ./iobroker del admin.

                                  kamen folgende Fehlermeldungen:

                                  root@cubie:/opt/iobroker# ./iobroker del admin
                                  { [Error: missing]
                                    name: 'Error',
                                    scope: 'couch',
                                    status_code: 404,
                                    'status-code': 404,
                                    request:
                                     { method: 'GET',
                                       headers:
                                        { 'content-type': 'application/json',
                                          accept: 'application/json' },
                                       uri: 'http://localhost:5984/iobroker/_design/admin/_view/state',
                                       jar: false },
                                    headers:
                                     { date: 'Fri, 22 Aug 2014 18:44:03 GMT',
                                       'content-type': 'application/json',
                                       'cache-control': 'must-revalidate',
                                       'status-code': 404,
                                       uri: 'http://localhost:5984/iobroker/_design/admin/_view/state' },
                                    errid: 'non_200',
                                    error: 'not_found',
                                    reason: 'missing',
                                    description: 'missing',
                                    stacktrace:
                                     [ 'Error: missing',
                                       '    at Request._callback (/opt/iobroker/node_modules/nano/nano.js:319:39)',
                                       '    at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)',
                                       '    at Request.EventEmitter.emit (events.js:98:17)',
                                       '    at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)',
                                       '    at Request.EventEmitter.emit (events.js:117:20)',
                                       '    at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)',
                                       '    at IncomingMessage.EventEmitter.emit (events.js:117:20)',
                                       '    at _stream_readable.js:920:16',
                                       '    at process._tickCallback (node.js:415:13)' ] }
                                  deleted 5 instances of admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  delete /opt/iobroker/adapter/admin
                                  deleted 11 adapters for admin
                                  deleted 2 system.states of admin</anonymous></anonymous> 
                                  

                                  Nach Neuinstallation ./iobroker add admin läuft jetzt das WebUI wieder!!

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Trident last edited by

                                    Hi,

                                    Auch bei mir nun kein Code 8 mehr.

                                    Im Log steht auch, dass variable und räume etc. Gesynct wurden!

                                    Jedoch sehe ich im Web-Admin noch keine States !

                                    Viele Grüße

                                    Trident
                                    709_screenbackup.jpg
                                    709_screen_backup.jpg

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

                                      make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
                                        CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
                                      make: cc: Command not found
                                      make: *** [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 127
                                      make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
                                      gyp ERR! build error
                                      gyp ERR! stack Error: `make` failed with exit code: 2
                                      gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
                                      gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
                                      gyp ERR! System Linux 3.4.101-sun7i+
                                      gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                      gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                                      gyp ERR! node -v v0.10.22
                                      gyp ERR! node-gyp -v v0.11.0
                                      gyp ERR! not ok
                                      npm WARN optional dep failed, continuing hiredis@0.1.17
                                      
                                      

                                      Das hier ist nicht schlimm. Es gibt zwei Nöglichkeiten, wie man aus redis die Daten liest:

                                      • Über RestAPI (http://127.0.0.1/redis/get/system.admin) oder

                                      • Über Native C Kode - Redis API.

                                      Hiredis ist RedisAPI und ist nicht zwingend erforderlich für die Kommunikation mit Redis. Es sollte schneller sein, als RestFULL, aber für unsere Applikation ist nicht erforderlich.

                                      Unter Windows gibt es auch keine Möglichkeit Hiredis zu übersetzen.

                                      root@cubie:/opt/iobroker# ./iobroker del admin
                                      { [Error: missing]
                                        name: 'Error',
                                        scope: 'couch',
                                        status_code: 404,
                                        'status-code': 404,
                                        request:
                                         { method: 'GET',
                                           headers:
                                            { 'content-type': 'application/json',
                                              accept: 'application/json' },
                                           uri: 'http://localhost:5984/iobroker/_design/admin/_view/state',
                                           jar: false },
                                        headers:
                                         { date: 'Fri, 22 Aug 2014 18:44:03 GMT',
                                           'content-type': 'application/json',
                                           'cache-control': 'must-revalidate',
                                           'status-code': 404,
                                           uri: 'http://localhost:5984/iobroker/_design/admin/_view/state' },
                                        errid: 'non_200',
                                        error: 'not_found',
                                        reason: 'missing',
                                        description: 'missing',
                                        stacktrace:
                                         [ 'Error: missing',
                                           '    at Request._callback (/opt/iobroker/node_modules/nano/nano.js:319:39)',
                                           '    at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)',
                                           '    at Request.EventEmitter.emit (events.js:98:17)',
                                           '    at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)',
                                           '    at Request.EventEmitter.emit (events.js:117:20)',
                                           '    at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)',
                                           '    at IncomingMessage.EventEmitter.emit (events.js:117:20)',
                                           '    at _stream_readable.js:920:16',
                                           '    at process._tickCallback (node.js:415:13)' ] }
                                      deleted 5 instances of admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      delete /opt/iobroker/adapter/admin
                                      deleted 11 adapters for admin
                                      deleted 2 system.states of admin</anonymous></anonymous> 
                                      

                                      Diese Fehlermeldung ist auch gefixt. Danke ans Melden. Da war Fehler drin.

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

                                        @Trident:

                                        Hi,

                                        Auch bei mir nun kein Code 8 mehr.

                                        Im Log steht auch, dass variable und räume etc. Gesynct wurden!

                                        Jedoch sehe ich im Web-Admin noch keine States !

                                        Viele Grüße

                                        Trident `
                                        Läuft bei dir DashUI? Will nur ausschließen, das es nicht grundsätzliches Problem mit WebSockets ist.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Trident last edited by

                                          Hi Bluefox,

                                          auf meinem Cubietruck habe das bisher noch nicht getestet. Kann ich gerne heute Abend machen und Feedback geben. Ich gehe davon aus, dass die Installation mit "./iobroker add adapter …" funktioniert?

                                          Meine derzeitige "operative" CCU.IO Installation liegt nicht auf dem Cubie sondern auf meinem "alten" Raspi - daher kann ich das spontan nicht beantworten.

                                          Ich werde heute Abend ein bisschen testen und mich nochmal melden!

                                          Viele Grüße

                                          Trident

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Trident last edited by

                                            Hallo zusammen,

                                            leider habe ich mit meinem testen wohl die Installation nachhaltig zerschossen. Es kommt jetzt Immer ein Code 1 beim Start der Adapter. Eine einfache Neuinstallation hat das Problem nicht behoben.
                                            ` > 2014-08-26 21:00:29.274 - error: controller instance system.adapter.admin.0 terminated with code 1

                                            2014-08-26 21:00:58.098 - info: controller instance system.adapter.hm-rpc.0 started with pid 6524

                                            2014-08-26 21:00:59.301 - info: controller instance system.adapter.admin.0 started with pid 6528

                                            2014-08-26 21:01:04.256 - error: controller instance system.adapter.hm-rpc.0 terminated with code 1

                                            2014-08-26 21:01:07.238 - error: controller instance system.adapter.admin.0 terminated with code 1

                                            2014-08-26 21:01:34.275 - info: controller instance system.adapter.hm-rpc.0 started with pid 6547

                                            2014-08-26 21:01:37.254 - info: controller instance system.adapter.admin.0 started with pid 6549

                                            2014-08-26 21:01:37.598 - error: controller instance system.adapter.hm-rpc.0 terminated with code 1

                                            2014-08-26 21:01:43.317 - error: controller instance system.adapter.admin.0 terminated with code 1

                                            2014-08-26 21:01:48.506 - info: controller object change system.adapter.admin.0 `

                                            Ich werde die Tage in Ruhe nochmal ganz von vorne anfangen 😉

                                            Viele Grüße

                                            Trident

                                            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

                                            627
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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